/* --- Modern Cinematic Portfolio Stylesheet --- */

:root {
    /* Refined Color Palette */
    --bg-deep: #0a0a0a;
    --surface: #141414;
    --accent: #d4af37;
    /* More refined Champagne Gold */
    --accent-glow: rgba(212, 175, 55, 0.3);
    --text-primary: #fcfcfc;
    --text-secondary: #888888;
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Animation Tokens */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Layout Utilities --- */
.section-padding {
    padding: 120px 8%;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: left;
    /* Modern asymmetry */
    margin-bottom: 80px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin-top: 20px;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

nav.scrolled {
    padding: 20px 8%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 10% 0 10%;
    background:
        linear-gradient(to right, rgba(10, 10, 10, 0.9) 20%, transparent 100%),
        url('images/herobg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.1;
    max-width: 900px;
    margin-bottom: 20px;
}

.hero .bio {
    font-size: 1rem;
    max-width: 650px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* --- Video Showreel Grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--surface);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-subtle);
}

.video-wrapper:hover {
    transform: scale(0.98);
    /* Modern "shrink to focus" effect */
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Stills Gallery (Masonry Style) --- */
.stills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 15px;
}

.still-item {
    position: relative;
    overflow: hidden;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.still-item:hover {
    filter: grayscale(0%);
    z-index: 2;
}

.still-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.still-item:hover img {
    transform: scale(1.1);
}

/* Spacing variations for interest */
.still-item:nth-child(3n) {
    grid-column: span 2;
}

.still-item:nth-child(5n) {
    grid-row: span 2;
}

/* --- Journal Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 30px;
    transition: var(--transition-fast);
}

.blog-card:hover {
    border-bottom-color: var(--accent);
}

.blog-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 2px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    /* Clean font for readability */
}

/* --- Contact Section --- */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: left;
    gap: 40px;
    margin-top: 60px;
}

.info-item {
    align-items: flex-start;
}

.info-item i {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* --- Animations --- */
.faded-out {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.faded-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .video-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .video-grid,
    .blog-grid,
    .stills-grid {
        grid-template-columns: 1fr;
    }
}