/* ── MARK DUNN SITE — SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --cream: #f5f0e8;
    --warm-gray: #e8e2d9;
    --charcoal: #2c2c2c;
    --slate: #5a5a5a;
    --gold: #b8935a;
    --gold-light: #d4aa78;
    --gold-pale: #f0e0c0;
    --text: #333;
    --text-light: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--charcoal);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s;
}

/* ── PAGE HEADER ── */
.page-header {
    background: var(--charcoal);
    padding: 3.5rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184,147,90,0.1) 0%, transparent 60%);
}

.page-header-inner { position: relative; z-index: 1; }

.page-header-label {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.page-header p {
    color: #aaa;
    font-size: 1rem;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── CONTENT ── */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--charcoal);
    margin: 2rem 0 0.75rem;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.content-section p strong { color: var(--text); font-weight: 700; }

/* ── GOLD DIVIDER ── */
.gold-rule {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 3rem 0;
}

/* ── PHOTO GRID ── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin: 1.5rem 0;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.photo-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── FOOTER ── */
footer {
    background: #1a1a1a;
    color: #666;
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    margin-top: 4rem;
}

footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .footer-sub { margin-top: 0.5rem; font-size: 0.72rem; color: #444; }

/* ── BUTTONS ── */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 1.8rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    padding: 0.6rem 1.6rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.lightbox-overlay.open { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 3px;
}

.lightbox-caption {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1.2rem;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--charcoal);
        padding: 1.5rem 2rem;
        border-top: 1px solid #444;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
