/* Reset and Base Styles */
:root {
    --color-primary: #bfa15f; /* Elegant gold accent */
    --color-primary-hover: #d4b872;
    --color-bg-dark: #0a0a0a;
    --color-bg-darker: #050505;
    --color-bg-card: #141414;
    --color-text-light: #ffffff;
    --color-text-muted: #a3a3a3;
    --color-border: #262626;
    
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
    padding: 1.5rem 0;
    background-color: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#main-nav.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 768px) {
    .nav-container {
        padding: 0 3rem;
    }
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 0.8;
}

.desktop-links {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 768px) {
    .desktop-links {
        display: flex;
    }
}

.desktop-links a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-links a:hover, .desktop-links a.active {
    color: var(--color-primary);
}

.btn-social-buzz {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.btn-social-buzz:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.pulse-container {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}
.pulse-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.pulse-dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background-color: currentColor;
}
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Mobile Menu Button */
#mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 24px;
    height: 18px;
    z-index: 60;
}
@media (min-width: 768px) {
    #mobile-menu-btn {
        display: none;
    }
}

.hamburger-line {
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 100%;
}
.hamburger-line.short {
    width: 70%;
}
#mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 100%;
}

/* Mobile Menu Overlay */
#mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8rem 2rem 2rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu.hidden {
    display: none;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.mobile-nav-link {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--color-text-light);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}
#mobile-menu.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}
.mobile-nav-link.btn-social-buzz.mobile {
    display: inline-flex;
    width: max-content;
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
}

.mobile-menu-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}
#mobile-menu.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-footer a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}
.mobile-menu-footer span {
    color: #666;
    font-size: 0.75rem;
    margin-top: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero-section {
        padding-bottom: 4rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* GSAP will fade this in */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 768px) {
    .hero-content {
        padding: 0 3rem;
    }
}

.hero-subtitle {
    overflow: hidden;
    margin-bottom: 1rem;
    opacity: 0; /* GSAP */
}
.hero-subtitle p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
@media (min-width: 768px) {
    .hero-subtitle p { font-size: 1.25rem; }
}
.hero-subtitle span {
    color: var(--color-primary);
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.02em;
    opacity: 0; /* GSAP */
}
@media (min-width: 768px) {
    .hero-title { font-size: 6rem; }
}
@media (min-width: 1024px) {
    .hero-title { font-size: 9rem; }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0; /* GSAP */
}
.btn-primary, .btn-outline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s ease;
}
@media (min-width: 768px) {
    .btn-primary, .btn-outline {
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }
}
.btn-primary svg, .btn-outline svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}
.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: rgba(191, 161, 95, 0.1);
}

/* Sections */
section {
    padding: 5rem 0;
}
@media (min-width: 768px) {
    section { padding: 8rem 0; }
}
.section-header, .section-header-alt {
    margin-bottom: 3rem;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.section-header h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    white-space: nowrap;
}
@media (min-width: 768px) {
    .section-header h2 { font-size: 1.5rem; }
}
.divider-line {
    height: 1px;
    background-color: rgba(191, 161, 95, 0.2);
    flex-grow: 1;
}
.section-header-alt {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}
.section-header-alt h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@media (min-width: 768px) {
    .section-header-alt h2 { font-size: 1.5rem; }
}
.view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 700;
    transition: color 0.3s;
}
.view-all:hover {
    color: var(--color-primary);
}
.view-all svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Biography Section */
.bio-section {
    background-color: var(--color-bg-darker);
}
.bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .bio-grid {
        grid-template-columns: 3fr 9fr;
        gap: 4rem;
    }
}
.bio-title h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    line-height: 1.3;
}
.bio-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.bio-text h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}
@media (min-width: 768px) {
    .bio-text h3 { font-size: 1.5rem; }
}
.bio-text p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
}
@media (min-width: 768px) {
    .bio-text p { font-size: 1.125rem; }
}

/* Showreel */
.showreel-section {
    background-color: var(--color-bg-dark);
}
.video-container {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-darker);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #555;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Filmography */
.filmography-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}
.filmography-section .section-header-alt h2 { color: var(--color-text-light); }
.filmography-section .section-header-alt {
    border-bottom: 1px solid #e5e5e5;
}
.film-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .film-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}
.film-card {
    cursor: pointer;
    group: hover;
}
.film-image-container {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 1.5rem;
}
.film-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.film-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.film-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666666;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.film-meta a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.film-meta a:hover {
    color: #000000;
}
.film-meta svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}
.film-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    margin-top: 0.5rem;
}
.film-director {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.film-character {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}
.film-character span {
    color: var(--color-primary);
}

/* Portraits */
.portraits-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    overflow: hidden;
}
.portraits-section .section-header-alt h2 { color: var(--color-text-light); }
.portraits-section .section-header-alt {
    border-bottom: 1px solid #e5e5e5;
}
.swiper-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.swiper-prev, .swiper-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.swiper-prev:hover, .swiper-next:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.swiper-prev svg, .swiper-next svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}
.portraits-swiper {
    overflow: visible !important;
}
.portrait-card {
    aspect-ratio: 480/580;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #f5f5f5;
}
.portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portrait-card:hover img {
    transform: scale(1.03);
}

/* Timeline */
.timeline-section {
    background-color: var(--color-bg-darker);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.timeline-header h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}
.timeline-years {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}
.year-node {
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.year-node:last-child {
    flex-grow: 0;
}
.year-node span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: color 0.3s;
}
.year-node.active span {
    color: var(--color-primary);
}
.line-segment {
    height: 2px;
    background-color: var(--color-border);
    flex-grow: 1;
    margin: 0 1rem;
    position: relative;
    overflow: hidden;
}
.ray-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-primary);
    transform-origin: left;
    transform: scaleX(0); /* Handled by JS */
    transition: transform 0.5s ease;
}
.year-node.active .ray-line {
    transform: scaleX(1);
}

.cards-stack-container {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    width: 100%;
}
.timeline-card {
    width: 350px;
    flex: 0 0 350px;
    background-color: rgba(5,5,5,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-left: -80px;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: none;
}
.timeline-card:first-child {
    margin-left: 0;
}
.timeline-card.active {
    background-color: #0a0a0a;
    border-color: #262626;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.scroll-hint {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
    margin-top: 4rem;
}
.card-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}
.timeline-card ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.timeline-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 300;
    color: #ddd;
    transition: color 0.3s;
}
.timeline-card li:hover {
    color: #fff;
}
.timeline-card li span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    flex-shrink: 0;
}
.scroll-hint {
    text-align: center;
    padding-bottom: 2rem;
}
.scroll-hint span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Contact Section */
.contact-section {
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    padding-bottom: 0;
}
.contact-container {
    padding-top: 4rem;
    padding-bottom: 6rem;
}
.quote-box {
    text-align: center;
    margin-bottom: 6rem;
}
.quote-text {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .quote-text { font-size: 3rem; }
}
.quote-text .highlight {
    color: var(--color-primary);
    font-style: italic;
    font-family: serif;
}
.quote-author {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.contact-info h3 {
    font-size: 2.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 300;
}
.contact-info .highlight {
    color: var(--color-primary);
    font-weight: 600;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.detail-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.detail-block span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.detail-block a {
    font-size: 1.25rem;
    transition: color 0.3s;
}
.detail-block a:hover {
    color: var(--color-primary);
}

.footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* GSAP Reveal Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}
