/* ============================================================
   Marvin Jackson Photography — shared styles
   Editorial dark: near-black canvas, gold accent, serif display.
   Loaded by index.html and portfolio.html so the two pages
   cannot drift apart.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg:        #0d0d0f;   /* page canvas */
    --bg-soft:   #16161a;   /* raised panels, service cards */
    --bg-light:  #f7f6f4;   /* the one light section (booking) */
    --text:      #f2f0ec;
    --muted:     #a39e96;
    --accent:    #c9a050;
    --line:      rgba(255,255,255,0.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ---------- eyebrow label above section titles ---------- */
.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}

/* ---------- hero ----------
   Scrim is a bottom-left gradient, not a flat wash, so the headline
   sits on darkness while the subject and the upper frame stay clean. */
.hero {
    position: relative;
    min-height: 92vh;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center 30%;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.55) 35%, rgba(8,8,10,0.10) 65%, rgba(8,8,10,0.45) 100%),
        linear-gradient(to right, rgba(8,8,10,0.75) 0%, rgba(8,8,10,0.15) 55%, rgba(8,8,10,0) 100%);
}

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

/* ---------- buttons ---------- */
.btn-primary,
.btn-ghost {
    display: inline-block;
    padding: 14px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    border-radius: 2px;
}

.btn-primary {
    background: var(--accent);
    color: #14120c;
}

.btn-primary:hover {
    background: #d8b264;
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---------- gallery ---------- */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--bg-soft);
    aspect-ratio: 4 / 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.4s ease;
}

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

/* thin gold frame on hover — reads as "curated" without adding chrome */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201,160,80,0);
    transition: border-color 0.35s ease;
    pointer-events: none;
}

.gallery-item:hover::after { border-color: rgba(201,160,80,0.75); }

/* wide tile for the occasional landscape frame */
.gallery-item.wide { aspect-ratio: 3 / 2; }

/* ---------- service cards ---------- */
.service-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 2.5rem 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: rgba(201,160,80,0.55);
    transform: translateY(-3px);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
}

/* ---------- the one light section (Cal.com needs it) ---------- */
.section-light {
    background: var(--bg-light);
    color: #1a1a1a;
}

.section-light .eyebrow { color: #9a7a34; }

/* ---------- nav ---------- */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: background 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
    background: rgba(13,13,15,0.92);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
}

.nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242,240,236,0.82);
    transition: color 0.2s ease;
}

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

/* ---------- misc ---------- */
.rule {
    width: 48px;
    height: 1px;
    background: var(--accent);
}

input, select, textarea {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--text);
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 2px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

@media (max-width: 640px) {
    .hero { min-height: 88vh; background-attachment: scroll; }
}
