/* Mobile Menu Styles */
:root {
  /* Colors */
  --background: hsl(0, 0%, 3%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(0, 0%, 7%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(24, 100%, 50%);
  /* --primary: hsl(16, 88%, 54%); */
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 10%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(0, 0%, 15%);
  --muted-foreground: hsl(0, 0%, 64%);
  --border: hsl(0, 0%, 15%);
  --bg-card: rgba(255, 255, 255, 0.03);
      --bg-card-hover: rgba(255, 255, 255, 0.06);
      --text-primary: #ffffff;
      --text-secondary: rgba(255, 255, 255, 0.7);
      --text-muted: rgba(255, 255, 255, 0.5);
      --border-color: rgba(255, 255, 255, 0.08);
      --accent-orange: #f97316;
      
      --gradient-primary: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 6rem;
  --border-radius: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* Utility Classes */
.text-primary {
  color: var(--primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Card Glass Effect */
.card-glass {
  background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.05) 0%, hsla(0, 0%, 100%, 0.02) 100%);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  backdrop-filter: blur(10px);
}

/* Section Badge */
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: hsla(24, 100%, 50%, 0.1);
  border: 1px solid hsla(24, 100%, 50%, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(30, 100%, 55%) 100%);
  color: var(--primary-foreground);
  box-shadow: 0 4px 20px hsla(24, 100%, 50%, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(24, 100%, 50%, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: hsla(24, 100%, 50%, 0.05);
}

.btn-rounded {
  border-radius: 9999px;
}

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

.btn-cta {
  width: 100%;
  padding: 1.25rem 2rem;
  border-radius: var(--border-radius);
  justify-content: space-between;
}
.btn-cta {
  width: fit-content; /* prevents stretching full width */
  border-radius: 900px;
}

.btn-icon-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.3s;
}
/* Hamburger Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-btn .icon-close { display: none; }
.mobile-menu-btn .icon-menu { display: block; }

.mobile-menu-btn.active .icon-menu { display: none; }
.mobile-menu-btn.active .icon-close { display: block; }

.mobile-menu-btn:hover {
    border-color: var(--accent-orange);
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hamburger Animation when active */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--background);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.mobile-menu-logo span {
    color: var(--accent-orange);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.mobile-menu-nav {
    padding: 1.5rem;
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    color: var(--accent-orange);
}

.mobile-menu-nav a:last-child {
    border-bottom: none;
}

.mobile-menu-cta {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* Hide desktop nav */
    .nav-desktop {
        display: none !important;
    }

    /* Hide desktop CTA button */
    .header-content > .btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
  .mobile-menu-overlay { z-index: 3000; }
  .mobile-menu        { z-index: 3001; }
  .mobile-menu-btn    { z-index: 3002; }

  
  .event-categories   { z-index: 1 !important; }
}

@media (max-width: 1023px) {
  .about-visual {
    display: block;
  }

  .about-content {
    max-width: 100%;
  }

  /* Put image under text nicely */
  .visual-container {
    width: 100%;
    max-width: 560px;   /* keeps it from looking too huge */
    margin: 2rem auto 0;
    aspect-ratio: 4 / 3; /* less tall than 1:1, looks better on phones */
  }

  .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Optional: make it a bit smaller on iPhone only */
@media (max-width: 480px) {
  .visual-container {
    max-width: 420px;
    aspect-ratio: 16 / 10;
  }
}