/* ══════════════════════════════════════════════════
   Maggie & Adam — Shared Styles
   ══════════════════════════════════════════════════ */

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

/* ── Variables ───────────────────────────────────── */
:root {
    --bg:  #f2e1da;
    --ink: #ef5b43;
}

/* ── Base ────────────────────────────────────────── */
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Crimson Pro', serif;
    overflow-x: hidden;
}

/* ── Navbar ──────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    background: var(--bg);
    border-bottom: 1px solid var(--ink);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    text-decoration: none;
}

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

.nav-links a:not(.btn-rsvp) {
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 1rem;
    text-shadow: 0.4px 0 0 transparent, -0.4px 0 0 transparent;
    transition: text-shadow 0.4s ease;
}

.nav-links a:not(.btn-rsvp):hover {
    text-shadow: 0.4px 0 0 var(--ink), -0.4px 0 0 var(--ink);
}

.nav-links a:not(.btn-rsvp).active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-rsvp {
    border: 1px solid var(--ink);
    padding: 5px 25px;
    background-color: transparent;
    color: var(--ink) !important;
    text-decoration: none !important;
    transition: background-color 0.4s ease, color 0.4s ease !important;
}

.btn-rsvp:hover {
    background-color: var(--ink);
    color: var(--bg) !important;
}

/* ── Hamburger ───────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    left: 1.5rem;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--ink);
}

/* ── Mobile menu overlay ─────────────────────────── */
.mobile-menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1;
}

.mobile-menu a {
    color: var(--ink);
    text-decoration: none;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.mobile-menu .btn-rsvp {
    font-size: 2.5rem;
    letter-spacing: 2px;
    border: none;
    padding: 0;
    position: static;
    bottom: auto;
}

.close-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--ink);
    line-height: 1;
}

/* ── Page content ────────────────────────────────── */
.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10rem 3rem 6rem;
}


.page > p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 500px;
    line-height: 1.8;
}

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 991px) {
    .navbar {
        padding: 1.5rem;
        justify-content: center;
    }

    .hamburger { display: flex; }
    .nav-links  { display: none; }

    .mobile-menu .btn-rsvp:hover {
        background-color: transparent;
        color: var(--ink) !important;
    }

    .page {
        padding: 7rem 1.5rem 4rem;
    }
}

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-fade {
    animation: fadeIn 0.8s ease both;
}

/* ── Page transitions ────────────────────────────── */
body {
    animation: none;
}

.page-transition-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* ── Scroll-triggered animations ────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── Image hover zoom ────────────────────────────── */
..hero-photo {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-photo:hover {
    transform: scale(1.02);
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 3rem 4rem;
    opacity: 0.6;
}

.site-footer img {
    width: 100px;
    height: auto;
    color: var(--ink);
}

.site-footer p {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

/* ── Details page ────────────────────────────────── */
.details-hero {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.details-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.details-hero p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.8;
}

.timeline {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

.timeline-item span:first-child {
    font-weight: 700;
    white-space: nowrap;
}

.timeline-divider {
    flex: 1;
    border-bottom: 1px solid var(--ink);
    opacity: 0.3;
    margin-bottom: 4px;
}

.qa-section {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.qa-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qa-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.qa-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 100%;
    text-align: left;
}

.details-divider {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    border: none;
    border-top: 1px solid var(--ink);
    opacity: 0.2;
}

/* ── Recommendations page ────────────────────────── */
.neighborhood-section {
    width: 100%;
    max-width: 900px;
    margin-bottom: 4rem;
}

.neighborhood-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ink);
}

.places-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.place {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.place-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 0.25rem;
}

.place-info .place-type {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.place-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-align: left;
    max-width: 100%;
}

.place-map a {
    display: block;
    width: 100%;
}

.mapbox-map {
    width: 100%;
    height: 130px;
    border-radius: 2px;
    overflow: hidden;
}

.place-neighborhood-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: lowercase;
    opacity: 0.6;
}

@media (max-width: 991px) {
    .places-grid {
        grid-template-columns: 1fr;
    }

    .details-hero h2 {
        font-size: 2rem;
    }

    .site-footer {
        padding: 3rem 1.5rem;
    }
}
