/* ============================================
   Lenruol FC — Pitch-Ready Modern Theme
   High-contrast, athletic, glassmorphic
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --bg-primary: #050505;
  --bg-secondary: #0f0f11;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-dim: #71717a;
  
  --accent: #DC2626; /* Electric Crimson */
  --accent-hover: #B91C1C;
  --accent-glow: rgba(220, 38, 38, 0.3);
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --wa: #25D366;
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 16px;
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { 
  font-family: var(--font-heading); 
  font-weight: 700; 
  line-height: 1.1; 
  color: var(--text-primary); 
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0.05em; }

p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.text-accent { color: var(--accent); }
.text-white { color: var(--text-primary); }
.text-white-dim { color: rgba(255, 255, 255, 0.7); }
.text-center { text-align: center; }

/* --- Sections --- */
.section { padding: 5rem 0; }
.section-dark { background: var(--bg-secondary); }

.section-header {
  margin-bottom: 3rem;
  max-width: 600px;
}
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 12px;
  border-radius: 2px;
}
.section-header.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-dim);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-primary);
}
.btn-primary:hover { 
  background: var(--accent-hover); 
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover { 
  border-color: var(--text-primary); 
  background: rgba(255, 255, 255, 0.05);
}
.btn-white {
  background: var(--text-primary);
  color: var(--bg-primary);
}
.btn-white:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
}
.btn-text {
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-text:hover { color: var(--accent-hover); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img { height: 40px; }
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-links.active { display: flex; }
.nav-links a {
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-primary) 0%, #0a0a0c 100%);
  z-index: 0;
}
/* Optional: Add a subtle grid pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}
.hero-content { 
  position: relative; 
  z-index: 1; 
  max-width: 800px; 
  text-align: center;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero p { 
  font-size: 1.15rem; 
  color: var(--text-secondary); 
  margin-bottom: 2.5rem; 
  max-width: 600px; 
  margin-left: auto; 
  margin-right: auto; 
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- About Grid --- */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
}
.club-crest {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  position: relative;
  z-index: 1;
}
.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.about-text p { margin-bottom: 1.5rem; }

/* --- Pathway Cards --- */
.pathway-grid {
  display: grid;
  gap: 1.5rem;
}
.pathway-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.pathway-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.pathway-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.pathway-card:hover::before {
  transform: scaleX(1);
}
.pathway-icon {
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.pathway-icon .icon {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}
.pathway-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.pathway-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --- Social Grid --- */
.section-accent {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a0505 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.social-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease);
}
.social-card .icon {
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
  transition: fill 0.3s var(--ease);
}
.social-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.social-card:hover .icon { fill: var(--accent); }

/* --- CTA Strip --- */
.cta-strip {
  background: var(--accent);
  padding: 5rem 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-strip h2 { color: var(--text-primary); margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* --- Footer --- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 300px; }
.footer-logo { height: 48px; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 0; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0;
}
.footer-credit a { color: var(--accent); }
.footer-credit a:hover { text-decoration: underline; }

/* --- WhatsApp Float --- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover { 
  transform: scale(1.1); 
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.wa-float svg { width: 28px; height: 28px; fill: var(--text-primary); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TABLET (≥ 768px)
   ============================================ */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    background: none;
    border: none;
    padding: 0;
    gap: 0.5rem;
  }
  .nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  .nav-links a:hover, .nav-links a.active { color: var(--accent); }
  
  .about-grid { grid-template-columns: 1fr 1fr; }
  .pathway-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.5fr 2fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================
   DESKTOP (≥ 1024px)
   ============================================ */
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
  .section { padding: 6rem 0; }
  .hero { min-height: 100vh; }
}