/* CSS Variables */
:root {
  --primary-color: #005d18;
  --secondary-color: #B48F4E;
  --accent-color: #005d18;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --border-light: #e9ecef;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Ensure hamburger stays hidden on desktop explicitly */
@media (min-width: 769px) {
  .nav-toggle { display: none !important; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-backdrop {
    transition: none !important;
  }
}

/* Backdrop for mobile nav */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
  z-index: 1000;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.skip-link:focus {
  top: 6px;
  opacity: 1;
  visibility: visible;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Prevent background scroll when mobile menu is open */
body.noscroll {
  overflow: hidden;
}

/* Make all media fluid by default */
img, video, svg, canvas, iframe {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 3000;
  height: 80px;
  align-items: center;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.logo img {
  height: 85px;
  width: auto;
  object-fit: contain;
  aspect-ratio: 1/1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .nav-links {
    margin-left: 0; /* reset on mobile overlay rule */
  }

  /* Ensure hamburger sits at the far right on mobile */
  .nav-toggle {
    display: block;
  }
}

.nav-toggle {
  display: none; /* hidden by default (desktop) */
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Normalize list styles inside navbar */
.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cta-button {
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.cta-button.primary {
  background: var(--primary-color);
  color: var(--white);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button.primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cta-button:not(.primary):not(.secondary) {
  background: var(--secondary-color);
  color: var(--white);
}

.cta-button:not(.primary):not(.secondary):hover {
  background: #d4af37;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jerseys-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  height: 400px;
}

.jersey-image {
  position: absolute;
  /* height: 380px;
  width: auto; */
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jersey-main {
  z-index: 2;
  left: -40px;
  transform: rotate(-8deg);
}

.jersey-gk {
  z-index: 1;
  right: -40px;
  transform: rotate(8deg);
  opacity: 0.95;
}

.jerseys-showcase:hover .jersey-main {
  z-index: 1;
  transform: rotate(-8deg) scale(0.98);
  opacity: 0.9;
}

.jerseys-showcase:hover .jersey-gk {
  z-index: 3;
  transform: rotate(8deg) scale(1.05);
  opacity: 1;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  border-radius: 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .cta-button {
  background: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.cta-section .cta-button:hover {
  background: #d4af37;
}

.incentive-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  display: inline-block;
  backdrop-filter: blur(10px);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--light-gray);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar.club-value {
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.author-info h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.badge {
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.social-proof {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.social-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.social-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.social-item div {
  font-weight: 600;
  color: var(--text-dark);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq-item {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.footer-column h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-column {
  min-width: 0;
  word-wrap: break-word;
}

.footer-column p {
  color: #ccc;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #ccc;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.8);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.modal h3 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.modal p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* reCAPTCHA Styles */
.captcha-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.captcha-note {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
}

.g-recaptcha {
  transform: scale(0.95);
  transform-origin: center;
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}

.submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.submit-btn:hover {
  background: var(--accent-color);
}

.discount-badge {
  background: var(--light-gray);
  color: var(--primary-color);
  padding: 12px 20px;
  border-radius: 25px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Show hamburger and stack menu behavior on mobile */
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .jerseys-showcase {
    max-width: 320px;
    height: 300px;
  }


  .jersey-main {
    left: -25px;
    transform: rotate(-6deg);
  }

  .jersey-gk {
    right: -25px;
    transform: rotate(6deg);
  }

  .jerseys-showcase:hover .jersey-main {
    z-index: 1;
    transform: rotate(-6deg) scale(0.98);
    opacity: 0.9;
  }

  .jerseys-showcase:hover .jersey-gk {
    z-index: 3;
    transform: rotate(6deg) scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .social-proof {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
  }

  .footer-column {
    min-width: 0;
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }

  .footer-column p {
    font-size: 0.9rem;
  }

  /* Show hamburger, convert nav list into dropdown */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    z-index: 9999;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 280ms ease-out,
      box-shadow 380ms ease-out;
    /* no shadow while hidden */
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-links button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 10000;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .nav-links a:hover,
  .nav-links button:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    /* subtle slide-down shadow when open */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .logo img {
    height: 60px !important;
    object-fit: contain;
    aspect-ratio: 1/1;
  }
  header {
    height: 70px;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .hero-buttons .cta-button {
    flex: 1;
    min-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .modal {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-column {
    min-width: 0;
  }

  .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .footer-column p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .footer-links a {
    font-size: 0.9rem;
    justify-content: center;
  }

  footer {
    padding: 40px 0 20px;
  }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
  .footer-grid {
    gap: 1rem;
  }

  .footer-column h3 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }

  .footer-column p {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .footer-links a {
    font-size: 0.85rem;
    padding: 0.2rem 0;
  }

  footer {
    padding: 30px 0 15px;
  }

  .copyright {
    font-size: 0.8rem;
    padding-top: 1.5rem;
  }
}

/* Legal Pages Styles */
.legal-content {
  padding: 120px 0 80px;
  background: var(--white);
  min-height: 100vh;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-gray);
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-align: justify;
}

.legal-content p strong {
  color: var(--text-dark);
  font-weight: 600;
}

.legal-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Legal page header adjustments */
.legal-content .header {
  background: var(--white);
  box-shadow: var(--shadow);
}

/* Legal page responsive */
@media (max-width: 768px) {
  .legal-content {
    padding: 100px 0 60px;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-content h2 {
    font-size: 1.3rem;
  }
  
  .legal-text {
    padding: 0 1rem;
  }
}

