/* Reset & Base */
:root {
    --bg-color: #f7f7f7;
    --text-color: #111111;
    --muted-color: #555555;
    --accent-color: #e50914; /* Cinematic Red */
    --surface-color: #ffffff;
    --surface-color-2: #f0f0f0;
    --border-color: #e5e5e5;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --font-heading: 'Playfair Display', serif; /* Elegant, cinematic */
    --font-body: 'Inter', sans-serif; /* Clean, modern */
    --transition: 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0a0a0a;
        --text-color: #f0f0f0;
        --muted-color: #c9c9c9;
        --surface-color: #1a1a1a;
        --surface-color-2: #141414;
        --border-color: #2b2b2b;
        --shadow-color: rgba(0, 0, 0, 0.35);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--muted-color);
    font-size: 1.1rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
    color: #ffffff;
}


.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo::before {
    content: "TK";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 0.7rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4)), url('images/topu khan 1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    color: #ffffff;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero p {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2rem;
    border: 1px solid var(--accent-color);
}


.btn:hover {
    background: transparent;
    color: var(--accent-color);
}

/* About Section */
.about {
    padding: 8rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--surface-color);
}

.about-img img {
    border-radius: 4px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.about-img img:hover {
    filter: grayscale(0%);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

/* Vision Section */
.vision-container {
    padding: 8rem 5%;
    background: var(--bg-color);
    text-align: center;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2::after {
    left: 50%;
    transform: translateX(-50%);
}

blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-color);
    margin: 3rem 0;
    line-height: 1.4;
    border-left: 5px solid var(--accent-color);
    padding-left: 2rem;
    text-align: left;
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.1) 0%, rgba(0,0,0,0) 100%);
    padding: 2rem;
}

/* Selected Works Section */
.works {
    padding: 8rem 5%;
    background: var(--surface-color-2);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: var(--surface-color);
}

.work-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.work-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(20px);
    transition: var(--transition);
}

.work-card:hover .work-info {
    transform: translateY(0);
}

.work-info h3 {
    margin-bottom: 0.5rem;
}

.work-info span {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filmography Section */
.filmography {
    padding: 8rem 5%;
    background: var(--surface-color-2);
}

.filmography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.filmography-block {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.filmography-block h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.filmography-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filmography-list li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--muted-color);
    font-size: 1rem;
}

.filmography-list li:last-child {
    border-bottom: none;
}

/* Gallery Section */
.gallery {
    padding: 8rem 5%;
    background: var(--surface-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-color-2);
    box-shadow: 0 10px 24px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact/Footer */
footer {
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.social-links {
    margin: 2rem 0;
}

.social-links a {
    margin: 0 1rem;
    font-size: 1.2rem;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        padding: 4rem 5%;
    }
    
    .hero {
        background-position: top center; /* Better focus on mobile */
    }

    h1 {
        font-size: 2.5rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem 1.2rem;
    }

    .nav-links a {
        margin-left: 0;
    }

    .logo {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
    }

    .logo::before {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .gallery-item img {
        aspect-ratio: 3 / 4;
        height: auto;
    }
}
