/* =====================================================
   VARINA VOLLEYBALL MAIN THEME
   Navy: #0A1A4F | Vegas Gold: #C5B358 | Offwhite: #F8F9FA
===================================================== */

/* ---------- Global Styles ---------- */
body {
  font-family: Calibri, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: #F8F9FA;
  color: #212529;
  margin: 0;
  padding: 0;
}

.hidden { display: none !important; }

/* ---------- Navbar (Desktop + Mobile) ---------- */
.navbar {
  background-color: #0A1A4F;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 20;
}

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

.navbar-brand {
  font-weight: bold;
  color: #C5B358 !important;
  font-size: 1.3rem;
  text-decoration: none;
}

.navbar-brand:hover { color: #e0cb6a !important; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: #F8F9FA !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.nav-link:hover { color: #C5B358 !important; }

#menu-toggle { display: none; }

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: #C5B358;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Mobile Navbar ---------- */
@media (max-width: 768px) {
  .navbar-container { flex-wrap: wrap; }
  .menu-icon { display: flex; }
  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #0A1A4F;
    position: absolute;
    top: 58px;
    left: 0;
    padding: 10px 0;
    border-top: 2px solid #C5B358;
  }
  #menu-toggle:checked + .menu-icon + .navbar-links {
    display: flex;
    animation: dropdown 0.25s ease-in;
  }
  @keyframes dropdown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-link { padding: 10px 20px; width: 100%; text-align: left; }
  .navbar-brand { font-size: 1.1rem; }
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5 {
  font-family: Calibri, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #0A1A4F;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn-navy {
  background-color: #0A1A4F;
  color: #fff;
  border: none;
  border-radius: 6px;
  margin: 5px;
  padding: 8px 16px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-gold {
  background-color: #C5B358;
  color: #0A1A4F;
  border: none;
  border-radius: 6px;
  margin: 5px;
  padding: 8px 16px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-navy:hover {
  background-color: #C5B358;
  color: #0A1A4F;
}

.btn-gold:hover {
  background-color: #0A1A4F;
  color: #C5B358;
}

/* ---------- Hero Section (with video) ---------- */
.hero-section {
  position: relative;
  background-color: #0A1A4F;
  color: #C5B358;
  text-align: center;
  width: 100%;
  height: 300px;
  overflow: hidden;
  padding: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #C5B358;
  background: rgba(10, 26, 79, 0.4);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-overlay h1 {
  font-size: 2.2rem;
  margin: 0;
  letter-spacing: 1px;
}

/* ✅ Updated logo styling */
.hero-overlay .hero-logo {
  display: block;
  width: 200px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 15px auto;
  user-select: none;
  -webkit-user-drag: none;
  animation: pulseLogo 7s ease-in-out infinite;
  transition: transform 0.2s ease-in-out;
}

.hero-overlay .hero-logo:hover { transform: scale(1.1); }

.hero-overlay h2 {
  font-size: 1.4rem;
  margin-top: 5px;
}

/* ---------- Sub-Banner ---------- */
.sub-banner {
  background-color: #C5B358;
  color: #0A1A4F;
  text-align: center;
  font-weight: 600;
  padding: 12px 0;
  letter-spacing: 0.5px;
}

/* ---------- Content Section ---------- */
.content-section {
  text-align: center;
  padding: 40px 20px;
}

.content-section h3 {
  color: #0A1A4F;
  font-weight: 700;
  margin-bottom: 15px;
}

/* ---------- Cards ---------- */
.card {
  border-radius: 10px;
  border: 1px solid #DDD;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  background-color: #fff;
}

/* ---------- Pulse Animation (opacity + glow) ---------- */
@keyframes pulseLogo {
  0% {
    opacity: 0.1;
    transform: scale(.8);
    filter:
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
      drop-shadow(0 0 4px rgba(255, 105, 180, 0));
  }
  50% {
    opacity: 0.4;
    transform: scale(0.9);
    filter:
      drop-shadow(0 4px 10px rgba(197, 179, 88, 0.8))
      drop-shadow(0 0 8px rgba(255, 105, 180, 0.35));
  }
  100% {
    opacity: 0.1;
    transform: scale(.8);
    filter:
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
      drop-shadow(0 0 4px rgba(255, 105, 180, 0));
  }
}

/* ---------- Varsity / JV Toggle Tabs ---------- */
.level-tabs {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 25px;
}

.level-tabs .tab {
  flex: 1;
  max-width: 150px;
  text-align: center;
  padding: 10px 0;
  font-weight: 600;
  border: 2px solid #0A1A4F;
  background-color: #F8F9FA;
  color: #0A1A4F;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
}

/* Hover */
.level-tabs .tab:hover {
  background-color: #C5B358;
  color: #FFFFFF;
}

/* Active state */
.level-tabs .tab.active {
  background-color: #0A1A4F;
  color: #C5B358;
  border-color: #0A1A4F;
}


/* ---------- Mobile Adjustments ---------- */
@media (max-width: 768px) {
  .hero-section { height: 200px; }
  .hero-overlay h1 { font-size: 1.4rem; }
  .hero-overlay .hero-logo { width: 120px; transform: scale(1); }
  .hero-overlay h2 { font-size: 1rem; }
  .content-section { padding: 25px 10px; }
  .btn-navy, .btn-gold {
    width: 100%;
    margin: 6px 0;
    padding: 10px;
  }
}
