/* ==========================================================================
   The Crew Page Styles — TheWeddingAnanta (crew.html)
   ========================================================================== */

.page-hero {
    padding: 180px 0 100px;
    background: #0d0b09;
    text-align: center;
    border-bottom: 1px solid rgba(241, 236, 227, 0.08);
}

.page-hero h1 {
    font-size: clamp(52px, 6.5vw, 92px);
    line-height: 0.95;
    margin: 16px auto 24px;
}

.page-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: #b0a69a;
    font-size: 16px;
    line-height: 1.8;
}

/* Crew Intro Manifesto */
.crew-intro-section {
    padding: 100px 0 90px;
    background: #110f0d;
    border-bottom: 1px solid rgba(241, 236, 227, 0.06);
}

.crew-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.crew-intro-title {
    font-size: clamp(34px, 3.8vw, 54px);
    font-weight: 300;
    line-height: 1.15;
    color: #f7f3ec;
}

.crew-intro-desc p {
    font-size: 16px;
    line-height: 1.85;
    color: #b8ada0;
    margin-bottom: 20px;
}

.crew-intro-desc p:last-child {
    margin-bottom: 0;
}

/* Crew Members Grid */
.crew-grid-section {
    padding: 110px 0 130px;
    background: #0c0b09;
}

.crew-section-head {
    text-align: center;
    margin-bottom: 70px;
}

.crew-section-head h2 {
    font-size: clamp(38px, 4.4vw, 62px);
    font-weight: 300;
    color: #f7f3ed;
    margin-top: 12px;
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.crew-card {
    background: #13100d;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.crew-card:hover {
    transform: translateY(-6px);
}

.crew-card-photo {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    background: #1a1713;
}

.crew-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(0.9) brightness(0.9);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.crew-card:hover .crew-card-photo img {
    transform: scale(1.04);
    filter: saturate(1.05) brightness(1);
}

.crew-card-body {
    padding: 34px 30px;
}

.crew-role {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.crew-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 400;
    color: #f6f1eb;
    margin: 0 0 14px;
    line-height: 1.1;
}

.crew-bio {
    font-size: 14px;
    line-height: 1.75;
    color: #aba092;
    margin: 0;
}

/* Horizontal Auto-Scrolling Crew Showcase */
.crew-marquee-viewport {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    padding: 10px 0 30px;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.crew-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: crewMarqueeScroll 38s linear infinite;
    will-change: transform;
}

.crew-marquee-viewport:hover .crew-marquee-track {
    animation-play-state: paused;
}

@keyframes crewMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.crew-slide {
    position: relative;
    width: 240px;
    height: 360px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #14110e;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.crew-slide:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.85);
}

.crew-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) brightness(0.92);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.crew-slide:hover img {
    transform: scale(1.08);
    filter: saturate(1.05) brightness(1);
}

.crew-slide-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 38px 18px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 11, 9, 0.75) 55%, rgba(12, 11, 9, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
}

.crew-slide-role {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.crew-slide-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
    color: #f7f3ed;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .crew-slide {
        width: 200px;
        height: 300px;
    }
    .crew-slide-name {
        font-size: 19px;
    }
    .crew-marquee-viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* Values Section */
.crew-values-section {
    padding: 120px 0;
    background: #14110e;
    border-top: 1px solid rgba(241, 236, 227, 0.08);
}

.crew-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.crew-value-item {
    border-left: 1px solid rgba(200, 164, 107, 0.35);
    padding-left: 28px;
}

.crew-value-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.crew-value-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: 400;
    color: #f7f3ec;
    margin-bottom: 12px;
}

.crew-value-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #a79c90;
    margin: 0;
}

@media (max-width: 960px) {
    .crew-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crew-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .crew-values-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

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

    .crew-card-photo {
        height: 380px;
    }
}
