/* ==========================================================================
   Editorial / Avant-Garde Variables & Reset
   ========================================================================== */
:root {
    --bg-main: #EFECE6;      /* Off-white / Stone */
    --bg-dark: #121212;      /* Deep Charcoal */
    --text-dark: #1A1A1A;    
    --text-light: #FDFBF7;
    --accent: #B89768;       /* Muted Champagne Gold */
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Syne', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Loading Screen
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-text {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--bg-main);
    letter-spacing: 10px;
}

/* ==========================================================================
   Hero Split Screen (Magazine Layout)
   ========================================================================== */
.hero-editorial {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-left {
    width: 50%;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.hero-text-wrap {
    text-align: center;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.title-main {
    font-family: var(--font-serif);
    font-size: 7vw;
    line-height: 0.9;
    font-weight: 400;
    text-transform: uppercase;
}

.title-main .line {
    display: block;
    overflow: hidden;
}

.title-main .word {
    display: block;
}

.title-main .ampersand {
    font-size: 5vw;
    font-style: italic;
    color: var(--accent);
    margin: 10px 0;
}

.hero-bottom-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-right {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-reveal {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* GSAP will animate scale/clip-path */
}

.image-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Statement Section
   ========================================================================== */
.statement-section {
    padding: 15vh 5vw;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.statement-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

.decorative-star {
    font-size: 2rem;
    color: var(--accent);
    margin-top: 40px;
    display: inline-block;
}

/* ==========================================================================
   Details (Editorial Grid)
   ========================================================================== */
.editorial-details {
    padding: 15vh 5vw;
    background-color: var(--bg-main);
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.text-block .label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.text-block h3 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1;
}

.text-block .desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 400px;
}

.info-list {
    list-style: none;
    margin-bottom: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.info-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.info-list strong {
    font-weight: 600;
    font-family: var(--font-sans);
}

.btn-editorial {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--text-dark);
    transition: color 0.3s, border-color 0.3s;
}

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

.image-block {
    position: relative;
    overflow: hidden;
    height: 70vh;
}

.image-block img {
    width: 100%;
    height: 120%; /* For parallax */
    object-fit: cover;
}

/* ==========================================================================
   Minimal Countdown
   ========================================================================== */
.minimal-countdown {
    padding: 10vh 5vw;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.minimal-countdown .label {
    font-size: 0.8rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 30px;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
    font-family: var(--font-serif);
}

.t-item span {
    font-size: clamp(3rem, 6vw, 6rem);
    display: block;
    line-height: 1;
}

.t-item p {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 600;
}

.separator {
    font-size: clamp(3rem, 6vw, 6rem);
    transform: translateY(-15px);
}

/* ==========================================================================
   RSVP (Avant-Garde Form)
   ========================================================================== */
.rsvp-editorial {
    padding: 15vh 5vw;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
}

.rsvp-header h2 {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

.rsvp-header p {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
}

.modern-form .input-row {
    margin-bottom: 30px;
}

.modern-form input,
.modern-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 1.2rem;
    transition: border-color 0.3s;
}

.modern-form input:focus,
.modern-form select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.modern-form select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    background: var(--text-light);
    color: var(--bg-dark);
    border: none;
    padding: 20px;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
    cursor: pointer;
    margin-top: 30px;
    transition: background 0.3s, color 0.3s;
}

.btn-submit:hover {
    background: var(--accent);
    color: #fff;
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */
.footer-minimal {
    padding: 8vh 5vw;
    text-align: center;
    background-color: var(--bg-main);
}

.footer-minimal h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-minimal .brand {
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.footer-minimal .brand a {
    color: var(--text-dark);
    text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .hero-editorial {
        flex-direction: column;
    }
    .hero-left, .hero-right {
        width: 100%;
        height: 50vh;
    }
    .title-main { font-size: 12vw; }
    .hero-bottom-info { display: none; }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    .image-block {
        height: 50vh;
        margin-top: 40px;
    }
    .text-block h3 { font-size: 3rem; }
}

/* ==========================================================================
   Action Buttons (Calendar & Map)
   ========================================================================== */
.action-buttons-section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: rgba(128, 128, 128, 0.1);
    color: inherit;
    border: 1px solid currentColor;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-action:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-3px);
}
.btn-action i {
    font-size: 1.3rem;
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
}
.map-link-inline:hover {
    background: rgba(0,0,0,0.1);
}
