html, body { overflow-x: hidden; }

/* InterProFootball.com - Full Size Stadium + Grass Theme (Pro/Clubs/Investors) */

:root{
  --bg:#070a12;
  --panel: rgba(10,14,25,.70);
  --panel2: rgba(10,14,25,.88);
  --text:#eaf0ff;
  --muted:#b9c5e6;
  --accent:#ffd24a;
  --accent2:#38d66b;
  --danger:#ff4a4a;
  --stroke: rgba(255,255,255,.12);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 50% 10%, rgba(70,110,255,.18), transparent 60%),
              linear-gradient(180deg, #060812 0%, #04050b 100%);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{
  width:min(1200px, 92vw);
  margin:0 auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.9rem 1.1rem;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color:var(--text);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  font-weight:800;
  letter-spacing:.2px;
}
.btn:hover{transform: translateY(-1px); transition:.18s ease}
.btn.primary{
  background: linear-gradient(90deg, var(--accent), #ffb82f);
  color:#131520;
  border-color: rgba(255,255,255,.22);
}
.btn.green{
  background: linear-gradient(90deg, var(--accent2), #16b84c);
  color:#07120a;
  border-color: rgba(255,255,255,.18);
}
.btn.danger{
  background: linear-gradient(90deg, var(--danger), #ff7a4a);
  color:#140707;
  border-color: rgba(255,255,255,.18);
}
.btn.small{padding:.6rem .85rem; font-weight:800}

/* Header + Topbar */
.header{
  overflow: visible;
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(5,7,14,.62);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.topbar{
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar .row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:1rem;
  padding:.5rem 0;
  color:var(--muted);
  font-weight:800;
  letter-spacing:.2px;
}
.topbar a{
  color:var(--text);
  padding:.25rem .55rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.topbar a:hover{background: rgba(255,255,255,.10)}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.75rem 0;
  gap:.6rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width: 240px;
}
.brand img{
  width:64px;
  height:64px;
  border-radius: 14px;
  object-fit: cover;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
}

.brand .title{
  line-height:1.05;
  font-weight:950;
  letter-spacing:.3px;
}
.brand .title small{
  display:block;
  color:var(--muted);
  font-weight:650;
  letter-spacing:.2px;
  margin-top:.15rem;
  font-size:.78rem;
}

.menu{
  display:flex;
  align-items:center;
  gap:.1rem;
  flex-wrap:nowrap;
  justify-content:center;
  white-space:nowrap;
}

.menu > a,
.drop > a{
  padding:.55rem .75rem;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  font-weight:850;
  font-size:.95rem;
}
.menu > a:hover,
.drop > a:hover{
  color:var(--text);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.menu a.active{
  color:var(--text);
  border-color: rgba(255,210,74,.35);
  background: rgba(255,210,74,.10);
}

.nav-cta{display:flex; gap:.6rem; align-items:center}
.mobile-toggle{
  display:none;
  padding:.55rem .75rem;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
}

/* Dropdown */
.drop{
  position:relative;
  display:flex;
  align-items:center;
  gap:.25rem;
}
.drop-toggle{
  display:none;
  padding:.45rem .55rem;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
}
.drop-menu{
  z-index: 300;
  position:absolute;
  top: calc(100% + .55rem);
  left:0;
  min-width: 220px;
  background: rgba(5,7,14,.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  padding:.5rem;
  display:none;
}
.drop-menu a{
  display:block;
  padding:.6rem .7rem;
  border-radius: 12px;
  color:var(--muted);
  font-weight:850;
}
.drop-menu a:hover{
  background: rgba(255,255,255,.06);
  color:var(--text);
}
/* Desktop hover/focus open */
.drop:hover .drop-menu,
.drop:focus-within .drop-menu{
  display:block;
}

/* Hero */
.hero{
  min-height: 70vh;
  display:flex;
  align-items:stretch;
  position:relative;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.88)),
    url("../img/stadium.jpg") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(800px 500px at 50% 25%, rgba(255,210,74,.22), transparent 65%);
  pointer-events:none;
}
.hero .inner{
  position:relative;
  width:100%;
  padding: clamp(2.2rem, 4vw, 4rem) 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.4rem;
  align-items:center;
}
.kicker{
  display:inline-flex;
  gap:.55rem;
  align-items:center;
  padding:.45rem .75rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.25);
  color: var(--muted);
  font-weight:900;
}
.kicker b{color:var(--accent)}
h1{
  margin:.9rem 0 .5rem;
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
  line-height:1.02;
  letter-spacing:-.5px;
}
h1 span{color:var(--accent)}
.lead{
  color:var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height:1.6;
  max-width: 64ch;
}
.hero-actions{
  margin-top: 1.2rem;
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
}

.hero-card{
  background: var(--panel);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.hero-card h3{margin:.1rem 0 .5rem; font-size:1.05rem}
.hero-card p{margin:0 0 .9rem; color:var(--muted); line-height:1.6}
.hero-card ul{margin:.2rem 0 0; padding-left:1.1rem; color:var(--muted)}
.hero-card li{margin:.35rem 0}

/* Grass/Pitch Sections */
.pitch{
  position:relative;
  padding: 3.2rem 0;
  background:
    linear-gradient(180deg, rgba(7,10,18,.88), rgba(7,10,18,.96)),
    radial-gradient(900px 450px at 50% 0%, rgba(56,214,107,.20), transparent 60%);
}
.pitch::before{
  content:"";
  position:absolute; inset:0;
  opacity:.18;
  background-image: url("../img/grass.png");
  background-size: 540px;
  background-repeat: repeat;
  pointer-events:none;
}
.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: 1.2rem;
}
.section-title h2{
  margin:0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}
.section-title p{
  margin:0;
  color:var(--muted);
  max-width: 72ch;
  line-height:1.6;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card{
  background: var(--panel2);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  padding: 1.05rem;
}
.card h3{margin:.2rem 0 .35rem}
.card p{margin:0; color:var(--muted); line-height:1.6}
.card .meta{margin-top:.75rem; display:flex; gap:.6rem; flex-wrap:wrap}
.badge{
  font-size:.82rem;
  font-weight:900;
  padding:.35rem .6rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--muted);
}
.badge.gold{border-color: rgba(255,210,74,.35); color: #ffe7a5; background: rgba(255,210,74,.10)}
.badge.green{border-color: rgba(56,214,107,.35); color: #bfffd0; background: rgba(56,214,107,.10)}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.panel{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.panel h3{margin:.2rem 0 .4rem}
.panel p{margin:0; color:var(--muted); line-height:1.6}

/* Simple page hero */
.page-hero{
  min-height: 38vh;
}

/* Forms */
.form{display:grid; gap:.7rem}
.input{
  width:100%;
  padding:.85rem .95rem;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
}
textarea.input{min-height:140px; resize:vertical}
select.input{appearance:none}

/* Footer */
.footer{
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}
.footer small{color:var(--muted)}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .mobile-toggle{display:inline-flex}
  .nav{flex-wrap:wrap}
  .brand{min-width:auto}

  .menu{
    display:none;
    width:100%;
    padding: .6rem;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.35);
    border-radius: 16px;
    margin-top: .75rem;
    justify-content:flex-start;
    flex-direction:column;
    align-items:stretch;
  }
  .menu.open{display:flex}
  .menu > a,
  .drop > a{width:100%}
  .drop{width:100%}
  .drop-toggle{display:inline-flex}
  /* Mobile dropdown becomes inline */
  .drop-menu{
    position:static;
    display:none;
    margin:.4rem 0 0;
    width:100%;
  }
  .drop.open .drop-menu{display:block}
  /* Disable hover open on mobile */
  .drop:hover .drop-menu{display:none}
  .topbar .row{justify-content:center; flex-wrap:wrap}
}
/* Founder Profile Layout */
.founder-wrap{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 1.2rem;
  align-items:center;
}

.founder-photo img{
  width:160px;
  height:160px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  background:#0b0f1f;
}

.founder-bio p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.founder-actions{
  margin-top:.9rem;
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}

/* Mobile */
@media (max-width: 768px){
  .founder-wrap{
    grid-template-columns:1fr;
    text-align:center;
  }

  .founder-photo img{
    margin:0 auto;
  }

  .founder-actions{
    justify-content:center;
  }
}
@media (max-width: 768px){
  .brand img{
    width:52px;
    height:52px;
  }
}
/* Slightly shrink menu text to prevent wrapping */
.menu > a,
.drop > a{
  font-size: .92rem;
}
/* ===== FIX DROPDOWN HOVER (TRYOUTS) ===== */

.drop {
  position: relative;
}

/* dropdown menu */
.drop-content {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;              /* CRITICAL: no gap */
  min-width: 180px;
  background: rgba(15,18,35,0.97);
  border-radius: 12px;
  padding: .4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  display: none;
  z-index: 9999;
}

/* keep dropdown open */
.drop:hover .drop-content,
.drop-content:hover {
  display: block;
}

/* hover bridge so mouse never leaves */
.drop > a {
  padding-bottom: .7rem;
}
/* ===== FIX PRE-SEASON CAMPS → TRYOUTS DROPDOWN ===== */

.drop {
  position: relative;
}

/* Submenu */
.drop-menu {
  position: absolute;
  top: calc(100% - 2px);   /* overlap to remove gap */
  left: 0;
  min-width: 180px;
  background: rgba(15,18,35,0.97);
  border-radius: 12px;
  padding: .4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  display: none;
  z-index: 9999;
}

/* Show submenu on hover */
.drop:hover .drop-menu {
  display: block;
}

/* Hover bridge (critical) */
.drop > a {
  padding-bottom: .8rem;
}

/* Prevent parent containers from clipping dropdown */
header,
.nav,
.menu {
  overflow: visible;
}
/* Mobile Menu */
@media (max-width: 980px){
  .mobile-toggle{
    display:block;
    background:transparent;
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    padding:.4rem .7rem;
    border-radius:8px;
  }

  .menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:rgba(10,12,30,.98);
    flex-direction:column;
    padding:1rem;
    gap:.5rem;
  }

  .menu.open{
    display:flex;
  }

  .drop-menu{
    position:relative;
    top:0;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  font-size: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
}

.whatsapp-float:hover {
  background: #1ebe5d;
}


/* Language Switcher (EN/FR/ES/PT) */
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-left: .75rem;
  padding: .2rem .3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
.lang-switch .lang-link{
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  padding: .25rem .45rem;
  border-radius: 999px;
  color: var(--text);
  opacity: .85;
  text-transform: uppercase;
}
.lang-switch .lang-link:hover{ opacity: 1; background: rgba(255,255,255,.08); }
.lang-switch .lang-link.is-active{ opacity: 1; background: rgba(255,210,74,.18); border: 1px solid rgba(255,210,74,.25); }
@media (max-width: 700px){
  .lang-switch{ margin-left: .4rem; }
}


/* WhatsApp Floating Button */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border-radius: 999px;
  background: #25D366;
  color: #0a1b10;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  font-weight: 900;
  letter-spacing: .02em;
}
.whatsapp-float .wa-icon{
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: #0a1b10;
}
.whatsapp-float .wa-text{ font-size: .95rem; }
.whatsapp-float:hover{ transform: translateY(-2px); }
@media (max-width: 600px){
  .whatsapp-float{ padding: .75rem; }
  .whatsapp-float .wa-text{ display:none; }
}


/* Cookie / Consent Banner */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  display: none;
}
.cookie-banner.is-visible{ display:block; }
.cookie-banner__inner{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,14,25,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.cookie-banner__text strong{ display:block; margin-bottom: .25rem; }
.cookie-banner__text p{ margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.3; }
.cookie-banner__actions{ display:flex; gap: .5rem; flex-shrink:0; }
.cookie-btn{ cursor:pointer; }
@media (max-width: 720px){
  .cookie-banner__inner{ flex-direction: column; align-items: flex-start; }
}
