/* ========================================
   Font Imports - Hyperwave Two
   ======================================== */
@font-face {
    font-family: 'Hyperwave Two';
    src: url('fonts/HyperwaveTwo-Bold.woff2') format('woff2'),
         url('fonts/HyperwaveTwo-Bold.woff') format('woff'),
         url('fonts/HyperwaveTwo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS Variables - Dark Luxury Theme
   ======================================== */
:root {
    --color-bg-primary: #000000;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #2a2a2a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #cccccc;
    --color-accent: #DC143C;
    --color-accent-hover: #FF4444;
    --spacing-section: 100px;
    --spacing-container: 20px;
    --max-width: 1200px;
    --transition-base: 0.3s ease;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-hyperwave: 'Hyperwave Two', var(--font-primary);
}

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

html {
    scroll-behavior: smooth;
    perspective: 1000px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transform-style: preserve-3d;
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem var(--spacing-container);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-hyperwave);
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.video-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    z-index: 3;
}

.video-fallback.active {
    display: block;
}

.video-mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-primary);
}

.video-mute-btn .mute-icon,
.video-mute-btn .unmute-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-mute-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.video-mute-btn:hover {
    background: rgba(220, 20, 60, 0.8);
    border-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

.video-mute-btn:active {
    transform: scale(0.95);
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: var(--spacing-container);
    animation: fadeInUp 1s ease-out;
}

.hero-headline {
    font-family: var(--font-hyperwave);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stats span {
    padding: 0.5rem 1.5rem;
    border-right: 2px solid var(--color-accent);
}

.hero-stats span:last-child {
    border-right: none;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    background: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translate3d(0, -3px, 10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

.btn-secondary:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ========================================
   Sections - Seamless with 3D Effects
   ======================================== */
.section {
    padding: var(--spacing-section) var(--spacing-container);
    position: relative;
    background-color: transparent;
    transform-style: preserve-3d;
    will-change: transform;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 20px var(--color-accent);
    transition: width 0.4s ease, box-shadow 0.4s ease;
}

.section:hover .section-title::after {
    width: 120px;
    box-shadow: 0 0 30px var(--color-accent);
}

/* 3D Parallax and fade-in animations */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 50px, -100px) rotateX(5deg);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
}

/* ========================================
   About Section - Seamless
   ======================================== */
.about-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.about-content {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Top Section: Centered */
.about-top {
    text-align: center;
    margin-bottom: 2rem;
}

.about-hero-text {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-accent);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.about-tagline {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.4;
}

/* Middle Section: 3-Column Grid */
.about-middle-grid {
    display: grid;
    grid-template-columns: 350px 900px 350px;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

/* Left + Right columns same size */
.about-left-column,
.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 300px;
    max-width: 300px;
}

.about-subsection-header {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 700;
    color: var(--color-accent);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-stacked-lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-stacked-lines > div {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin: 0;
}

.about-center-column {
    display: flex;
    justify-content: center;
    align-items: start;
    width: 100%;
}


.about-portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2; /* makes it feel wider + more cinematic */
    object-fit: cover;
}

/* Bottom Section: Full-Width Centered */
.about-bottom {
    text-align: center;
    margin-top: 2rem;
    width: 100%;
}

.about-closing-header {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-accent);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.about-closing {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translate3d(0, -10px, 20px) rotateX(-2deg) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.3);
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.skill-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   Events Section - Seamless with 3D Cards
   ======================================== */
.events-section {
    background: transparent;
    position: relative;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.event-card {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    will-change: transform;
    min-height: 400px;
}

.event-card-content {
    display: block;
}

.event-gallery-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.event-gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.event-gallery-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-accent);
    transition: all var(--transition-base);
    z-index: 10;
}

.event-gallery-close svg {
    width: 16px;
    height: 16px;
}

.event-gallery-close:hover {
    background: rgba(220, 20, 60, 0.9);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.event-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-accent);
    transition: all var(--transition-base);
    z-index: 10;
}

.event-gallery-nav svg {
    width: 16px;
    height: 16px;
}

.event-gallery-nav:hover {
    background: rgba(220, 20, 60, 0.9);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.event-gallery-prev {
    left: 1rem;
}

.event-gallery-next {
    right: 1rem;
}

.event-gallery-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.event-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.event-card:hover::after {
    width: 300px;
    height: 300px;
}

.event-card:hover {
    transform: translate3d(0, -15px, 30px) rotateY(-2deg) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-color: var(--color-accent);
    box-shadow: 0 25px 70px rgba(220, 20, 60, 0.4);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.event-date {
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.event-venue {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.event-attendance {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-role {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.event-recap {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-view-btn {
    width: 100%;
}

/* ========================================
   Flyers Section
   ======================================== */
.flyers-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.flyers-carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.flyers-carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.flyer-carousel-item {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    scroll-snap-align: start;
    overflow: hidden;
}

.flyer-carousel-item:hover {
    transform: scale3d(1.05, 1.05, 1) translateZ(20px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.4);
}

.flyer-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.flyer-carousel-item:hover img {
    transform: scale(1.1);
}

.flyer-carousel-item:hover .flyer-overlay {
    opacity: 1;
}

.flyer-title {
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-accent);
    transition: all var(--transition-base);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(220, 20, 60, 0.9);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

@media (max-width: 768px) {
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .flyer-carousel-item {
        width: 250px;
    }
}


/* ========================================
   Experience Section - Seamless
   ======================================== */
.experience-section {
    background: transparent;
    position: relative;
}

.experience-content {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    margin-bottom: 3rem;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-role {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.experience-duration {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-list {
    list-style: none;
    padding-left: 0;
}

.experience-list li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* ========================================
   Leadership Section
   ======================================== */
.leadership-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.leadership-item {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.leadership-item:hover {
    transform: translate3d(0, -5px, 15px) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
}

.leadership-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.leadership-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   Tech Stack Section - Seamless with 3D
   ======================================== */
.stack-section {
    background: transparent;
    position: relative;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.stack-item {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    transform-style: preserve-3d;
    position: relative;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.stack-item:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translate3d(0, -8px, 20px) rotateX(-5deg) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.stack-footers {
    margin-top: 2rem;
    text-align: center;
}

.stack-footer-note {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-style: italic;
    opacity: 0.8;
}

.stack-footer {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ========================================
   Contact/Booking Section
   ======================================== */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.booking-form {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.booking-form:hover {
    border-color: rgba(220, 20, 60, 0.3);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
}

.contact-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: nowrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all var(--transition-base);
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.contact-icon {
    display: inline-block;
    flex-shrink: 0;
}

.email-icon,
.phone-icon {
    width: 20px;
    height: 20px;
}

.phone-icon {
    fill: var(--color-text-primary);
}

.contact-link-instagram {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.contact-link-instagram .instagram-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ========================================
   Gallery Modal
   ======================================== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 2001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-image-container {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 1rem;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
    z-index: 2002;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-accent);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 2002;
    border: none;
    font-family: var(--font-primary);
}

.modal-nav:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-primary);
}

.modal-nav-prev {
    left: -80px;
}

.modal-nav-next {
    right: -80px;
}

.modal-info {
    text-align: center;
    color: var(--color-text-primary);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.modal-recap {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    max-width: 600px;
}

.modal-counter {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-accent);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    z-index: 3000;
    display: none;
    animation: slideInUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.3);
}

.toast.active {
    display: block;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-message {
    color: var(--color-text-primary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
}

.toast-close:hover {
    color: var(--color-accent);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Medium screens - wrap contact links */
@media (max-width: 900px) {
    .contact-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    :root {
        --spacing-section: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats span {
        border-left: none;
        border-right: none;
        border-bottom: 2px solid var(--color-accent);
        border-top: none;
        padding: 0.75rem;
    }

    .hero-stats span:last-child {
        border-bottom: none;
    }

    .about-content {
        gap: 3rem;
    }

    .about-middle-grid {
        display: contents;
    }

    .about-top {
        order: 1;
    }

    .about-center-column {
        order: 2;
    }

    .about-bottom {
        order: 3;
        margin-top: 0;
    }

    .about-left-column {
        order: 4;
    }

    .about-right-column {
        order: 5;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }


    .leadership-content {
        grid-template-columns: 1fr;
    }

    .stack-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .modal-nav-prev {
        left: 10px;
    }

    .modal-nav-next {
        right: 10px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-section: 40px;
        --spacing-container: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .contact-links {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .skill-card,
    .event-card,
    .leadership-item {
        padding: 1.5rem;
    }
}

