/* ========================================
   RESET & BASE STYLES
   Shared across all pages
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Crimson Text", serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ========================================
   BUTTONS (shared)
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline-blue {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}
.btn-outline-blue:hover {
  background: #eff6ff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ========================================
   NAVBAR - Sticky with Glassmorphism
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* background: rgba(255, 255, 255, 0.6); */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.01),
    transparent
  );
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 220px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* padding-left: 30px; */
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
}

.navbar-links a {
  color: black;
  font-weight: 700;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d97706, #2563eb);
  transition: width 0.3s ease;
}

.navbar-links a:hover {
  color: #d97706;
}

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

.navbar-links a.active {
  color: #d97706;
}

.navbar-links a.active::after {
  width: 100%;
}

/* Hamburger Menu Button */
.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background-color: black;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .navbar-logo img {
    padding-left: 30px;
  }
}

/* Mobile nav hidden */
@media (max-width: 768px) {
  .navbar-inner {
    gap: 0;
    justify-content: space-between;
    position: relative;
    padding: 0 1rem;
    align-items: center;
  }

  .navbar-logo img {
    height: 60px;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Show only Sponsors link inline on mobile */
  .navbar-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    display: flex;
  }

  .navbar-links a {
    font-size: 16px;
    color: white;
    padding: 0.75rem 0;
    display: none;
  }

  .navbar-links a::after {
    display: none;
  }

  /* Dropdown menu - shows when active */
  .navbar-links.active {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(17, 24, 39, 0.8);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    max-height: 500px;
  }

  .navbar-links.active a {
    display: block;
  }

  .navbar-links a:hover {
    color: #fbbf24;
  }

  .navbar-cta {
    display: none;
  }
}

/* ========================================
   FOOTER (shared)
   ======================================== */
.footer {
  background: #111827;
  color: white;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 75rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}

.footer p,
.footer a,
.footer ul {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom .small {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ANIMATIONS (shared)
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
