
/* style.css - FEHT Hockey Academy - Modern Bold Theme */
:root{
  --purple: #2e1a5f;
  --gold: #d4a017;
  --white: #ffffff;
  --dark: #222;
}

*{box-sizing:border-box;margin:0;padding:0;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;}

body{
  background: linear-gradient(180deg, #fff 0%, #f7f7fb 100%);
  color: var(--dark);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Header / Nav */
.header{
  background: linear-gradient(90deg, rgba(46,26,95,0.95), rgba(212,160,23,0.95));
  color:var(--white);
  padding:18px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header .logo{
  display:flex;
  align-items:center;
  gap:12px;
}
.header .logo img{height:56px;}
.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  color:var(--white);
  text-decoration:none;
  font-weight:600;
  padding:8px 12px;
  border-radius:6px;
  transition:all .18s ease;
}
.nav a:hover{ transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,0.12); background:rgba(255,255,255,0.08); }

/* Hero */
.hero{
  padding:64px 24px;
  text-align:center;
}
.hero .hero-inner{
  max-width:1100px;
  margin:0 auto;
  background:linear-gradient(180deg, rgba(46,26,95,0.06), rgba(212,160,23,0.03));
  padding:48px;
  border-radius:14px;
}
.hero h1{
  font-size:42px;
  color:var(--purple);
  margin-bottom:8px;
  letter-spacing:1px;
  font-weight:800;
}
.hero p.tagline{
  color:var(--gold);
  font-weight:700;
  margin-bottom:18px;
  font-size:18px;
}
.cta{
  display:inline-block;
  background:var(--purple);
  color:var(--white);
  padding:14px 22px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  transition:all .18s ease;
  box-shadow:0 6px 18px rgba(46,26,95,0.14);
}
.cta:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(46,26,95,0.18);
}

/* Sections */
.section{
  padding:48px 24px;
}
.container{ max-width:1100px; margin:0 auto; }

/* Services grid */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:18px;
}
.card{
  background:var(--white);
  padding:18px;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(20,20,20,0.06);
  min-height:150px;
}

/* Footer */
.footer{
  background:#111;
  color:#ddd;
  padding:18px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer .left{display:flex;align-items:center;gap:12px;}
.footer img{height:36px;}
.footer a{color:#ddd;text-decoration:none;}
.socials{display:flex;gap:12px;align-items:center;}
.socials .icon{width:34px;height:34px;border-radius:6px;background:#222;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;opacity:0.9;transition:all .12s ease;}
.socials .icon:hover{transform:translateY(-3px);opacity:1;}

/* Contact form */
.form-row{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;}
input[type="text"], input[type="email"], textarea{
  width:100%;padding:12px;border-radius:8px;border:1px solid #ddd;font-size:15px;
}
button[type="submit"]{
  background:var(--gold);color:var(--dark);border:none;padding:12px 16px;border-radius:8px;font-weight:700;cursor:pointer;transition:all .12s ease;
}
button[type="submit"]:hover{ transform:translateY(-3px); box-shadow:0 8px 20px rgba(212,160,23,0.12); }

/* ---------- Mobile nav toggle (override small-screen behaviour) ---------- */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  background: transparent;
  border: none;
  padding: 6px 10px;
  line-height: 1;
}

/* Mobile layout */
@media (max-width: 800px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 60;
  }

  /* Hide original nav (desktop style) and prepare mobile panel */
  .nav {
    display: block;               /* keep it in flow for height transition */
    max-height: 0;                /* collapsed */
    overflow: hidden;
    transition: max-height 0.28s ease;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(180deg, rgba(46,26,95,0.97), rgba(46,26,95,0.97));
    position: absolute;
    left: 0;
    top: 64px;                    /* below header area */
    z-index: 50;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .nav a {
    display: block;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
    text-decoration: none;
    font-weight:700;
  }

  /* When active: allow enough height to show items (big number avoids measuring) */
  .nav.active {
    max-height: 500px; /* large enough for multiple links */
  }

  /* Ensure header doesn't push page content when nav expands */
  .header { padding-bottom: 0; }
}
