/* ==========================================================================
   NEWSPAPER THEME STYLES (1920s Gazette Front Page)
   ========================================================================== */
:root {
    --np-bg: #F4F1EA;       /* Newsprint Ivory */
    --np-ink: #181818;      /* Deep Ink Black */
    --np-ink-light: #3a3a3a;
    --np-accent: #8b7355;   /* Faded Gold/Sepia for accents */
    
    --font-masthead: 'Cinzel Decorative', serif;
    --font-headline: 'Oswald', sans-serif;
    --font-body: 'Playfair Display', serif;
    
    --rule-thick: 4px solid var(--np-ink);
    --rule-thin: 1px solid var(--np-ink);
    --rule-double: 3px double var(--np-ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--np-bg);
    color: var(--np-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden !important; }
.hidden { display: none !important; }
.text-center { text-align: center; }

/* ==========================================================================
   GATSBY GEOMETRIC GOLD GATES OPENING EFFECT (MUST KEEP)
   ========================================================================== */
#gatsby-intro {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 50%, #1A1C24 0%, #08090C 100%);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden; cursor: pointer;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}
#gatsby-intro.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gatsby-gates-frame { position: relative; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; }
.gatsby-gate { position: absolute; top: 0; width: 50.1%; height: 100%; background: #0E1015; box-shadow: inset 0 0 70px rgba(0,0,0,0.9); z-index: 2; transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1); }
.gatsby-gate.gate-left { left: 0; border-right: 2px solid #D4AF37; }
.gatsby-gate.gate-right { right: 0; border-left: 2px solid #D4AF37; }
#gatsby-intro.opened .gate-left { transform: translateX(-100%); }
#gatsby-intro.opened .gate-right { transform: translateX(100%); }
.gatsby-center-medallion { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(21, 23, 30, 0.96); padding: 3rem 3.5rem; border-radius: 28px; border: 2px solid #D4AF37; color: #fff; transition: transform 0.8s, opacity 0.7s; }
#gatsby-intro.opened .gatsby-center-medallion { transform: scale(0.85); opacity: 0; }
.gatsby-couple { font-family: 'Cinzel Decorative', serif; font-size: 2.5rem; margin: 0.4rem 0; }

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.lang-switch-btn, .music-toggle {
    position: fixed; z-index: 1000;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--np-bg); color: var(--np-ink);
    border: 2px solid var(--np-ink);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s;
    font-family: var(--font-headline); font-weight: 700;
}
.lang-switch-btn { top: 1.2rem; right: 1.2rem; font-size: 0.75rem; gap: 3px; }
.music-toggle { bottom: 1.5rem; right: 1.5rem; }
.lang-switch-btn:hover, .music-toggle:hover { background: var(--np-ink); color: var(--np-bg); }

/* ==========================================================================
   NEWSPAPER STRUCTURE
   ========================================================================== */
.newspaper-body {
    padding: 2rem 1rem 4rem;
    background: #dfd8cb; /* slightly darker outer wrapper like desk */
    min-height: 100vh;
}
.np-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--np-bg);
    padding: 2rem 3rem 4rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.2), inset 0 0 100px rgba(139, 115, 85, 0.1);
    position: relative;
}
.np-container::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
    pointer-events: none; z-index: 10;
}

hr.np-thick-rule { border: none; border-top: var(--rule-thick); margin: 4px 0; }
hr.np-thin-rule { border: none; border-top: var(--rule-thin); margin: 4px 0; }
hr.np-double-rule { border: none; border-top: var(--rule-double); margin: 2rem 0; }

/* 1. MASTHEAD */
.np-masthead { text-align: center; margin-bottom: 2rem; }
.np-dateline {
    display: flex; justify-content: space-between;
    font-family: var(--font-headline); text-transform: uppercase;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 1px;
    padding: 0.2rem 0;
}
.np-title {
    font-family: var(--font-masthead);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.1; margin: 0.5rem 0;
    color: var(--np-ink);
    letter-spacing: -1px;
}

/* 2. HERO ROW & COUNTDOWN */
.np-hero-row { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin: 2rem 0; }
.np-headline { font-family: var(--font-headline); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 0.5rem; }
.np-subheadline { font-style: italic; font-size: 1.2rem; color: var(--np-ink-light); margin-bottom: 1.5rem; font-weight: 400; }
.np-hero-image-frame { border: var(--rule-thin); padding: 5px; margin-bottom: 1.5rem; background: #fff; }
.np-hero-img { width: 100%; height: auto; display: block; filter: grayscale(100%) contrast(1.2) sepia(20%); }
.np-caption-box { border-top: var(--rule-thin); padding-top: 0.5rem; margin-top: 5px; }
.np-caption { font-family: var(--font-headline); font-size: 0.85rem; text-transform: uppercase; text-align: center; }

.np-btn {
    display: inline-block; padding: 0.8rem 1.5rem;
    font-family: var(--font-headline); text-transform: uppercase; font-weight: 700;
    background: var(--np-ink); color: var(--np-bg); border: 2px solid var(--np-ink);
    text-decoration: none; text-align: center; cursor: pointer; transition: 0.3s;
}
.np-btn-outline { background: transparent; color: var(--np-ink); }
.np-btn:hover { background: var(--np-bg); color: var(--np-ink); }
.np-btn-full { width: 100%; }

/* Countdown Ad Box */
.np-ad-box { border: var(--rule-thick); padding: 4px; }
.np-ad-border { border: var(--rule-thin); padding: 1.5rem; text-align: center; height: 100%; }
.np-ad-title { font-family: var(--font-headline); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.np-ad-desc { font-style: italic; font-size: 1rem; margin-bottom: 1rem; }
.np-ad-rule { border: none; border-top: 1px dashed var(--np-ink); margin: 1rem 0; }

.gatsby-chronometer-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0;
}
.stepped-chronometer-box { border: 1px solid var(--np-ink); padding: 1rem; display: flex; flex-direction: column; align-items: center; }
.chrono-num { font-family: var(--font-headline); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.chrono-lbl { font-family: var(--font-headline); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.5rem; }
.np-ad-link { display: block; font-family: var(--font-headline); text-decoration: underline; color: var(--np-ink); margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.85rem; }

/* 3. MAIN STORY (3 COLUMNS) */
.np-main-story { margin: 2rem 0; }
.np-story-header { text-align: center; margin-bottom: 2rem; }
.np-kicker { font-family: var(--font-headline); text-transform: uppercase; font-size: 1rem; letter-spacing: 2px; }
.np-article-title { font-family: var(--font-headline); font-size: 2.8rem; text-transform: uppercase; line-height: 1.2; margin-top: 0.5rem; }

.np-story-columns { column-count: 3; column-gap: 2.5rem; column-rule: 1px solid var(--np-ink); text-align: justify; }
.np-story-columns p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.np-dropcap::first-letter {
    font-family: var(--font-masthead); font-size: 4rem; float: left;
    line-height: 0.8; padding-right: 8px; padding-top: 4px; color: var(--np-ink);
}
.np-pullquote {
    font-family: var(--font-headline); font-size: 1.4rem; font-weight: 700;
    text-transform: uppercase; text-align: center; padding: 1rem;
    border-top: var(--rule-thick); border-bottom: var(--rule-thick);
    margin: 1.5rem 0; break-inside: avoid;
}
.np-inline-photo { margin: 1.5rem 0; break-inside: avoid; border: var(--rule-thin); padding: 4px; background: #fff; }
.np-inline-photo img { width: 100%; display: block; filter: grayscale(100%) contrast(1.2); }
.np-photo-credit { display: block; text-align: right; font-family: var(--font-headline); font-size: 0.7rem; text-transform: uppercase; margin-top: 4px; }
.np-signoff { text-align: center; font-style: italic; margin-top: 2rem; break-inside: avoid; }
.np-signoff h4 { font-family: var(--font-masthead); font-size: 1.8rem; margin-top: 0.5rem; font-style: normal; }

/* 4. MIDDLE ROW (TIMELINE & LOCATION) */
.np-columns-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.5rem; margin: 2rem 0; }
.np-v-rule { width: 1px; background: var(--np-ink); }
.np-col-header-box { text-align: center; border-bottom: var(--rule-thick); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.np-column-header { font-family: var(--font-headline); font-size: 2rem; text-transform: uppercase; }
.np-column-subheader { font-family: var(--font-headline); font-size: 0.9rem; letter-spacing: 2px; }

/* Timeline */
.np-event-item { margin-bottom: 1.5rem; }
.np-event-time { font-family: var(--font-headline); font-size: 1.4rem; font-weight: 700; display: block; margin-bottom: 0.2rem; }
.np-event-details h4 { font-family: var(--font-headline); font-size: 1.1rem; text-transform: uppercase; margin-bottom: 0.2rem; }
.np-event-divider { text-align: center; font-size: 1.5rem; color: var(--np-accent); margin: 1rem 0; opacity: 0.6; }

/* Travel Guide */
.np-venue-name { font-family: var(--font-headline); font-size: 1.8rem; text-transform: uppercase; text-align: center; margin-bottom: 0.2rem; }
.np-venue-address { text-align: center; font-style: italic; margin-bottom: 1.5rem; }
.np-venue-photo { border: var(--rule-thin); padding: 4px; background: #fff; margin-bottom: 1.5rem; }
.np-venue-photo img { width: 100%; display: block; filter: grayscale(100%) contrast(1.1); }
.np-travel-notes { border-top: 1px dashed var(--np-ink); border-bottom: 1px dashed var(--np-ink); padding: 1rem 0; margin: 1.5rem 0; font-size: 0.95rem; }
.np-link-btn { display: block; text-align: center; font-family: var(--font-headline); text-transform: uppercase; border: 1px solid var(--np-ink); padding: 0.5rem; margin-bottom: 0.5rem; color: var(--np-ink); text-decoration: none; transition: 0.3s; }
.np-link-btn:hover { background: var(--np-ink); color: var(--np-bg); }

/* 5. DIRECTORY ROW (SEATING, RSVP, MUSIC) */
.np-services-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 2rem; margin: 2rem 0; }
.np-service-col { display: flex; flex-direction: column; }
.np-col-title { font-family: var(--font-headline); font-size: 1.6rem; text-transform: uppercase; border-bottom: 2px solid var(--np-ink); padding-bottom: 0.5rem; margin-bottom: 0.5rem; }
.np-col-desc { font-style: italic; font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Forms & Inputs */
.np-form-group { margin-bottom: 1rem; }
.np-form-group label { display: block; font-family: var(--font-headline); font-size: 0.85rem; text-transform: uppercase; font-weight: 700; margin-bottom: 0.3rem; }
.np-form-group input, .np-form-group select, .np-form-group textarea, .np-search-box input {
    width: 100%; padding: 0.8rem; font-family: var(--font-body); font-size: 16px;
    background: transparent; border: 1px solid var(--np-ink); color: var(--np-ink);
    border-radius: 0; outline: none; transition: 0.3s;
}
.np-form-group input:focus, .np-form-group select:focus, .np-form-group textarea:focus, .np-search-box input:focus {
    background: rgba(0,0,0,0.05); box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}
.np-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Seating Specifics */
.seating-result-item, .seating-card { border: 1px dashed var(--np-ink); padding: 1rem; margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.seating-guest-name { font-weight: 700; }
.seating-table-badge { font-family: var(--font-headline); border: 1px solid var(--np-ink); padding: 0.2rem 0.5rem; font-size: 0.8rem; }
.np-floorplan-box { margin-top: 2rem; border-top: var(--rule-thick); padding-top: 1rem; text-align: center; }
.floorplan-stage { position: relative; height: 300px; border: 1px solid var(--np-ink); background: #eae5d9; margin-top: 1rem; overflow: hidden; }
.floorplan-table { position: absolute; border: 2px solid var(--np-ink); background: var(--np-bg); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-family: var(--font-headline); font-weight: 700; transform: translate(-50%, -50%); cursor: pointer; }
.floorplan-table.shape-rect { border-radius: 0; width: 60px; height: 40px; }
.floorplan-table.highlighted { background: var(--np-ink); color: var(--np-bg); }
.floorplan-head-table { position: absolute; border: 2px solid var(--np-ink); background: var(--np-bg); width: 100px; height: 40px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; font-family: var(--font-headline); font-size: 0.8rem; font-weight: 700; }
.floorplan-dance-floor { position: absolute; border: 1px dashed var(--np-ink); width: 80px; height: 60px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; font-family: var(--font-headline); font-size: 0.7rem; }

/* 6. PHOTO SPREAD */
.np-spread-header { text-align: center; margin-bottom: 2rem; }
.np-spread-title { font-family: var(--font-headline); font-size: 2.5rem; text-transform: uppercase; border-bottom: var(--rule-thick); border-top: var(--rule-thick); padding: 0.5rem 0; }
.np-photo-upload-area { max-width: 600px; margin: 0 auto; border: 1px dashed var(--np-ink); padding: 2rem; text-align: center; }
.np-cam-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.photo-dropzone { cursor: pointer; transition: 0.3s; }
.photo-dropzone:hover { background: rgba(0,0,0,0.05); }

/* 7. FOOTER IMPRESSZUM */
.np-impresszum { text-align: center; margin-top: 4rem; font-family: var(--font-headline); font-size: 0.9rem; text-transform: uppercase; }
.np-impresszum-content { padding: 1.5rem 0; }
.np-credits a { color: var(--np-ink); text-decoration: underline; font-weight: 700; }

/* Reveal Animation */
.reveal, .reveal-up { opacity: 0; transform: translateY(20px); transition: 0.8s ease; }
.reveal.active, .reveal-up.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   MOBILE STRICT GUARDRAILS (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .np-container { padding: 1.5rem 1rem; }
    .np-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .np-hero-row { grid-template-columns: 1fr; }
    
    /* Countdown strictly 1-row 4-column */
    .gatsby-chronometer-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem !important;
    }
    .stepped-chronometer-box { padding: 0.5rem 0.2rem !important; }
    .chrono-num { font-size: clamp(1.2rem, 5vw, 1.8rem) !important; }
    .chrono-lbl { font-size: 0.6rem !important; }

    /* Story Columns */
    .np-story-columns { column-count: 1 !important; }
    .np-dropcap::first-letter { font-size: 3.2rem; }

    /* Middle Row */
    .np-columns-row { grid-template-columns: 1fr; gap: 2rem; }
    .np-v-rule { display: none; }

    /* Services Row */
    .np-services-row { grid-template-columns: 1fr; gap: 3rem; }
    .np-form-split { grid-template-columns: 1fr; }

    /* Inputs: Min 16px font-size */
    input, select, textarea { font-size: 16px !important; }
    
    .floorplan-stage { height: 250px !important; }
    
    .lang-switch-btn { top: 10px; right: 10px; width: 36px; height: 36px; }
    .music-toggle { bottom: 10px; right: 10px; width: 36px; height: 36px; }
}
