/* ======================================================
   Naveen Clicks — Design System
   Cinematic wedding/event photography portfolio
   ====================================================== */

:root {
    --ink: #0e0d0c;
    --ink-soft: #171513;
    --panel: #1c1a17;
    --cream: #f6f1e7;
    --cream-dim: #cfc7b8;
    --gold: #c9a35b;
    --gold-bright: #e6c37f;
    --line: rgba(246, 241, 231, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --serif: "Playfair Display", "Georgia", serif;
    --sans: "Poppins", "Segoe UI", Arial, sans-serif;
    --radius: 6px;
    --transition: 0.45s cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 0.5em;
    color: var(--cream);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

p { color: var(--cream-dim); }

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

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.center { text-align: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.95em 2.1em;
    border: 1px solid var(--gold);
    color: var(--cream);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
    background: transparent;
    font-family: var(--sans);
}
.btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
    transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
    background: rgba(14, 13, 12, 0.92);
    backdrop-filter: blur(10px);
    padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
    box-shadow: 0 1px 0 var(--line);
}
.brand {
    font-family: var(--serif);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: var(--cream);
}
.brand span { color: var(--gold); }

.nav-links { display: flex; gap: 2.4rem; align-items: center; }
.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cream-dim);
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links a.btn { color: var(--cream); }
.nav-links a.btn:hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
    .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
        background: var(--ink-soft); flex-direction: column; justify-content: center;
        gap: 2.2rem; transform: translateX(100%); transition: transform var(--transition);
        box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle { display: block; z-index: 600; }
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,13,12,0.35) 0%, rgba(14,13,12,0.35) 40%, rgba(14,13,12,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem); width: 100%; }
.hero-content h1 { max-width: 900px; }
.hero-content p { max-width: 560px; font-size: 1.05rem; margin: 1.2rem 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-cue {
    position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; color: var(--cream-dim); font-size: 0.7rem; letter-spacing: 0.3em;
    text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue::after {
    content: ""; width: 1px; height: 40px; background: var(--gold);
    animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── Category tiles ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.cat-tile {
    position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius);
    background: var(--panel);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,12,0) 40%, rgba(14,13,12,0.88) 100%); }
.cat-tile-label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.6rem;
}
.cat-tile-label h3 { margin-bottom: 0.2rem; }
.cat-tile-label span { font-size: 0.75rem; color: var(--gold-bright); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Album grid ── */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.album-card { display: block; }
.album-thumb { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.album-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22,.61,.36,1); }
.album-card:hover .album-thumb img { transform: scale(1.06); }
.album-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,12,0) 55%, rgba(14,13,12,0.85) 100%); }
.album-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; z-index: 2; }
.album-meta .cat-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); }
.album-meta h3 { margin: 0.3rem 0 0.15rem; font-size: 1.25rem; }
.album-meta .date { font-size: 0.78rem; color: var(--cream-dim); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--cream-dim); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ── Photo lightbox grid ── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
}
.photo-grid a { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 1/1; background: var(--panel); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.photo-grid a:hover img { transform: scale(1.05); opacity: 0.92; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.6rem; margin-top: 1rem; }
.video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Lightbox ── */
.lb-overlay {
    position: fixed; inset: 0; z-index: 1000; background: rgba(6,5,4,0.96);
    display: none; align-items: center; justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-overlay img { max-width: 90vw; max-height: 84vh; box-shadow: var(--shadow); }
.lb-close, .lb-prev, .lb-next {
    position: absolute; background: none; border: none; color: var(--cream);
    font-size: 1.8rem; cursor: pointer; padding: 1rem; opacity: 0.7; transition: opacity 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--cream-dim); }

/* ── Testimonials ── */
.testi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testi-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.testi-stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.8rem; font-size: 0.9rem; }
.testi-quote { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); font-style: italic; }
.testi-name { margin-top: 1.2rem; font-size: 0.85rem; color: var(--gold-bright); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
    width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--cream);
    padding: 0.85em 1em; font-family: var(--sans); font-size: 0.95rem; border-radius: 3px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }

.alert { padding: 1rem 1.3rem; border-radius: 4px; margin-bottom: 1.5rem; font-size: 0.92rem; }
.alert-success { background: rgba(201,163,91,0.14); border: 1px solid var(--gold); color: var(--gold-bright); }
.alert-error { background: rgba(200,60,60,0.12); border: 1px solid #c85050; color: #e08787; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 1.1rem; font-family: var(--sans); }
.footer-links a, .footer-contact p { display: block; color: var(--cream-dim); font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-links a:hover { color: var(--gold-bright); }
.social-row { display: flex; gap: 0.9rem; margin-top: 1rem; }
.social-row a {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 50%; font-size: 0.9rem; transition: all 0.25s;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-bright); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: var(--cream-dim); padding-top: 2rem; border-top: 1px solid var(--line); }

/* ── About / general content ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.category-filter { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.category-filter a {
    padding: 0.6em 1.3em; border: 1px solid var(--line); border-radius: 30px; font-size: 0.8rem;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim); transition: all 0.25s;
}
.category-filter a:hover, .category-filter a.active { border-color: var(--gold); color: var(--gold-bright); }

.page-hero {
    padding: clamp(8rem, 16vw, 11rem) 0 clamp(3rem, 6vw, 4rem);
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(201,163,91,0.08), transparent 60%);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

.sticky-cta { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 400; }
.sticky-cta a {
    display: flex; align-items: center; gap: 0.6rem; background: var(--gold); color: var(--ink);
    padding: 0.85em 1.3em; border-radius: 30px; font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow);
}
