/* ═══════════════════════════════════════════════════════════
   Nōir Studio — Dark Elegant Edition
   ═══════════════════════════════════════════════════════════ */

/* ─── Variables ───────────────────────────────────────────── */
:root {
    --bg-deep: #0a0a0a;
    --bg-dark: #111111;
    --bg-card: #161616;
    --bg-surface: #1a1a1a;
    --bg-elevated: #222222;
    --text-primary: #f0ece6;
    --text-secondary: rgba(240, 236, 230, 0.6);
    --text-muted: rgba(240, 236, 230, 0.4);
    --gold: #D4B483;
    --gold-light: #e8cfa0;
    --gold-dark: #b8975e;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-strong: rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --focus-ring: rgba(212, 180, 131, 0.4);
}

/* ─── Font fallbacks (reduce CLS) ────────────────────────── */
@font-face {
    font-family: 'Playfair Display Fallback';
    src: local('Georgia');
    size-adjust: 112%;
    ascent-override: 95%;
    descent-override: 22%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

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

/* ─── Accessibility ───────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg-deep);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    z-index: 9999;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Navigation ──────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled .nav-content {
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--gold);
}

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

.nav-link {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

/* ─── Burger Menu ─────────────────────────────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
    position: absolute;
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.menu-toggle span:nth-child(1) { transform: translateY(-7px); }
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle span:nth-child(3) { transform: translateY(7px); }

.menu-toggle.active span { background: var(--gold); }
.menu-toggle.active span:nth-child(1) { transform: translateY(0) rotate(45deg); width: 26px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(0) rotate(-45deg); width: 26px; }

/* ═══════════════════════════════════════════════════════════
   HERO — Ken Burns Effect
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 47% 100%;
    animation: kenBurns 20s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1) translate(0, -2%);
    }
    100% {
        transform: scale(1.2) translate(-1%, -3%);
    }
}

@media (max-width: 1024px) {
    @keyframes kenBurns {
        0% {
            transform: scale(1.35) translate(0, -3%);
        }
        100% {
            transform: scale(1.5) translate(-2%, -5%);
        }
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.btn-hero:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 180, 131, 0.2);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Section Header ──────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 1px;
}

.section-divider {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY — Masonry Layout
   ═══════════════════════════════════════════════════════════ */
.gallery-section {
    padding: 8rem 0;
    background: var(--bg-deep);
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.8rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
}

/* Masonry Grid */
.gallery-grid {
    columns: 3;
    column-gap: 1.2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 1.2rem;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1), filter 0.5s ease;
    filter: brightness(0.85);
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.3) 40%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
}

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

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.05s;
}

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

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.1s;
}

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

/* ─── About Section ───────────────────────────────────────── */
.about-section {
    padding: 8rem 0;
    background: var(--bg-dark);
}

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

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    filter: brightness(0.9);
    transition: filter 0.5s ease;
}

.about-image:hover img {
    filter: brightness(1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: -2rem;
    bottom: -2rem;
    border: 1px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
    transition: var(--transition);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

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

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ─── Contact Section ─────────────────────────────────────── */
.contact-section {
    padding: 8rem 0;
    background: var(--bg-deep);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-image {
    position: relative;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

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

.contact-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.55);
    text-align: center;
    padding: 2rem;
}

.contact-image-overlay h2 {
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.contact-image-overlay p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.contact-image-overlay .section-divider {
    width: 60px;
    margin: 0 auto;
}

.contact-form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-group {
    margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    margin-top: 1rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 180, 131, 0.15);
}

.form-feedback {
    margin-top: 1.5rem;
    padding: 0;
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.5em;
    transition: var(--transition);
}

.form-feedback.success {
    color: #6fcf97;
    padding: 1rem;
    background: rgba(111, 207, 151, 0.08);
    border: 1px solid rgba(111, 207, 151, 0.15);
}

.form-feedback.error {
    color: #eb5757;
    padding: 1rem;
    background: rgba(235, 87, 87, 0.08);
    border: 1px solid rgba(235, 87, 87, 0.15);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section p {
    color: rgba(240, 236, 230, 0.75);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-heading {
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-section a {
    color: rgba(240, 236, 230, 0.9);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--gold);
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-brand .footer-logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-brand .footer-logo:hover .footer-logo-img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: rgba(240, 236, 230, 0.75);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    vertical-align: middle;
}

.footer-credit:hover {
    color: var(--gold-light);
}

.footer-credit-logo {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-credit:hover .footer-credit-logo {
    transform: scale(1.1);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(240, 236, 230, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-legal .separator {
    color: rgba(240, 236, 230, 0.4);
}

/* ─── Demo Banner ────────────────────────────────────────── */
.demo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-top: 1px solid rgba(212, 180, 131, 0.3);
    padding: 0.65rem 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.demo-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.demo-banner-badge {
    background: var(--gold);
    color: #0a0a0a;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.demo-banner p {
    color: rgba(240, 236, 230, 0.7);
    font-size: 0.8rem;
    margin: 0;
}

.demo-banner p a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.demo-banner p a:hover {
    color: var(--gold-light);
}

.demo-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold);
    color: #0a0a0a;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.demo-banner-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(212, 180, 131, 0.3);
}

.demo-banner-btn svg {
    flex-shrink: 0;
}

/* Offset footer so it's not hidden behind banner */
.footer {
    padding-bottom: 5rem;
}

@media (max-width: 600px) {
    .demo-banner-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ─── Legal Pages ────────────────────────────────────────── */
.legal-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content article {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-family: 'Playfair Display', 'Playfair Display Fallback', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.legal-content li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.legal-content a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--gold-light);
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-back {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 85%;
    max-height: 82vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.3rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 180, 131, 0.08);
}

.lightbox-caption {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.lightbox-caption p {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lightbox-counter {
    position: absolute;
    top: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    letter-spacing: 3px;
}

/* ─── Reveal Animation ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image::after {
        display: none;
    }

    .gallery-grid {
        columns: 2;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .about-stats {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Burger */
    .menu-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 1rem;
        z-index: 999;
        overflow-y: auto;
        clip-path: circle(0% at calc(100% - 44px) 36px);
        transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1);
        visibility: hidden;
    }

    .nav-menu.active {
        clip-path: circle(150% at calc(100% - 44px) 36px);
        visibility: visible;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.3s; }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        color: rgba(255, 255, 255, 0.8);
        display: block;
        text-align: center;
        letter-spacing: 3px;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--gold);
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    /* Gallery */
    .gallery-grid {
        columns: 1;
    }

    .gallery-section,
    .about-section,
    .contact-section {
        padding: 5rem 0;
    }

    /* Contact layout */
    .contact-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-image {
        height: 300px;
    }

    .contact-form {
        padding: 2.5rem 1.5rem;
    }

    /* Stats */
    .about-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Footer */
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal .separator {
        display: none;
    }

    /* Lightbox mobile */
    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .lightbox-prev { left: 0.75rem; }
    .lightbox-next { right: 0.75rem; }

    .lightbox img {
        max-width: 95%;
    }

    /* Hero scroll indicator */
    .hero-scroll {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .about-content h2,
    .section-header h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .filters {
        gap: 0.4rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

/* ─── Accessibility: Reduced Motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg img {
        animation: none;
        transform: scale(1.05);
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .lightbox,
    .nav-menu {
        transition: none;
    }

    .nav-menu li {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
