/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #c9a961;
    --text-color: #e0e0e0;
    --text-light: #a0a0a0;
    --bg-light: #0f0f0f;
    --bg-dark: #050505;
    --card-bg: #151515;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    max-width: 100%;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-logo a:hover {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23c9a961" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.9s;
}

.hero-scroll a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2rem;
}

.about-text em {
    font-style: italic;
    color: var(--accent-color);
}

.about-image {
    position: relative;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid rgba(201, 169, 97, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ============================================
   FILMS SECTION
   ============================================ */
.films-section {
    background: var(--bg-light);
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.film-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.film-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.film-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.film-card:hover::before {
    transform: scaleY(1);
}

.film-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.film-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.film-location {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.film-description {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.film-awards {
    background: rgba(201, 169, 97, 0.1);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 0.95rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.film-awards i {
    margin-right: 0.5rem;
}

.film-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(201, 169, 97, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    background: var(--bg-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--white);
    z-index: 2;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.video-indicator i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 5px;
}

.portfolio-item:hover .video-indicator {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-item:hover .video-indicator i {
    color: var(--white);
}

/* ============================================
   STATEMENT SECTION
   ============================================ */
.statement-section {
    background: var(--bg-light);
}

.statement-content {
    max-width: 900px;
    margin: 0 auto;
}

.statement-quote {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-color);
    position: relative;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.statement-quote p {
    margin-bottom: 2rem;
}

.statement-quote p:last-child {
    margin-bottom: 0;
}

.statement-quote em {
    font-style: italic;
    color: var(--accent-color);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--bg-dark);
}

.contact-content {
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.2);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    border: 1px solid var(--accent-color);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* ============================================
   MEDIA VIEWER (FULLSCREEN)
   ============================================ */
.media-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-viewer.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.viewer-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10002;
}

.viewer-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10002;
}

.viewer-nav:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.viewer-prev {
    left: 2rem;
}

.viewer-next {
    right: 2rem;
}

.viewer-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 8rem 2rem;
    gap: 3rem;
    overflow: hidden;
}

.viewer-media {
    flex: 1;
    max-width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.viewer-media video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.viewer-info {
    width: 350px;
    color: var(--white);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    max-height: 80vh;
    overflow-y: auto;
}

.viewer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.viewer-category {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.viewer-description {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.viewer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.95rem;
}

.viewer-meta-item {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.viewer-meta-label {
    color: var(--accent-color);
    font-weight: 500;
}

.viewer-meta-value {
    color: rgba(255, 255, 255, 0.8);
}

.viewer-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.5);
}

.viewer-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    border: 2px solid transparent;
}

.viewer-thumbnail:hover {
    opacity: 0.8;
}

.viewer-thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.viewer-thumbnail img,
.viewer-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom scrollbar for viewer info */
.viewer-info::-webkit-scrollbar {
    width: 6px;
}

.viewer-info::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.viewer-info::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .viewer-content {
        padding: 6rem 4rem 2rem;
    }
    
    .viewer-info {
        width: 300px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding-top: 5rem;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }

    .films-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .viewer-content {
        flex-direction: column;
        padding: 6rem 2rem 2rem;
    }

    .viewer-media {
        max-width: 100%;
    }

    .viewer-info {
        width: 100%;
        max-height: 300px;
    }

    .viewer-nav {
        top: auto;
        bottom: 10rem;
    }

    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .viewer-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .viewer-nav {
        width: 45px;
        height: 45px;
        bottom: 8rem;
    }

    .viewer-prev {
        left: 1rem;
    }

    .viewer-next {
        right: 1rem;
    }

    .contact-social {
        gap: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}
