/*
Theme Name: GeneratePress Child - St. Michaels Soccer
Template: generatepress
Description: Custom child theme for stmichaelssoccer.com
Version: 1.0.0
*/

.site.grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}
#primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
/*
Theme Name: GeneratePress Child
Template: generatepress
*/

:root {
  --pitch-green: #0C3E1F;
  --stadium-white: #F3F4F6;
  --referee-black: #111827;
  --card-radius: 16px;
  --bento-shadow: 0 12px 40px -12px rgba(0,0,0,0.08);
  --glass-dark: rgba(30, 41, 59, 0.4);
  --glass-light: rgba(255, 255, 255, 0.7);
}

body {
  background-color: var(--stadium-white);
  color: var(--referee-black);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--referee-black);
}

/* Global Layout Constraints */
.site.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
}

#primary {
  width: 100% !important;
  float: none !important;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 80px 5%;
}
@media(max-width: 768px) {
  .bento-grid {
    gap: 15px;
  }
}

.bento-card.glass-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--card-radius);
  box-shadow: var(--bento-shadow);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.05);
}
.bento-card.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.bento-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.bento-content {
  padding: 20px;
}

.bento-title {
  margin: 10px 0;
  font-size: 1.25rem;
  color: var(--referee-black); /* AAA Contrast */
}

.bento-excerpt {
  color: #27272a; /* AAA Contrast */
  font-size: 1rem;
}

time {
  font-size: 0.875rem;
  color: #3f3f46; /* AAA Contrast */
}

/* Single Post Hero */
.single-hero.glass-overlay {
  background: var(--glass-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 120px 20px;
  text-align: center;
  border-radius: var(--card-radius);
  margin: 40px;
}

.single-hero .hero-title {
  color: #ffffff; /* AAA Contrast */
  font-size: 2.5rem;
}

.single-hero .hero-meta, .single-hero .author, .single-hero time {
  color: #f1f5f9; /* AAA Contrast */
}

/* Comment Section & Forms */
#comments, .glass-form {
  background: var(--glass-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--card-radius);
  padding: 40px;
  color: #f8fafc;
  margin-top: 40px;
}
#comments h2, #comments h3 {
  color: #ffffff;
}
.glass-form label, #comments label {
  color: #ffffff; /* AAA Contrast */
}
.glass-form input[type="text"],
.glass-form input[type="email"],
.glass-form textarea,
#comments input[type="text"],
#comments input[type="email"],
#comments textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  border-radius: 8px;
}
.gdpr-checkbox-wrapper {
  margin-bottom: 20px;
}
.btn-primary, #comments input[type="submit"] {
  background: var(--pitch-green);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-primary:hover, #comments input[type="submit"]:hover {
  background: #092e17;
}

/* Animations */
.pneu-reveal {
  opacity: 0;
  animation-fill-mode: forwards;
}
.pneu-reveal.is-visible {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MentionHub Style Homepage CSS */
.mh-hero {
    position: relative;
    padding: 140px 24px 100px;
    text-align: center;
    background-image: url('/wp-content/uploads/tmp_img/hero_background.png');
    background-size: cover;
    background-position: center;
    color: white;
}
.mh-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1;
}
.mh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.mh-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(90deg, #38bdf8, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mh-hero p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}
.mh-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.btn-primary {
    padding: 16px 36px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #fff;
    border-radius: 99px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}
.btn-secondary {
    padding: 16px 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 99px;
    text-decoration: none;
    font-weight: bold;
    backdrop-filter: blur(10px);
}
.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    color: white;
}
.mh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}
h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
}
.mh-category-grid, .mh-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.mh-cat-card, .trust-card, .bio-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}
.mh-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cat-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.mh-cat-card h3 {
    color: #0f172a;
    font-size: 22px;
    margin-bottom: 8px;
}
.mh-cat-card p {
    color: #64748b;
}

/* Trust Section */
.mh-trust {
    background: #f8fafc;
}
.trust-card {
    border-top: 4px solid #38bdf8;
    text-align: left;
}
.trust-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.trust-card p {
    color: #475569;
}

/* Bio Section */
.bio-card {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
}
.bio-avatar {
    font-size: 60px;
    background: #fff;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(16,185,129,0.2);
}

/* FAQ Section */
.mh-faq {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    overflow: hidden;
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-left: 4px solid transparent;
}
.faq-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}
.faq-content {
    padding: 0 24px;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}
.faq-accordion.active .faq-content {
    padding: 0 24px 24px;
    max-height: 500px;
    opacity: 1;
}
.faq-accordion.active .faq-header {
    border-left-color: #38bdf8;
}

/* Fix Bento Grid visibility */
.bento-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}
.bento-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
}
.bento-title, .bento-excerpt, time {
    opacity: 1 !important;
    visibility: visible !important;
    color: #111827 !important;
}

/* Premium Menu Styling */
.main-navigation {
    background: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation .main-nav ul li a {
    color: #e5e7eb !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 20px 24px;
    transition: color 0.3s ease, background 0.3s ease;
}

.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #10b981 !important;
    background: transparent !important;
}

.main-navigation .main-nav ul li.menu-item-has-children > a::after {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.main-navigation .main-nav ul li:hover.menu-item-has-children > a::after {
    color: #10b981;
}

/* Sub-menus */
.main-navigation ul ul {
    background: rgba(17, 24, 39, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
}

.main-navigation ul ul li a {
    padding: 12px 24px !important;
    font-size: 0.85rem !important;
}

.main-navigation ul ul li:hover > a {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #10b981 !important;
}

.site-header {
    background: #111827 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-title a, .site-description {
    color: #fff !important;
}
