* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body, html { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  scroll-behavior: smooth; 
  line-height: 1.6;
  background:  #0a0a0a; /* your site background */
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

body::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* ================= MAIN CONTAINER ================= */
.main-container {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2vw; 
  background: rgba(10, 10, 10, .35);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  color: #ffffff;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  font-weight: 700;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  height: clamp(60px, 10vh, 100px);
}

@media (max-width: 768px) {
  header {
    padding: 0.75em 6vw;
    font-size: 1.1rem;
    height: 60px;
  }
}

header.scrolled {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-btn img {
  max-width: 200px;
  height: auto;
  display: block;
}

.logo-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  width: 100%;
}

.logo-btn img {
  display: block;
  width: 55%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 45px;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Parent dropdown container */
.nav-links li {
  position: relative;
}



/* Dropdown menu styling */
.teams-dropdown {
  position: absolute;
  top: 100%;                /* start just below the header */
  left: 0;
  min-width: 100px;          /* width of dropdown */
  margin-top: 15px;           /* small gap for visual separation */
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.6) 100%
  );                          /* subtle gradient for depth */
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0 0 12px 12px; /* rounded bottom corners */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  list-style: none;
  padding: 10px 0;
  
  opacity: 0;                 /* hidden initially */
  transform: translateY(-100px); /* start slightly above */
  pointer-events: none;       /* disable interactions when hidden */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -2;
}

/* Dropdown items */
.teams-dropdown li {
  padding: 0;
}

.teams-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.teams-dropdown a:hover {
  background: rgba(0, 212, 255, 0.15);
  color: #fff;
}

.nav-links li:hover > .teams-dropdown,
.nav-links li > .teams-dropdown:hover {
  opacity: 1;
  transform: translateY(-10px) translateX(-25px);
  pointer-events: auto;
}

main-container {
  width: 100%;
  overflow-x: hidden;
}

/* HERO */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 50vh;  /* takes half the viewport height */
  max-height: 80vh;  /* but not too tall */
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-100px);
}


.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
}

.hero-overlay h1 {
  font-family: 'Staatliches', sans-serif;
  font-size: 7rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* Section */
.teams-section {
  padding: 60px 8%;
  background: #0f0f0f;
  color: white;
  text-align: center;
}

.section-title {
  font-family: 'Staatliches', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  font-family: 'Staatliches', sans-serif;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.teams-description {
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
}


/* Team Card Layout */
.team-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}
.team-card:hover {
  transform: translateY(-4px) scale(105%);
}

.team-left {
  flex: 0 0 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.team-logo {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
}

/* Right Content */
.team-right {
  flex: 1;
  text-align: left;
}

.team-name {
  font-size: 2rem;
  font-family: 'Staatliches', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #f5f5f5;
}

.team-captain,
.team-members,
.team-accomplishments {
  font-size: 1.1rem;
  margin: 6px 0;
  line-height: 1.5;
}

/* SCROLLING */

#top-card {
  scroll-margin-top: 425px; /* push it up 250px, adjust as needed */
}

#bottom-card {
  scroll-margin-top: -175px; /* push it up 250px, adjust as needed */
}

.scroll-arrow {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
  z-index: 999;
}

.sheet-container {
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: visible;      /* allow iframe to extend outside if needed */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);   /* extra space at the bottom */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sheet-container iframe {
  display: block;
  width: 100%;
  min-height: 600px;       /* make iframe taller than your content */
  border: none;
  border-radius: 20px;
}

.sheet-container.active {
  transform: scale(1.02);
  /* box-shadow simulates an outline without overflowing */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 0 0 3px rgba(255,255,255,0.56);
}


.scroll-arrow:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}

/* Positioning */
.scroll-arrow.down {
  bottom: 20px;
}

.scroll-arrow.up {
  bottom: 80px; /* stacked above the down arrow */
  display: none; /* hidden until scroll */
}
