@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Send+Flowers&display=swap');

:root {
    --primary-accent: #9d4edd;
    --secondary-accent: #fbbf24;
    --glass-bg: rgba(25, 20, 40, 0.65);
    --glass-border: rgba(157, 78, 221, 0.25);
    --glass-highlight: rgba(251, 191, 36, 0.12);
    --dark-bg: #0f0a1a;
    --darker-bg: #0a0712;
    --text-primary: #ffffff;
    --text-secondary: #e2e2e2;
    --text-muted: #b8b8b8;
    --shadow-glass: 0 10px 35px rgba(0, 0, 0, 0.35);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, "Quicksand", BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0712 0%, #1a142a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Effect Base */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.glass-effect-content {
    position: relative;
    z-index: 1;
}

/* Header Styles - Glass Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(15, 10, 26, 0.5);
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 24px 24px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}



.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    font-family: -apple-system, "Quicksand", BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    transition: var(--transition);
    border-radius: 1px;
}

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

/* Hero Section - Enhanced Glass */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 6, 17, 0.5), rgba(15, 11, 24, 0.7)), url('../images/lander_bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: visible;
}

/* Mobile Header & Navigation */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 10, 26, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
        z-index: 1001;
    }

    .nav-links a {
        padding: 0.8rem 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    }

    header {
        padding: 0.8rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 993px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        background-size: cover;
        background-position: center;
        padding: 3rem 1rem 4rem;
        min-height: 85vh;
        height: auto;
    }

    .hero h1 {
        font-size: 4em;
        margin-top: 1.5rem;
        margin-bottom: 2rem;

        font-weight: 800;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        background: rgba(30, 25, 45, 0.7);
        border: 1px solid rgba(138, 43, 226, 0.3);
        color: var(--text-primary);
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        font-size: 1.2rem;
        margin-left: auto;
    }

    .mobile-menu-btn:hover {
        background: rgba(138, 43, 226, 0.3);
        border-color: rgba(245, 158, 11, 0.4);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8.4rem);
    margin-bottom: clamp(1.5rem, 6vh, 4rem);
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite alternate;
    margin-top: 2rem;
    font-family: "Send Flowers", cursive;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-accent), #a04cff);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary-accent), #ffa726);
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 2px;
    background-size: 200% 100%;
    animation: gradientPulse 3s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.section-header h2 {
    font-size: 5rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite alternate;
    font-family: "Send Flowers", cursive;
}

.section-header p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About Section - Simple & Robust with Blur */
#about {
    background: linear-gradient(135deg, #0f0a1a 0%, #151025 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/about.jpg') center/cover no-repeat;
    opacity: 0.15;
    background-size: cover;
}

.about-content-simple {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-card-simple {
    background: rgba(26, 20, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
}

.about-card-image-simple {
    height: 300px;
    overflow: hidden;
    margin-bottom: -30px;
    position: relative;
    z-index: 1;
    border-radius: 24px 24px 0 0
}

.about-card-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 24px 24px 0 0
}

.about-card-simple:hover .about-card-image-simple img {
    transform: scale(1.05);
}

.about-card-content-simple {
    padding: 2rem;
    position: relative;
    z-index: 2;
    border-radius: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(30, 25, 45, 0.7);
}

.about-card-title-simple {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 10s ease infinite alternate;
}

.about-card-text-simple {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.about-card-text:last-child {
    margin-bottom: 0;
}

/* === TEAM SECTION - CAROUSEL === */
#team {
    background: linear-gradient(135deg, #0f0a1a 0%, #151025 100%);
    position: relative;
    overflow: hidden;
}

#team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    z-index: 0;
}

/* Team Carousel Container */
.team-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    touch-action: pan-y; /* Allow only vertical scrolling on container */
}

/* Center single slides */
.team-carousel-track.single-slide {
    justify-content: center;
}

/* Team Carousel Track */
.team-carousel-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2.5rem;
    padding: 1rem 0;
    cursor: grab;
    touch-action: pan-y; /* Allow only vertical scrolling on track */
    user-select: none; /* Prevent text selection during swipe */
    -webkit-user-select: none;
}

.team-carousel-track:active {
    cursor: grabbing;
}

/* Improved touch feedback for carousel slides */
.team-carousel-slide {
    transition: transform 0.2s ease;
}

.team-carousel-slide:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Team Carousel Slide */
.team-carousel-slide {
    min-width: calc(33.333% - 2.5rem);
    flex: 0 0 calc(33.333% - 2.5rem);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: auto; /* Allow height to adjust based on content */
    min-height: 450px; /* Minimum height for all slides */
}

/* Ensure all cards in a row have the same height */
.team-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2.5rem;
    padding: 1rem 0;
    cursor: grab;
    align-items: stretch; /* Ensure all cards stretch to same height */
}

/* Team Card - Fixed Corners */
.team-card {
    border-radius: 24px;
    overflow: visible;
    transition: var(--transition);
    text-align: center;
    height: 100%; /* Take full height of parent slide */
    display: flex;
    flex-direction: column;
    background: rgba(30, 25, 45, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 450px; /* Ensure minimum height matches slide */
    flex-shrink: 0; /* Prevent card from shrinking */
    z-index: 1; /* Base z-index for the card */
}

/* Ensure team card content expands to fit all content */
.team-card .team-content-container {
    flex-grow: 1;
    overflow: visible; /* Ensure all content is visible */
}

/* Team content container - allow natural height without constraints */
.team-content-container {
    padding: 1.8rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(30, 25, 45, 0.7);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    z-index: 3; /* Higher z-index to ensure it's above the image */
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 120px; /* Minimum height for content area */
    overflow: visible; /* Ensure all content is visible */
    margin-top: -25px; /* Move content container up by 10px to overlap */
}

/* Only add scroll for very tall content */
.team-content-inner {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 158, 11, 0.3);
}

.team-image-container {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(30, 25, 45, 0.9), rgba(138, 43, 226, 0.15));
    font-size: 5rem;
    color: var(--primary-accent);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    margin-bottom: -10px; /* Negative margin to create 10px overlap */
    border-radius: 24px 24px 0 0;
    flex-shrink: 0; /* Prevent image container from shrinking */
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 24px 24px 0 0
}

.team-card:hover .team-image-container {
    background: linear-gradient(45deg, rgba(30, 25, 45, 0.8), rgba(245, 158, 11, 0.2));
}

.team-card:hover .team-image-container img {
    transform: scale(1.12);
}

.team-content-container {
    padding: 1.8rem;
    flex-grow: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(30, 25, 45, 0.7);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    z-index: 3; /* Higher z-index to ensure it's above the image */
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    margin-top: -25px; /* Move content container up by 10px to overlap */
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.team-role {
    color: var(--secondary-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 10s ease infinite alternate;
}

.team-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.1);
}

.social-links a:hover {
    color: var(--secondary-accent);
    transform: translateY(-3px);
    background: rgba(245, 158, 11, 0.15);
}

/* Carousel Navigation */
.team-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.team-carousel-btn {
    background: rgba(30, 25, 45, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    touch-action: manipulation; /* Better touch handling for buttons */
}

.team-carousel-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
    transform: scale(1.1);
}

.team-carousel-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.team-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Larger touch targets for mobile */
@media (max-width: 768px) {
    .team-carousel-btn {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

/* Carousel Indicators */
.team-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.team-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.team-carousel-indicator.active {
    background: var(--secondary-accent);
    transform: scale(1.2);
}

/* Team Group Title */
.team-group-title {
    text-align: center;
    font-size: 3rem;
    margin: 2.6rem 0 1.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite alternate;
    font-family: "Send Flowers", cursive;
}

/* Responsive Carousel */
@media (max-width: 992px) {
    .team-carousel-slide {
        min-width: calc(50% - 2.5rem);
        flex: 0 0 calc(50% - 2.5rem);
    }
}

@media (max-width: 768px) {
    .team-carousel-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

/* Team Card – identisch für alle */
.team-card {
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    position: relative;
    min-height: 380px;
    height: auto;
    display: flex;
    flex-direction: column;
    z-index: 1; /* Base z-index for the card */
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    z-index: 0;
}



.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.team-role {
    color: var(--secondary-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 10s ease infinite alternate;
}

.team-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.1);
}

.social-links a:hover {
    color: var(--secondary-accent);
    transform: translateY(-3px);
    background: rgba(245, 158, 11, 0.15);
}

/* Productions Section */
.productions {
    background: linear-gradient(135deg, #0f0a1a 0%, #1a142a 100%);
    position: relative;
    overflow: hidden;
}

.productions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
    z-index: 0;
}

.productions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.production-card {
    border-radius: 24px;
    overflow: visible;
    transition: var(--transition);
    position: relative;
    min-height: 480px;
    height: 100%; /* Take full height of parent */
    display: flex;
    flex-direction: column;
    background: rgba(30, 25, 45, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.production-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    border-color: rgba(245, 158, 11, 0.3);
}

.production-image {
    height: 250px;
    max-height: 250px;
    min-height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(30, 25, 45, 0.9), rgba(138, 43, 226, 0.15));
    font-size: 5rem;
    color: var(--primary-accent);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    margin-bottom: -30px;
    border-radius: 24px 24px 0 0
}

.production-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 24px 24px 0 0;
}

.production-card:hover .production-image img {
    transform: scale(1.1);
}

.production-content {
    padding: 1.8rem;
    flex-grow: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(30, 25, 45, 0.7);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    z-index: 2;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.production-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite alternate;
}

.production-year {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0a0712 0%, #151025 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(138, 43, 226, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
    align-items: stretch; /* Ensure all items stretch to same height */
}

.contact-content > * {
    display: flex;
    flex-direction: column;
    height: 100%; /* Take full height of parent */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: stretch; /* Ensure all contact items stretch to same height */
    gap: 1.2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(30, 25, 45, 0.6);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: var(--transition);
    height: 100%; /* Take full height of parent */
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(30, 25, 45, 0.75);
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.contact-icon {
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.contact-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-form {
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(138, 43, 226, 0.25);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.05rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(25, 20, 40, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: var(--text-primary);
    font-size: 1.05rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a0712 0%, #120c20 100%);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    background-size: 200% 100%;
    animation: gradientPulse 5s ease-in-out infinite alternate;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.social-icons {
    display: flex;
    gap: 1.8rem;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-accent);
    transform: translateY(-4px) scale(1.1);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.copyright {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 6rem;

        font-weight: 800;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .about-content {
        flex-direction: column;
    }

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

    .section-header h2 {
        font-size: 2.3rem;
    }

    section {
        padding: 4rem 0;
    }

    .team-image {
        height: 220px;
    }

    .team-carousel-slide {
        height: 450px; /* Fixed height for mobile too */
    }

    .team-card {
        height: 100%; /* Take full height of parent slide */
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {

    /* Hero Section */
    .hero h1 {
        font-size: 5rem;
        margin-top: 1rem;

        font-weight: 800;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .btn {
        display: block;
        width: 80%;
        margin: 0 auto 1rem;
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .btn-secondary {
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
    }

    /* About Section */
    .about-card {
        min-height: 400px;
    }

    .about-card-image {
        height: 250px;
    }

    .about-card-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Team Section */
    .team-carousel-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .team-image {
        height: 220px;
    }

    .team-carousel-slide {
        height: 450px; /* Fixed height for mobile too */
    }

    .team-card {
        height: 100%; /* Take full height of parent slide */
    }

    /* Productions */
    .productions-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem;
    }

    /* Footer */
    .social-icons {
        gap: 1rem;
    }

    .social-icons a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 4.5em;

        font-weight: 800;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        width: 90%;
        padding: 0.7rem 1.5rem;
    }

    .team-image {
        height: 180px;
    }

    .team-card {
        min-height: 420px;
        height: auto;
    }

    .about-card {
        min-height: 380px;
    }

    .about-card-image {
        height: 220px;
    }

    .section-header h2 {
        font-size: 4.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}