/* ============================================================
   GLOBAL
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Libre Baskerville", serif;
    background-color: #ececef;
    color: #000;
    scroll-behavior: smooth;
}

/* ============================================================
   NAVBAR (ISOLATED, SAFE)
   ============================================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(236,236,239,0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);

    padding: 10px 0;
    width: 100%;
}

/* ============================================================
   NAV CONTAINER
   ============================================================ */

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

/* ============================================================
   LOGO
   ============================================================ */

.logo {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    margin-bottom: 10px;
}

/* ============================================================
   MENU ROW (DESKTOP)
   ============================================================ */

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;

    width: 100%;
}

.nav-menu a {4
    line-height: 1.2;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: opacity 0.25s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.language-switcher {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.lang-btn {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid rgba(0,0,0,0.25);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
}

.lang-btn:hover {
    opacity: 0.6;
}

/* ============================================================
   HAMBURGER
   ============================================================ */

.hamburger {
    display: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    height: 90vh;
    background: url("hero.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.hero-content h1 {
    font-size: 64px;
    margin: 0;
    line-height: 1.1;
}

.hero-content p {
    font-size: 20px;
    margin: 20px 0 30px;
}
/* ============================================================
   APPLE RSVP BUTTON — FORCE TEXT WIDTH
   ============================================================ */

.rsvp-button {
    all: unset;                     /* 🔥 RESET inherited styles */
    box-sizing: border-box;

    display: inline-flex !important;
    align-items: left;
    justify-content: center;

    background: linear-gradient(
        180deg,
        #2f7cf6 0%,
        #1f6feb 100%
    );

    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont,
                 "SF Pro Display", "Helvetica Neue",
                 Arial, sans-serif;

    font-size: 17px;                /* bigger text */
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    padding: 14px 28px;             /* 🔥 MUCH SHORTER */
    border-radius: 999px;

    width: fit-content !important;  /* 🔥 KEY FIX */
    min-width: 0 !important;
    max-width: none !important;

    cursor: pointer;
    text-decoration: none;

    box-shadow:
        0 8px 22px rgba(31, 111, 235, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);

    transition:
        transform 0.25s cubic-bezier(.4,0,.2,1),
        box-shadow 0.25s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   HERO RSVP ALIGNMENT (LEFT-ALIGNED WITH TEXT)
   ============================================================ */

.hero-rsvp {
    display: block;          /* 🔑 REMOVE flex centering */
    margin-top: 26px;
}

/* Keep safety rule (optional but fine) */
.hero-rsvp * {
    flex: 0 0 auto;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {
    background: #ececef;
    margin: 0 auto;
    padding: 40px 30px;
    max-width: 900px;
    border-radius: 8px;
    text-align: center;
}

.section:nth-of-type(even) {
    background: #ffffff;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* EVENT IMAGE — DESKTOP */
.event-image {
    width: 360px;
    height: 360px;
    object-fit: cover;
    display: block;
    margin: 0 auto 40px;
}

@media (min-width: 1024px) {
    .event-image {
        width: 520px;
        height: 520px;
    }
}
/* ============================================================
   TRAVEL SECTION
   ============================================================ */

.travel-section {
    background: #ffffff;
    padding: 80px 24px;
}

.travel-card {
    max-width: 900px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;

    align-items: center;
}

/* IMAGE */
.travel-image img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.travel-title {
    font-size: 12px;
    letter-spacing: 0.28em;
    font-weight: 500;
    margin-bottom: 18px;
}

.travel-info p {
    margin: 0 0 6px;
    font-size: 14px;
}

.travel-phone {
    margin-top: 10px;
}

.travel-note {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 480px;
}

/* BUTTON */
.travel-button {
    display: inline-block;
    margin-top: 28px;

    padding: 10px 22px;
    border: 1px solid #000;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: #000;

    transition: opacity 0.25s ease;
}

.travel-button:hover {
    opacity: 0.6;
}
/* ============================================================
   TRAVEL — MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .travel-card {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .travel-image img {
        margin: 0 auto;
    }

    .travel-note {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */

.schedule-section {
    background-color: #ececef;
    padding: 56px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}

.schedule-title {
    text-align: center;
    font-size: 22px;
    letter-spacing: 0.28em;
    font-weight: 400;
    margin-bottom: 80px;
}

.schedule-item {
    padding: 34px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.schedule-time {
    font-size: 13px;
    letter-spacing: 0.25em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.schedule-event {
    font-size: 14px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.schedule-location {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.7;
}

.schedule-footer {
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    font-size: 13px;
    font-style: italic;
    opacity: 0.6;
}
/* ============================================================
   RSVP FORM FINAL LAYOUT
   ============================================================ */

#rsvp form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Inputs & select — half width, taller */
#rsvp input[type="text"],
#rsvp input[type="email"],
#rsvp select {
    width: 50%;
    min-width: 280px;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #777;
    background: #fff;
}

/* Checkbox row — centered & grouped */
#rsvp .checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    width: 50%;
    min-width: 280px;
    justify-content: flex-start;
}

/* Guest name field (same size) */
#rsvp input[name="guestName"] {
    width: 50%;
    min-width: 280px;
}

/* Submit button */
#rsvp button {
    margin-top: 10px;
    padding: 10px 28px;
    font-size: 15px;
    border: 1px solid #000;
    background: none;
    cursor: pointer;
}

/* ============================================================
   WEDDING ATTIRE COLOR PALETTE
   ============================================================ */

.attire-colors {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 22px;
}

.color-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;
}

.color-circle::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ivory      { background: #f3f0e6; }
.champagne  { background: #ead9a8; }
.blush      { background: #e7b7c1; }
.dusty-blue { background: #b9c9d9; }
.sage       { background: #c9d6b8; }
/* ============================================================
   FAQ TEXT ALIGNMENT (QUESTIONS + BODY)
   ============================================================ */

.faq-item {
    max-width: 640px;
    margin: 0 auto 40px;
}

/* FAQ questions */
.faq-item h3 {
    text-align: left;
    margin-bottom: 10px;
}

/* FAQ body text */
.faq-item p {
    text-align: left;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ============================================================
   THINGS TO DO
   ============================================================ */

.things-section {
    text-align: center;
}

.things-group {
    max-width: 680px;
    margin: 0 auto 56px;
}

.things-group h3 {
    text-align: left;
    margin-bottom: 12px;
    font-size: 12.5px;
}

.things-list {
    text-align: left;
    padding-left: 10px;
    font-size: 12.5px;
    line-height: 1.5;
}

.things-list li {
    margin-bottom: 10px;
    font-size: 12.5px;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    /* NAV TOP ROW */
    .nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
        background: #000;
        border-radius: 2px;
    }

    .logo {
        grid-column: 2;
        margin-bottom: 0;
        font-size: 20px;
    }

    .language-switcher {
        grid-column: 3;
        margin-left: 0;
    }

    .lang-btn {
        font-size: 11px;
        padding: 3px 7px;
    }

    /* MOBILE MENU */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        display: none;
        flex-direction: column;
        align-items: center;

        padding: 18px 0;
        gap: 14px;

        background: rgba(236,236,239,0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        border-top: 1px solid rgba(0,0,0,0.08);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        font-size: 17px;
        padding: 6px 0;
    }

    /* HERO MOBILE */
    .hero {
        height: 70vh;
        padding: 0 16px;
        justify-content: center;
        text-align: center;
        background-position: 60% 55%;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    /* ===============================
       EVENT IMAGE — MOBILE FULL BLEED
       =============================== */

    .event-image {
        width: 100vw;
        height: 70vh;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-bottom: 32px;

        object-fit: cover;
        object-position: center;
        border-radius: 0;
    }
}

/* ============================================================
   FLOATING MESSAGE TOGGLE
   ============================================================ */

#message-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    border: none;
    background: linear-gradient(180deg, #2f7cf6, #1f6feb);
    color: #fff;
    font-size: 22px;

    cursor: pointer;
    box-shadow: 0 10px 30px rgba(31,111,235,0.4);

    z-index: 999;
}

#message-toggle:hover {
    transform: translateY(-2px);
}

/* ============================================================
   MESSAGE PANEL OVERLAY
   ============================================================ */

#message-panel {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 1000;
}

#message-panel.active {
    display: flex;
}

/* Card */
.message-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    width: 90%;
    max-width: 420px;

    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    position: relative;
}

.message-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Textarea */
.message-card textarea {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 12px;
    font-family: inherit;
    resize: none;
    margin-bottom: 18px;
}

/* Submit */
.submit-message {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px;
    background: #1f6feb;
    color: #fff;
    cursor: pointer;
}

/* Close */
.close-message {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

#message-toggle {
    touch-action: manipulation;
    z-index: 2000;
}
#message-panel {
    z-index: 3000;
}

.proposal-image {
    object-position: center 60%;
}




































