/* CSS Variables for consistent theming - Team Logo Theme (Red, Blue, Grey) */
:root {
  --primary-red: #d04c40;
  --primary-blue: #4d69a5;
  --icy-blue: #4cbee7;
  --dark-charcoal: #4d4e4e;
  --medium-charcoal: #5d5d5d;
  --medium-grey: #8b8b8b;
  --light-grey: #a8a8a8;
  --silver: #bababa;
  --bg-black: #1a1a1a;
  --bg-dark: #2d2d2d;
  --bg-charcoal: #3d3d3d;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-gray: #b0b0b0;
  --border-color: #4d4d4d;
  --shadow: rgba(208, 76, 64, 0.3);
  --red-glow: rgba(208, 76, 64, 0.4);
  --blue-glow: rgba(77, 105, 165, 0.4);
  --icy-glow: rgba(76, 190, 231, 0.4);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.main-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-black) 100%);
  padding: 2rem 2rem 1.5rem;
  border-bottom: 4px solid var(--primary-red);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.hero-banner {
  background-image: url('images/teambanner.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
  z-index: 0;
}

.header-school-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  z-index: 2;
  transition: var(--transition);
}

.header-school-logo:hover {
  transform: scale(1.1);
}

.header-team-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  z-index: 2;
  transition: var(--transition);
}

.header-team-logo:hover {
  transform: scale(1.1);
}

.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.main-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(144, 224, 239, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(208, 76, 64, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.team-logo {
  max-width: 200px;
  height: auto;
  transition: var(--transition);
}

.team-logo:hover {
  transform: scale(1.05);
}

.school-logo {
  max-width: 150px;
  height: auto;
  transition: var(--transition);
}

.school-logo:hover {
  transform: scale(1.05);
}

.main-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.main-header p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

.main-header .subtitle {
  color: var(--icy-blue);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation Bar */
nav {
  background-color: var(--bg-dark);
  border-bottom: 2px solid var(--primary-red);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-team-logo {
  max-height: 50px;
  width: auto;
  transition: var(--transition);
}

.nav-team-logo:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 1rem 2rem;
  display: block;
  transition: var(--transition);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

nav a:hover {
  color: var(--text-white);
  background-color: rgba(208, 76, 64, 0.15);
  text-shadow: 0 0 8px var(--icy-blue);
}

nav a:hover::after {
  width: 80%;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

section h2 {
  color: var(--icy-blue);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-red), var(--icy-blue), var(--primary-blue), transparent);
}

section h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

section p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.intro {
  background-color: var(--bg-dark);
  border-radius: 10px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.intro p {
  font-size: 1.2rem;
}

.intro strong {
  color: var(--icy-blue);
  font-weight: 600;
}

/* Highlights Section */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  padding: 0 2rem;
}

.highlight {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(208, 76, 64, 0.08) 100%);
  padding: 2.5rem 2rem;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.highlight:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 8px 25px var(--shadow);
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(208, 76, 64, 0.15) 100%);
}

.highlight h3 {
  color: var(--icy-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.highlight p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* School Section */
.school {
  background-color: var(--bg-dark);
  border-radius: 10px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-left: 5px solid var(--primary-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(208, 76, 64, 0.15) 0%, var(--bg-dark) 100%);
  border-radius: 10px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  border: 2px solid var(--primary-red);
  box-shadow: 0 4px 20px var(--shadow);
}

/* Content Section (for other pages) */
.content {
  text-align: left;
  background-color: var(--bg-dark);
  border-radius: 10px;
  padding: 3rem;
  margin: 2rem auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.content ul li {
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 1rem;
  margin: 0.5rem 0;
  background-color: rgba(208, 76, 64, 0.08);
  border-left: 4px solid var(--primary-red);
  border-radius: 5px;
  transition: var(--transition);
}

.content ul li:hover {
  background-color: rgba(208, 76, 64, 0.15);
  transform: translateX(5px);
  border-left-color: var(--icy-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.content ul li strong {
  color: var(--icy-blue);
  font-weight: 600;
}

/* Section class for about page */
.section {
  padding: 4rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-dark);
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HEADERS (for other pages)
   ============================================ */

header:not(.main-header) {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-black) 100%);
  padding: 3rem 2rem 2rem;
  border-bottom: 4px solid var(--primary-blue);
}

header:not(.main-header) h1 {
  color: var(--text-white);
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.site-header {
  background-color: var(--bg-dark);
  border-bottom: 2px solid var(--primary-red);
  padding: 1rem 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--bg-dark);
  border-top: 2px solid var(--primary-red);
  padding: 2rem;
  margin-top: auto;
  color: var(--text-gray);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  max-height: 40px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.site-footer {
  background-color: var(--bg-dark);
  border-top: 2px solid var(--primary-red);
  padding: 2rem;
  margin-top: auto;
  color: var(--text-gray);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */

button, .btn {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
  color: var(--text-white);
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  transition: var(--transition);
  box-shadow: 0 4px 10px var(--shadow);
}

button:hover, .btn:hover {
  background: linear-gradient(135deg, var(--icy-blue) 0%, var(--primary-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px var(--shadow);
}

button:active, .btn:active {
  transform: translateY(0);
}

/* ============================================
   HEADINGS
   ============================================ */

h1, h2, h3 {
  color: var(--icy-blue);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ============================================
   IMAGES
   ============================================ */

.main-hero {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border: 6px solid var(--primary-red);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Gorilla Image Styles */
.gorilla-hero {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  border: 4px solid var(--primary-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin: 2rem auto;
  display: block;
  filter: brightness(1.05) contrast(1.1);
  transition: var(--transition);
}

.gorilla-hero:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.gorilla-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  border: 3px solid var(--primary-red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin: 1.5rem auto;
  display: block;
  filter: brightness(1.05) contrast(1.1);
  transition: var(--transition);
}

.gorilla-image:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.gorilla-bg {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.gorilla-decorative {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--icy-blue);
  margin: 1rem;
  transition: var(--transition);
}

.gorilla-decorative:hover {
  transform: rotate(5deg) scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hero-banner {
    background-attachment: scroll;
  }

  .main-header {
    padding: 1.5rem 1rem 1rem;
    min-height: 150px;
  }

  .main-header h1 {
    font-size: 2rem;
  }

  .main-header p {
    font-size: 0.9rem;
  }

  .header-school-logo,
  .header-team-logo {
    max-width: 60px;
    max-height: 60px;
    top: 0.5rem;
  }

  .header-school-logo {
    left: 0.5rem;
  }

  .header-team-logo {
    right: 0.5rem;
  }

  .logo-container {
    gap: 1rem;
  }

  .team-logo {
    max-width: 150px;
  }

  .school-logo {
    max-width: 120px;
  }

  nav {
    flex-direction: column;
    padding: 0.5rem;
  }

  .nav-logo {
    margin-bottom: 0.5rem;
  }

  .nav-team-logo {
    max-height: 40px;
  }

  nav a {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .highlight {
    padding: 2rem 1.5rem;
  }

  .content {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 1rem 0.5rem 0.75rem;
    min-height: 120px;
  }

  .main-header h1 {
    font-size: 1.5rem;
  }

  .main-header p {
    font-size: 0.8rem;
  }

  .header-school-logo,
  .header-team-logo {
    max-width: 45px;
    max-height: 45px;
    top: 0.25rem;
  }

  .header-school-logo {
    left: 0.25rem;
  }

  .header-team-logo {
    right: 0.25rem;
  }

  .logo-container {
    flex-direction: column;
    gap: 1rem;
  }

  .team-logo {
    max-width: 120px;
  }

  .school-logo {
    max-width: 100px;
  }

  .nav-team-logo {
    max-height: 35px;
  }

  nav a {
    padding: 0.7rem 0.8rem;
    font-size: 0.75rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sponsor-card {
    padding: 2rem 1.5rem;
  }

  .sponsor-amount {
    font-size: 1.5rem;
  }

  .social-link,
  .sponsor-cta {
    padding: 2rem 1.5rem;
  }
}

/* ============================================
   SPONSORS PAGE
   ============================================ */

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.sponsor-card {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(208, 76, 64, 0.08) 100%);
  padding: 2.5rem 2rem;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 8px 25px var(--shadow);
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(208, 76, 64, 0.15) 100%);
}

.sponsor-card h3 {
  color: var(--icy-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.sponsor-amount {
  color: var(--text-white);
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sponsor-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.sponsor-cta {
  background: linear-gradient(135deg, rgba(208, 76, 64, 0.15) 0%, var(--bg-dark) 100%);
  padding: 2.5rem;
  border-radius: 10px;
  border: 2px solid var(--primary-red);
  margin-top: 3rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.sponsor-cta h3 {
  color: var(--icy-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.sponsor-cta p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.social-link {
  background: linear-gradient(135deg, rgba(208, 76, 64, 0.15) 0%, var(--bg-dark) 100%);
  padding: 2.5rem;
  border-radius: 10px;
  border: 2px solid var(--primary-red);
  margin-top: 3rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.social-link h3 {
  color: var(--icy-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.social-link p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.instagram-link {
  display: inline-block;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--text-white);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
  margin-top: 1rem;
}

.instagram-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(188, 24, 136, 0.5);
}

.instagram-link span {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-red {
  color: var(--primary-blue);
}

.text-blue {
  color: var(--icy-blue);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ===== TEAM HALF & HALF LAYOUT ===== */

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.team-row.reverse {
  flex-direction: row-reverse;
}

.team-text {
  flex: 1;
  min-width: 260px;
  text-align: left;
}

.team-img {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.team-img img {
  max-width: 260px;
  width: 100%;
  border-radius: 15px;
  border: 3px solid var(--primary-red);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.team-img img:hover {
  transform: scale(1.05);
}
