/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #cccccc;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 50%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 1px;
    border: 1px solid transparent;
}

.btn-primary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-primary:hover {
    background: #ffffff;
    color: #0a0a0a;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
}

.hero-slide.active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content { z-index: 2; }

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.65);
    border: none;
    font-size: 1.4rem;
    width: 44px;
    height: 64px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 3px;
}
.slide-arrow:hover { background: rgba(0,0,0,0.5); color: #fff; }
.slide-arrow.prev { left: 12px; }
.slide-arrow.next { right: 12px; }

.slide-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 9px;
}
.slide-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}
.slide-dots button.active { background: #fff; transform: scale(1.25); }

@media (max-width: 600px) {
    .slide-arrow { width: 36px; height: 52px; font-size: 1.1rem; }
}

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

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

/* Portfolio Section */
.portfolio {
    background: #0a0a0a;
}

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

.filter-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid #333;
    padding: 10px 20px;
    min-height: 44px; /* iOS touch target */
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 1px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

.portfolio-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.masonry-col {
    flex: 1;
    min-width: 0;
}

.portfolio-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background: #1a1a1a;
    display: block;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-info {
    text-align: center;
    color: #ffffff;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Video Section */
.videos {
    background: #111111;
}

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

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid #0a0a0a;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: #ffffff;
}

.video-info h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    background: #0a0a0a;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(20%);
}

/* Contact Section */
.contact {
    background: #111111;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-links {
    margin-top: 2rem;
}

.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background: #ffffff;
    color: #0a0a0a;
}

/* Footer */
footer {
    background: #000000;
    padding: 30px 0;
    text-align: center;
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 960px;
    aspect-ratio: 16/9;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    font-size: 2.8rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.video-modal-close:hover {
    opacity: 1;
}

.video-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    transform: translateY(-50%);
}

.video-modal-nav button {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    transition: background 0.3s ease;
}

.video-modal-nav button:hover {
    background: rgba(255,255,255,0.3);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: #ffffff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(255,255,255,0.2);
}

/* Loading States */
.loading-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #0a0a0a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        visibility: hidden;        /* off-canvas menu must never intercept taps */
        pointer-events: none;
    }

    .nav-menu.active {
        left: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu a {
        display: inline-block;
        padding: 12px 20px;        /* ≥44px touch target */
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .portfolio-grid {
        gap: 12px;
    }

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

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

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        columns: 1;
        gap: 15px;
    }

    section {
        padding: 60px 0;
    }
}
/* ── Studio Section ─────────────────────────────────────── */
.studio {
    padding: 100px 0;
    background: #0d0d0d;
}
.studio .section-title { margin-bottom: 16px; }
.studio-intro {
    text-align: center;
    color: #bbb;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}
.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-bottom: 48px;
}
.studio-item {
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 2;
    background: #161616;
}
.studio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.studio-item:hover img { transform: scale(1.04); }
.studio-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.studio-card {
    background: #161616;
    padding: 28px;
    border: 1px solid #222;
}
.studio-card h3 {
    margin: 0 0 14px;
    font-weight: 600;
    letter-spacing: .5px;
}
.studio-card ul {
    margin: 0;
    padding-inline-start: 18px;
    color: #ccc;
    line-height: 1.8;
    font-size: .95rem;
}
.studio-card .btn { margin-top: 18px; display: inline-block; }
.studio-fit { color: #999; font-size: .9rem; margin-top: 14px; }
