/* deck.css - Styles for the premium Sales Deck */

:root {
    --deck-bg: #050505;
    --deck-accent: #c5a059; /* Muted Gold */
    --deck-text: #ffffff;
    --deck-text-dim: rgba(255, 255, 255, 0.6);
    --deck-glass: rgba(255, 255, 255, 0.03);
    --deck-glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.deck-active {
    overflow-x: hidden;
    background-color: var(--deck-bg);
    font-family: 'Outfit', sans-serif;
    color: var(--deck-text);
    visibility: visible !important;
}

/* Hide Main Nav in Deck */
body.deck-active .navbar {
    display: none !important;
}

/* Scroll Container */
.deck-container {
    width: 100%;
    overflow-x: hidden;
    background: var(--deck-bg);
    min-height: 100vh;
}

.deck-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem;
    overflow: hidden;
    background: var(--deck-bg);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Background Handling */
.slide-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Parallax space */
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) saturate(0.6);
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.1;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    mix-blend-mode: soft-light;
}

/* Overlays */
.overlay-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.overlay-grad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    z-index: 1;
}

.overlay-grad.inverse {
    background: linear-gradient(to left, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

/* Typography & Content */
.section-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.hero-logo-wrapper img {
    height: 90px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.hero-slide h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 200;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--deck-accent);
    margin: 2rem auto;
    opacity: 0.4;
}

.hero-slide p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--deck-text-dim);
    max-width: 550px;
    margin: 0 auto 4rem;
    font-weight: 300;
    letter-spacing: 0.08em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    color: var(--deck-text-dim);
    opacity: 0.6;
}

.mouse {
    width: 22px;
    height: 38px;
    border: 1.2px solid var(--deck-text-dim);
    border-radius: 20px;
    position: relative;
}

/* Talent Slide Layout */
.talent-flex {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.talent-flex.flipped {
    flex-direction: row-reverse;
}

.talent-photo {
    flex: 0 0 450px;
}

.photo-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(0.95);
}

.talent-info {
    flex: 1;
}

.talent-label {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--deck-accent);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 600;
}

.talent-info h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 200;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.role-tag {
    font-size: 1.1rem;
    color: var(--deck-text-dim);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bio-box {
    background: var(--deck-glass);
    padding: 2.5rem;
    border-left: 2px solid var(--deck-accent);
    margin-bottom: 3rem;
    backdrop-filter: blur(25px);
    border-radius: 0 8px 8px 0;
    border: 1px solid var(--deck-glass-border);
    border-left: 2px solid var(--deck-accent);
}

.bio-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--deck-text-dim);
}

.works-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.work-tag {
    background: rgba(255,255,255,0.06);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--deck-text-dim);
}

/* Services Detail */
.detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.service-slide-item {
    background: var(--deck-glass);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--deck-glass-border);
    backdrop-filter: blur(20px);
}

.service-number {
    font-size: 1.5rem;
    color: var(--deck-accent);
    margin-bottom: 1.5rem;
    display: block;
    font-family: serif;
    font-style: italic;
    opacity: 0.7;
}

/* Buttons */
.deck-btn-premium {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--deck-accent);
    color: #000;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.2em;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.deck-btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.3);
}

.closing-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 200;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .talent-flex, .talent-flex.flipped {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .talent-photo {
        flex: 0 0 350px;
        width: 100%;
        max-width: 450px;
    }
    .detailed-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .detailed-grid {
        grid-template-columns: 1fr;
    }
    .hero-slide h1 {
        font-size: 3rem;
    }
}

/* Showreel Section */
.video-container-premium {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-container-premium:hover {
    transform: scale(1.02);
    border-color: var(--deck-accent);
}

.showreel-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
}

.showreel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    transition: background 0.4s ease;
}

.video-container-premium:hover .showreel-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(197, 160, 89, 0.1) 100%);
}

.showreel-title {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.play-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(197, 160, 89, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.video-container-premium:hover .play-icon-large {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
