/* =========================================
   SDM Studio - Ultra Premium "Supiri" Theme
   Inspired by High-End Studio & Portfolio Designs
   ========================================= */

:root {
    /* Colors - Deep Black with Sunset Orange/Gold Accents */
    --bg-dark: #070709;
    --bg-card: #111116;
    --primary: #FF5E00;
    /* Sunset Orange */
    --primary-hover: #E05300;
    --secondary: #FF9B00;
    /* Golden Yellow */
    --text-light: #FFFFFF;
    --text-muted: #8A8A93;
    --surface-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 140px 0;
}

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

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.w-100 {
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--text-light);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--surface-border);
    border-color: var(--text-light);
    transform: translateY(-4px);
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    border-bottom: 1px solid var(--surface-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2.5vw, 3rem);
    background: var(--bg-card);
    padding: 12px clamp(20px, 3vw, 40px);
    border-radius: 50px;
    border: 1px solid var(--surface-border);
}

.nav-links a {
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scale(1);
}

.header-cta {
    display: block;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* =========================================
   Hero Section
   ========================================= */
/* Hero is flex-column: hero-main grows to fill space, trust-bar sits below.
   This prevents trust-bar from ever overlapping content on zoom. */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    /* overflow-x only — allow vertical growth on zoom */
    overflow-x: clip;
}

/* Intense Sunset Glowing Background */
.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.3) 0%, rgba(200, 30, 0, 0.1) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/Studio.jpeg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
    filter: grayscale(100%) contrast(1.2);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, transparent 100%);
}

/* hero-main stretches to fill remaining space above trust-bar */
.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 40px;
    /* top clears fixed navbar */
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: min(1000px, 100%);
    width: 100%;
}

.hero .subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero .title {
    /* clamp() ensures smooth scaling at ANY zoom level */
    font-size: clamp(2.2rem, 8vw, 6.5rem);
    margin-bottom: 30px;
    line-height: 1.05;
    letter-spacing: clamp(-1px, -0.3vw, -3px);
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero .title span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

.hero .description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero .btn-group {
    display: flex;
    flex-wrap: wrap;
    /* wraps on narrow/zoomed viewports */
    justify-content: center;
    gap: 1rem;
}

/* Trust-bar is now part of the flex flow, NOT absolutely positioned.
   It will never overlap the Discover More button on zoom. */
.trust-bar {
    position: relative;
    width: 100%;
    padding: 28px 0;
    border-top: 1px solid var(--surface-border);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    z-index: 3;
    flex-shrink: 0;
}

.trust-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   About Section
   ========================================= */
.about {
    background: var(--bg-dark);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.img-backdrop {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--surface-border);
    border-radius: 300px 300px 0 0;
    z-index: 0;
}

.img-frame {
    position: relative;
    border-radius: 20vw 20vw 0 0;
    /* Scaling radius */
    overflow: hidden;
    z-index: 1;
    aspect-ratio: 4 / 5;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--surface-border);
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    /* Ensures face is always visible */
    filter: grayscale(80%) contrast(1.1);
    transition: var(--transition);
}

.img-frame:hover img,
.img-frame:active img,
.img-frame.touch-active img,
.about-image.reveal.active .img-frame img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-size: clamp(1.9rem, 3.5vw, 3.5rem);
    margin-bottom: 2rem;
}

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

/* =========================================
   Services Section (Bento Grid)
   ========================================= */
.services-section {
    background: var(--bg-card);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-dark);
    border: 1px solid var(--surface-border);
    padding: 60px 40px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex: 1 1 350px;
    max-width: calc(33.333% - 1rem);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================
   Marquee Animation (Premium Custom)
   ========================================= */
.strip-outer {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 60px 0;
    cursor: grab;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

.strip-outer.grabbing {
    cursor: grabbing;
}

/* Side fades for premium look */
.strip-outer::before,
.strip-outer::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.strip-outer::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}
.strip-outer::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.strip {
    display: flex;
    width: max-content;
    will-change: transform;
}

.card {
    position: relative;
    width: 340px;
    height: 190px;
    margin-right: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

/* Custom size for shorts to look more like mobile screens */
#shorts .card {
    width: 240px;
    height: 420px;
}

#long-videos-outer .card {
    width: 380px;
    height: 215px;
}

/* ── Studio Photography Grid (Masonry) ── */
.studio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 1rem;
    grid-auto-rows: 180px;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .studio-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop/tablet */
        grid-auto-rows: 250px;
        gap: 1.5rem;
    }
}

.studio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    cursor: pointer;
    transition: var(--transition);
}

/* Specific spans for the masonry look - now active on all devices */
.studio-item.large { grid-column: span 2; grid-row: span 2; }
.studio-item.tall { grid-row: span 2; }
.studio-item.wide { grid-column: span 2; }

.studio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.studio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.studio-overlay {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

.studio-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.studio-item:hover .studio-content {
    transform: translateY(0);
    opacity: 1;
}

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

.studio-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.studio-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ── Lightbox Popup ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
    color: #fff;
}

#lightbox-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.lightbox-category {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    #lightbox-title {
        font-size: 1.2rem;
    }
}

.card:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(0.9);
    transition: filter 0.5s ease, transform 1s ease;
}

.card:hover img {
    filter: brightness(1) saturate(1.1);
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-sub {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Gallery Modal Fixes */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal.active {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999999;
}

.close-modal:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

img.photo-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--surface-border);
}

/* Removed shorts-grid media queries as marquee handles responsiveness automatically */

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    border-right: 1px solid var(--surface-border);
}

.info-item {
    margin-bottom: 40px;
}

.info-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 1.4rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    border: 1px solid var(--surface-border);
    color: var(--text-light);
}

.social-icon:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1.2;
    padding: 80px 60px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: var(--transition);
    border-radius: 0;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 0.85rem;
    padding-right: 30px;
}

.form-group select:invalid {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background-color: #0a0a0c;
    color: #fff;
    padding: 12px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

/* Fix for white background on autofill (Chrome/Safari) */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover, 
.form-group input:-webkit-autofill:focus, 
.form-group input:-webkit-autofill:active,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover, 
.form-group textarea:-webkit-autofill:focus, 
.form-group textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
    -webkit-text-fill-color: var(--text-light) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Target standard autofill */
.form-group input:autofill,
.form-group textarea:autofill {
    background-color: var(--bg-card) !important;
    color: var(--text-light) !important;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--bg-dark);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--surface-border);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Animations
   ========================================= */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Music Equalizer Animation */
.equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
    vertical-align: middle;
    margin-left: 15px;
}

.equalizer .bar {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: bounce 0.5s infinite alternate;
    transform-origin: bottom;
}

.equalizer .bar:nth-child(1) {
    height: 15px;
    animation-delay: 0.0s;
}

.equalizer .bar:nth-child(2) {
    height: 30px;
    animation-delay: 0.2s;
}

.equalizer .bar:nth-child(3) {
    height: 20px;
    animation-delay: 0.1s;
}

.equalizer .bar:nth-child(4) {
    height: 25px;
    animation-delay: 0.3s;
}

@keyframes bounce {
    0% {
        transform: scaleY(0.3);
    }

    100% {
        transform: scaleY(1);
    }
}

/* =========================================
   Responsive Media Queries — All Devices
   ========================================= */

/* ── Large Desktop: 1400px+ ── */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero .title {
        font-size: 7.5rem;
    }

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

/* ── Desktop / Laptop: up to 1200px ── */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero .title {
        font-size: 5.8rem;
        letter-spacing: -2px;
    }

    .about-wrapper {
        gap: 4rem;
    }

    .about-text h2,
    .section-title {
        font-size: 3rem;
    }

    .services-grid {
        gap: 1.2rem;
    }

    .service-card {
        padding: 50px 30px;
    }
}

/* ── Tablet Landscape / Small Laptop: up to 1024px ── */
@media (max-width: 1024px) {
    .section-padding {
        padding: 100px 0;
    }

    .hero .title {
        font-size: 5rem;
        letter-spacing: -2px;
    }

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

    /* About */
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .img-backdrop {
        display: none;
    }

    .img-frame {
        max-width: 100%;
        border-radius: 120px 120px 0 0;
        aspect-ratio: 1 / 1;
        /* More square on tablet for better fit */
    }

    .img-frame img {
        height: 100%;
    }


    .service-card {
        max-width: calc(50% - 0.8rem);
    }

    /* Contact */
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--surface-border);
        padding: 60px 50px;
    }

    .contact-form {
        padding: 60px 50px;
    }

    .contact-info h2 {
        font-size: 2.5rem !important;
    }
}

/* ── Tablet Portrait: up to 768px ── */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    /* ─ Header ─ */
    header {
        padding: 20px 0;
    }

    .nav-links,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile nav open state */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        right: 0; /* Align to right */
        left: auto; /* Remove left: 0 */
        width: 70%; /* Half-ish width */
        height: 100vh;
        background: rgba(7, 7, 9, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        border-left: 1px solid var(--surface-border); /* Add border for separation */
        padding: 0;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8), 0 0 0 100vmax rgba(0, 0, 0, 0.5); /* Dim background */
        animation: slideInRight 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .nav-links.active a {
        font-size: 2rem;
        font-family: var(--font-heading);
        font-weight: 700;
        color: var(--text-light);
        padding: 20px 0;
        letter-spacing: -0.5px;
    }

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

    .nav-links.active a::after {
        display: none;
    }

    /* ─ Hero ─ */
    /* hero is flex-column; clamp() handles title size — only adjust padding */
    .hero-main {
        padding: 100px 0 30px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero .description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .trust-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* ─ Section Typography ─ */
    .section-padding {
        padding: 80px 0;
    }

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

    .section-desc {
        font-size: 1rem;
    }

    /* ─ About ─ */
    .img-frame {
        max-width: 100%;
        border-radius: 150px 150px 0 0;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* ─ Services ─ */
    .services-grid {
        gap: 1rem;
    }
    .service-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-icon {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    /* ─ Studio ─ */
    .studio-showcase {
        flex-direction: column;
    }

    /* height handled by clamp() in base styles */
    .studio-card-text {
        padding: 28px;
    }

    .studio-card-text h3 {
        font-size: 1.5rem;
    }

    .studio-card-text p {
        font-size: 1rem;
    }

    /* ─ Contact ─ */
    .contact-info {
        padding: 50px 30px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .contact-info h2 {
        font-size: 2.2rem !important;
    }

    .contact-form h3 {
        font-size: 1.5rem !important;
    }

    .info-item p {
        font-size: 1.1rem;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    footer {
        padding: 40px 0;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .copyright {
        font-size: 0.8rem;
        padding: 0 20px;
    }
}

/* ── Mobile: up to 480px ── */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    .logo {
        font-size: 1.5rem;
    }

    /* Hero — clamp() handles title, just tweak padding */
    .hero-main {
        padding: 90px 0 24px;
    }

    .hero .description {
        font-size: 0.95rem;
    }

    .equalizer {
        display: none;
    }

    .btn {
        padding: 13px 26px;
        font-size: 0.9rem;
    }

    /* About */
    .about-text p {
        font-size: 0.95rem;
    }

    /* Services */
    .service-card {
        padding: 35px 24px;
    }

    /* Contact */
    .contact-info {
        padding: 40px 24px;
    }

    .contact-form {
        padding: 30px 24px;
    }

    .contact-info h2 {
        font-size: 1.9rem !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }
}

/* ── Small Phone: up to 360px ── */
@media (max-width: 360px) {
    .hero .title {
        font-size: 2.1rem;
    }

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

    .about-text h2 {
        font-size: 1.8rem;
    }

    .contact-info h2 {
        font-size: 1.6rem !important;
    }

    .service-card {
        padding: 30px 20px;
    }

    .studio-card {
        height: 280px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    .trust-content span {
        font-size: 0.7rem;
    }
}
/* Full Modal Styles moved outside media query */
    /* ── Full Gallery Modal ── */
.full-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.full-modal.active {
    display: block;
    opacity: 1;
}

.full-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.full-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.full-modal-header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.modal-branding {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.modal-branding span {
    color: var(--primary);
}

.modal-close {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.full-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 4rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.full-modal-content::-webkit-scrollbar {
    width: 6px;
}

.full-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--surface-border);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-5px);
}

/* ── Services Dropdown Final Fix ── */
#contact-subject {
    width: 100% !important;
    padding: 20px 0 !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--text-light) !important;
    font-family: var(--font-body), sans-serif !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
    background-size: 1rem !important;
    border-radius: 0 !important;
}

#contact-subject:focus {
    outline: none !important;
    border-bottom-color: var(--primary) !important;
}

#contact-subject option {
    background-color: #111116 !important;
    color: white !important;
    padding: 15px !important;
}

#contact-subject:invalid {
    color: rgba(255, 255, 255, 0.5) !important;
}