/*
Theme Name: Chris & Shay Love Story
Theme URI: https://chrisandshaylovestory.com/
Author: Forzivo
Author URI: https://forzivo.nl/
Description: A custom wedding theme for Chris & Shay — August 8, 2026. Elegant, romantic, in warm crème and brown tones.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chrisandshay
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
    --color-cream: #f1eee3;
    --color-cream-soft: #faf8f2;
    --color-brown: #693A03;
    --color-brown-soft: #8a5a2b;
    --color-gold: #b89456;
    --color-ink: #2a1a08;
    --color-line: rgba(105, 58, 3, 0.18);

    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-script: 'Great Vibes', 'Allura', cursive;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1200px;
    --container-narrow: 900px;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--color-cream);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-brown);
    text-decoration: none;
    transition: color .25s ease;
}
a:hover { color: var(--color-gold); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--color-brown);
    letter-spacing: .01em;
    margin: 0 0 .5em;
    line-height: 1.15;
}

p { margin: 0 0 1.2em; }

/* =========================================================
   3. HEADER & NAVIGATION
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 18px 0;
    background: rgba(241, 238, 227, 0);
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
    background: rgba(241, 238, 227, 0.97);
    padding: 10px 0;
    box-shadow: 0 2px 18px rgba(105, 58, 3, 0.08);
}

.nav-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 28px;
}
.nav-right { justify-content: flex-end; }

.nav-wrap a.nav-link {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--color-brown);
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}
.nav-wrap a.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width .3s ease, left .3s ease;
}
.nav-wrap a.nav-link:hover::after { width: 100%; left: 0; }

.site-header.scrolled .nav-wrap a.nav-link { color: var(--color-brown); }

.nav-logo {
    display: block;
    transition: transform .35s ease;
}
.nav-logo img {
    height: 70px;
    width: auto;
    transition: height .35s ease;
}
.site-header.scrolled .nav-logo img { height: 50px; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    color: var(--color-brown);
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-brown);
    margin: 5px 0;
    transition: transform .3s ease, opacity .3s ease;
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/images/banner_front.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(42, 26, 8, 0.25) 0%,
        rgba(42, 26, 8, 0.15) 40%,
        rgba(42, 26, 8, 0.55) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 30px;
    max-width: 900px;
    animation: fadeUp 1.4s ease both;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .55em;
    color: #f1eee3;
    margin-bottom: 30px;
    opacity: .9;
}
.hero-eyebrow span {
    display: inline-block;
    padding: 0 18px;
    position: relative;
}
.hero-eyebrow span::before,
.hero-eyebrow span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,.5);
}
.hero-eyebrow span::before { right: 100%; }
.hero-eyebrow span::after  { left: 100%; }

.hero h1 {
    font-family: var(--font-script);
    color: #fff;
    font-size: clamp(64px, 11vw, 160px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 .amp {
    display: inline-block;
    margin: 0 .15em;
    color: #e7c98b;
}

.hero-date {
    margin-top: 32px;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 300;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #f1eee3;
}
.hero-date .dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #e7c98b;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 18px;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.85);
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: .35em;
    text-transform: uppercase;
    animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.6);
    margin: 14px auto 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* =========================================================
   5. COUNTDOWN SECTION
   ========================================================= */
.countdown-section {
    padding: 110px 30px 110px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .45em;
    color: var(--color-brown-soft);
    margin-bottom: 22px;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 14px;
    font-style: italic;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 30px auto 50px;
    position: relative;
}
.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--color-cream);
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.countdown-unit {
    flex: 1;
    padding: 30px 10px;
    position: relative;
}
.countdown-unit + .countdown-unit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--color-line);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 300;
    color: var(--color-brown);
    line-height: 1;
    display: block;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .35em;
    color: var(--color-brown-soft);
    margin-top: 14px;
}

.countdown-message {
    margin-top: 60px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    color: var(--color-brown);
}

/* =========================================================
   6. WELCOME SECTION
   ========================================================= */
.welcome-section {
    padding: 110px 30px;
    text-align: center;
    background: var(--color-cream-soft);
    border-top: 1px solid var(--color-line);
}

.welcome-inner {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.welcome-section h2 {
    font-family: var(--font-script);
    font-size: clamp(48px, 6vw, 72px);
    color: var(--color-brown);
    margin-bottom: 24px;
}

.welcome-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #4a3520;
    max-width: 680px;
    margin: 0 auto 1.3em;
}

/* =========================================================
   7. FOOTER
   ========================================================= */
.site-footer {
    background: var(--color-brown);
    color: #f1eee3;
    padding: 70px 30px 40px;
    text-align: center;
}
.footer-mono {
    font-family: var(--font-script);
    font-size: 48px;
    color: #e7c98b;
    line-height: 1;
    margin-bottom: 12px;
}
.footer-date {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .35em;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: 40px;
}
.footer-divider {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,.3);
    margin: 0 auto 30px;
}
.footer-credit {
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .55;
}

/* =========================================================
   8. PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
    padding: 180px 30px 70px;
    text-align: center;
    background: var(--color-cream);
}
.page-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .55em;
    color: var(--color-brown-soft);
    margin-bottom: 24px;
}
.page-hero-title {
    font-family: var(--font-script);
    font-size: clamp(56px, 8vw, 96px);
    color: var(--color-brown);
    line-height: 1;
    margin: 0 0 28px;
    font-weight: 400;
}
.page-hero-intro {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--color-brown-soft);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.55;
}

/* =========================================================
   9. STORY CHAPTERS
   ========================================================= */
.story {
    padding: 30px 0 100px;
    background: var(--color-cream);
}

.chapter {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 40px;
}

.chapter-num {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5em;
    color: var(--color-brown-soft);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.chapter-num::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--color-gold);
}

.chapter-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-brown);
    line-height: 1.2;
    margin: 0 0 28px;
    max-width: 16ch;
}

.chapter-body {
    font-size: 16.5px;
    line-height: 1.95;
    color: #3d2a14;
}
.chapter-body p { margin: 0 0 1.3em; }
.chapter-body p:last-child { margin-bottom: 0; }

/* Two-column layout (text + image) */
.chapter--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.chapter--split .chapter-title { max-width: none; }

.chapter-figure {
    position: relative;
}
.chapter-figure img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 18px 50px -20px rgba(105, 58, 3, 0.4);
}
.chapter-figure::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    z-index: -1;
    pointer-events: none;
}

/* Reverse for alternating sections */
.chapter--reverse .chapter-figure { order: 2; }
.chapter--reverse .chapter-text   { order: 1; }
.chapter--reverse .chapter-figure::after { left: auto; right: 18px; }

/* Full-width photo break between chapters */
.story-feature {
    margin: 30px 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.story-feature img {
    width: 100%;
    height: clamp(360px, 65vh, 640px);
    object-fit: cover;
    display: block;
}
.story-feature-quote {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    color: #fff;
    background: linear-gradient(180deg, rgba(42,26,8,0) 0%, rgba(42,26,8,0.35) 100%);
}
.story-feature-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.6vw, 30px);
    max-width: 700px;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

/* Closing signature */
.story-signature {
    text-align: center;
    padding: 30px 30px 20px;
}
.story-signature-text {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5em;
    color: var(--color-brown-soft);
    margin-bottom: 12px;
}
.story-signature-mono {
    font-family: var(--font-script);
    font-size: clamp(52px, 7vw, 84px);
    color: var(--color-brown);
    line-height: 1;
}

/* =========================================================
   10. MENU PAGE
   ========================================================= */
.menu-wrap {
    background: var(--color-cream);
    padding: 0 0 100px;
}

.menu-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 30px 70px;
    text-align: center;
}
.menu-intro p {
    font-size: 16.5px;
    line-height: 1.95;
    color: #3d2a14;
    margin: 0 0 1.3em;
}

.menu-cta-wrap {
    text-align: center;
    padding: 0 30px 70px;
}
.menu-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .45em;
    color: var(--color-cream);
    background: var(--color-brown);
    padding: 22px 56px 22px 60px;
    border: 1px solid var(--color-brown);
    transition: background .3s ease, color .3s ease, transform .3s ease;
    text-decoration: none;
}
.menu-cta:hover {
    background: var(--color-cream);
    color: var(--color-brown);
    transform: translateY(-2px);
}
.menu-cta-note {
    display: block;
    margin-top: 18px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--color-brown-soft);
    letter-spacing: 0;
}

/* Menu courses */
.menu-courses {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.course {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 50px 0;
    border-top: 1px solid var(--color-line);
}
.course:last-child { border-bottom: 1px solid var(--color-line); }
.course--reverse .course-figure { order: 1; }
.course--reverse .course-content { order: 2; }
.course--centered {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
}
.course--centered .course-content { max-width: 600px; margin: 0 auto; }

.course-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .55em;
    color: var(--color-brown-soft);
    margin-bottom: 16px;
}

.course-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(36px, 5vw, 52px);
    color: var(--color-brown);
    margin: 0 0 30px;
    line-height: 1.1;
}

.course-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.course-list li {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-ink);
    padding: 14px 0;
    border-bottom: 1px dotted rgba(105, 58, 3, 0.25);
    line-height: 1.4;
}
.course-list li:last-child { border-bottom: 0; }
.course--centered .course-list li {
    border-bottom: 0;
    padding: 8px 0;
    font-size: 26px;
}

.course-figure {
    position: relative;
}
.course-figure img {
    width: 100%;
    height: clamp(360px, 50vh, 520px);
    object-fit: cover;
    display: block;
    box-shadow: 0 18px 50px -20px rgba(105, 58, 3, 0.4);
}

/* =========================================================
   11. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .nav-toggle {
        display: block;
        justify-self: end;
        grid-column: 3;
        position: relative;
        z-index: 110;
    }
    .nav-wrap { grid-template-columns: auto 1fr auto; }

    /* Mobile overlay — split into two halves so all 6 items show */
    .nav-left, .nav-right {
        position: fixed;
        left: 0;
        width: 100%;
        background: var(--color-cream);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s ease;
        z-index: 98;
    }
    .nav-left {
        top: 0;
        height: 50vh;
        justify-content: flex-end;
        padding-bottom: 15px;
    }
    .nav-right {
        top: 50vh;
        height: 50vh;
        justify-content: flex-start;
        padding-top: 15px;
    }
    .nav-open .nav-left,
    .nav-open .nav-right {
        opacity: 1;
        pointer-events: auto;
    }
    .nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }
    .nav-wrap a.nav-link { font-size: 14px; letter-spacing: .28em; }
    .nav-logo { position: relative; z-index: 100; }
    .nav-logo img { height: 56px; }
}

@media (max-width: 860px) {
    .hero-eyebrow span::before,
    .hero-eyebrow span::after { width: 30px; }

    .countdown { max-width: 100%; }
    .countdown-unit { padding: 20px 4px; }
    .countdown-label { font-size: 9px; letter-spacing: .25em; }

    .countdown-section,
    .welcome-section { padding: 80px 24px; }

    /* Story responsive */
    .page-hero { padding: 140px 24px 50px; }
    .chapter { padding: 40px 24px; }
    .chapter--split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .chapter--reverse .chapter-figure { order: 0; }
    .chapter--reverse .chapter-text   { order: 0; }
    .chapter-figure::after { display: none; }
    .story-feature img { height: 60vh; min-height: 320px; }

    /* Menu responsive */
    .menu-intro,
    .menu-cta-wrap { padding-left: 24px; padding-right: 24px; }
    .menu-courses { padding: 0 24px; }
    .course {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
    }
    .course--reverse .course-figure { order: 0; }
    .course--reverse .course-content { order: 0; }
    .course-figure img { height: 280px; }
    .course-list li { font-size: 19px; }
    .course--centered .course-list li { font-size: 22px; }
    .menu-cta { padding: 18px 36px; letter-spacing: .35em; font-size: 10.5px; }
}

@media (max-width: 480px) {
    .hero-date { letter-spacing: .22em; }
    .hero-date .dot { margin: 0 10px; }
}
