/* ========== COLOR PALETTE ========== */
:root {
    /* Neutrals */
    --white: #FFFFFF;
    --cream: #FAF9F7;
    --sand: #F4EDE4;
    
    /* Very Soft Background */
    --mist-blue: #E8EEF4;
    
    /* Core Blues */
    --hydrangea: #D6E4F0;
    --coastal-blue: #7BA3B8;
    --slate-blue: #4A6A86;
    --navy-ink: #143152;
    
    /* Supporting (use sparingly) */
    --coral: #D46A4C;
    --periwinkle: #9BB7D4;

    /* Text */
    --text-primary: #143152;
    --text-soft: rgba(20, 49, 82, 0.8);
    --text-light: rgba(20, 49, 82, 0.6);
    --subtitle-gray: #5A646E;
    
    /* Hero Layout */
    --hero-content-width: 35%;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    overscroll-behavior: none;
}

@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.6;
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background-color: var(--cream);
    padding-bottom: 2.5rem;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* ========== ACCESSIBILITY ========== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy-ink);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="tab"]:focus-visible {
    outline: 2px solid var(--coastal-blue);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========== WATERCOLOR BACKGROUND ========== */
.background-watercolor {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('background.png') 20% top / cover no-repeat;
    z-index: -2;
    filter: blur(1px);
    transform: scale(1.02);
}

.background-watercolor::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: -1;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 0 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(31, 52, 71, 0.1);
    z-index: 1000;
}

@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
    .nav {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--navy-ink);
    transition: all 0.3s ease;
}

.nav-toggle-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--slate-blue);
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coastal-blue);
    transition: width 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .nav-links a:hover {
        color: var(--navy-ink);
    }
    .nav-links a:hover::after {
        width: 100%;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    min-height: 500px;
    margin-top: 70px;
    display: flex;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: calc(100% - var(--hero-content-width));
    z-index: 1;
    overflow: hidden;
}

.hero-photo img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--hero-content-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem 2rem 2rem;
    background: transparent;
    z-index: 2;
    overflow: hidden;
}

.hero-names {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-name {
    display: block;
    font-family: 'Tangerine', cursive;
    font-size: 5.5rem;
    font-weight: 400;
    color: var(--navy-ink);
    letter-spacing: 0.03em;
    line-height: 1.0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.98), 0 0 1px rgba(255, 255, 255, 0.98);
}

.hero-amp {
    display: block;
    font-family: 'Parisienne', cursive;
    font-style: italic;
    font-size: 1.8rem;
    font-weight: lighter;
    color: var(--navy-ink);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.98), 0 0 1px rgba(255, 255, 255, 0.98);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.hero-divider-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, rgba(95, 127, 158, 0), rgba(95, 127, 158, 0.5), rgba(95, 127, 158, 0));
}

.hero-divider-icon {
    font-size: 0.65rem;
    color: var(--slate-blue);
    letter-spacing: 0.15em;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: 0.08em;
    color: var(--subtitle-gray);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.98), 0 0 1px rgba(255, 255, 255, 0.98);
}

.countdown-content {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: 'Great Vibes', cursive;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--navy-ink);
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.98), 0 0 1px rgba(255, 255, 255, 0.98);
}

.countdown-star {
    font-size: 0.3em;
    color: var(--slate-blue);
    vertical-align: middle;
}

.countdown-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-blue);
    margin-top: 0.25rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.98), 0 0 1px rgba(255, 255, 255, 0.98);
}

/* ========== SECTIONS (SHARED) ========== */
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 3rem;
    position: relative;
}

.section-container {
    max-width: 850px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    color: var(--navy-ink);
    margin-bottom: 0.25rem;
}

.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.25rem 0;
    margin-bottom: 1.5rem;
}

.section-divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, rgba(155, 183, 212, 0), rgba(155, 183, 212, 0.6), rgba(155, 183, 212, 0));
}

.section-note {
    font-size: 1rem;
    font-style: italic;
    color: #5a6670;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

/* Alternating section backgrounds */
#registry,
#travel,
#contact {
    background: rgba(232, 238, 244, 0.55);
}

#schedule,
#rsvp {
    background: transparent;
}

/* ========== RSVP SECTION ========== */
#rsvp .section-container {
    max-width: 500px;
}

#rsvp .btn-primary {
    margin-top: 0.5rem;
    padding: 1rem 3rem;
    font-size: 1rem;
}

.rsvp-deadline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-variant: small-caps;
    letter-spacing: 0.03em;
    color: var(--slate-blue);
    margin-bottom: 1.5rem;
}

.rsvp-deadline strong {
    color: var(--navy-ink);
}

/* ========== REGISTRY SECTION ========== */
.registry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.registry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 200px;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(74, 106, 134, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.registry-card .link-elegant {
    border-bottom: 1px solid var(--coastal-blue);
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .registry-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(31, 52, 71, 0.08);
        border-color: var(--coastal-blue);
        background: rgba(255, 255, 255, 0.7);
    }
}

.registry-logo {
    max-width: 180px;
    max-height: 75px;
    object-fit: contain;
}

.link-elegant {
    font-family: 'Cormorant Garamond', serif;
    font-variant: small-caps;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--navy-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--coastal-blue);
    padding-bottom: 2px;
    transition: all 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .link-elegant:hover {
        color: var(--slate-blue);
        border-bottom-color: var(--slate-blue);
    }
}

.link-no-underline {
    border-bottom: none;
    padding-bottom: 0;
}

.btn-primary {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--navy-ink);
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.25s ease;
    min-height: 44px;
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background: var(--coastal-blue);
        box-shadow: 0 4px 15px rgba(31, 52, 71, 0.25);
        transform: translateY(-1px);
    }
}

/* ========== HOTEL SECTION ========== */
.hotel-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hotel-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: var(--navy-ink);
    -webkit-mask: url('wyndham-logo.png') no-repeat center;
    mask: url('wyndham-logo.png') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

@supports not (mask: url('wyndham-logo.png')) {
    .hotel-logo {
        background: url('wyndham-logo.png') no-repeat center;
        background-size: contain;
        background-color: transparent;
    }
}

.hotel-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.hotel-name-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    color: var(--navy-ink);
    line-height: 1.0;
}

.hotel-name-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--slate-blue);
    line-height: 1.2;
}

.card-details {
    font-size: 1.05rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.005em;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    text-align: center;
}

.card-details p {
    margin: 0;
}

.card-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.card-links .link-elegant {
    font-family: 'Cormorant Garamond', serif;
    font-variant: normal;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.card-code {
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin: 0.5rem 0;
    text-align: center;
}

.card-code strong {
    color: var(--navy-ink);
}

.card-note-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    margin: 0.25rem auto;
    width: 100%;
}

.card-note-block::before,
.card-note-block::after {
    content: '';
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, rgba(74, 106, 134, 0), rgba(74, 106, 134, 0.3), rgba(74, 106, 134, 0));
}

.card-note-block .section-note {
    margin-bottom: 0;
    margin-top: 0;
    max-width: none;
}

/* ========== SCHEDULE SECTION — DESKTOP (STACKED CARDS) ========== */
/* ========== SCHEDULE SECTION ========== */

.schedule-desktop {
    display: none;
    width: 100%;
    position: relative;
    max-width: 480px;
}

.schedule-desktop::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(123, 163, 184, 0), rgba(123, 163, 184, 0.4) 5%, rgba(123, 163, 184, 0.4) 95%, rgba(123, 163, 184, 0));
}

@media (min-width: 768px), (min-width: 667px) and (orientation: landscape) {
    .schedule-desktop {
        display: block;
    }
    .timeline-mobile {
        display: none !important;
    }
}

/* Scale down desktop schedule when shown on smaller landscape screens */
@media (min-width: 667px) and (max-width: 767px) and (orientation: landscape) {
    .event-note-desktop {
        font-size: 0.7rem;
    }
    .event-name-desktop {
        font-size: 1.5rem;
    }
    .event-date-desktop,
    .event-time-desktop {
        font-size: 0.9rem;
    }
    .event-venue-desktop {
        font-size: 0.95rem;
    }
    .event-address-desktop {
        font-size: 0.8rem;
    }
    .event-attire-desktop {
        font-size: 0.8rem;
    }
    .timeline-event-desktop {
        margin-bottom: 4rem;
    }
}
.timeline-event-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 6rem;
    padding-left: 0;
}

.timeline-event-desktop:last-child {
    margin-bottom: 0;
}

.timeline-image-desktop {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--coastal-blue);
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-content-desktop {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.event-name-desktop {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--navy-ink);
    line-height: 1.2;
    margin-bottom: 0;
}

.event-datetime-desktop {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0;
    margin-bottom: 0.1rem;
}

.event-date-desktop,
.event-time-desktop {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    color: #5a6670;
    line-height: 1.4;
}

.event-venue-info-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    align-self: stretch;
    margin-bottom: 0;
}

.event-venue-desktop {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy-ink);
    margin-bottom: 0;
}

.event-address-desktop {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    color: var(--text-light);
    line-height: 1.4;
}

.event-attire-desktop {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--slate-blue);
    display: inline-block;
    align-self: center;
}

.event-note-desktop {
    font-size: 0.9rem;
    font-style: italic;
    color: #5a6670;
    margin: 0.05rem 0 0;
    line-height: 1.5;
    align-self: stretch;
    text-align: center;
}

/* ========== MOBILE TIMELINE ========== */
.timeline-mobile {
    display: block;
    width: 100%;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.timeline-mobile::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(123, 163, 184, 0), rgba(123, 163, 184, 0.4) 5%, rgba(123, 163, 184, 0.4) 95%, rgba(123, 163, 184, 0));
}

.timeline-event-mobile {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-event-mobile:last-child {
    margin-bottom: 0;
}

.timeline-dot-mobile {
    width: 12px;
    height: 12px;
    background: var(--cream);
    border: 2px solid var(--coastal-blue);
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
    margin-top: 0.5rem;
    margin-left: 4px;
}

.timeline-content-mobile {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-name-mobile {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--navy-ink);
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.event-datetime-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0.25rem;
}

.event-date-mobile,
.event-time-mobile {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    color: #5a6670;
    line-height: 1.4;
}

/* Venue name - standalone above the image row */
.event-venue-mobile {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy-ink);
    margin-bottom: 0.3rem;
    text-align: left;
}

/* Image + address/attire row */
.event-venue-row-mobile {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.event-image-mobile {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.85;
    border: 1px solid var(--hydrangea);
    flex-shrink: 0;
}

/* Address + attire container (to the right of image) */
.event-venue-details-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-address-mobile {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    color: var(--text-light);
    line-height: 1.4;
    text-align: left;
}

.event-attire-mobile {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--slate-blue);
    display: block;
    margin-top: 0.2rem;
    text-align: left;
}

/* ========== TRAVEL SECTION (TABS) ========== */
#travel .section-container {
    max-width: 850px;
}

.travel-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(74, 106, 134, 0.2);
}

.travel-tab {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-blue);
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    min-height: 44px;
}

.travel-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.25s ease;
}

.travel-tab.active {
    color: var(--navy-ink);
}

.travel-tab.active::after {
    background: var(--navy-ink);
}

@media (hover: hover) and (pointer: fine) {
    .travel-tab:hover:not(.active) {
        color: var(--navy-ink);
    }
}

.travel-panel {
    display: none;
}

.travel-panel.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== AIRPORTS LIST ========== */
.airports-intro {
    font-size: 0.95rem;
    font-style: italic;
    color: #5a6670;
    margin-bottom: 1.25rem;
    text-align: center;
}

.airports-list {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-left: 1rem;
}

.airport-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.airport-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 2px solid var(--coastal-blue);
    border-radius: 50%;
    color: var(--coastal-blue);
    margin-top: 0.1rem;
}

.airport-icon svg {
    width: 14px;
    height: 14px;
}

.airport-suggested {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--slate-blue);
}

.airport-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

.airport-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.airport-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy-ink);
}

.airport-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--slate-blue);
    background: rgba(214, 228, 240, 0.5);
    padding: 0.15rem 0.35rem;
    border-radius: 2px;
}

.airport-details-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.airport-distance {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: var(--subtitle-gray);
}

.airport-separator {
    color: var(--coastal-blue);
    font-size: 0.8rem;
}

.airport-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-blue);
    text-decoration: none;
    transition: color 0.25s ease;
}

.airport-directions svg {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .airport-directions:hover {
        color: var(--navy-ink);
    }
    .airport-directions:hover svg {
        transform: translateX(2px);
    }
}

/* ========== CONTACT SECTION ========== */
#contact .section-container {
    max-width: 850px;
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    text-align: left;
    flex-wrap: wrap;
}

.form-group.textarea-group {
    align-items: flex-start;
}

.form-group label {
    min-width: 90px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: 0.06em;
    color: var(--navy-ink);
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--navy-ink);
    border: 1px solid var(--hydrangea);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
    min-height: 44px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-blue);
    font-style: italic;
    font-size: 0.95rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coastal-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(123, 163, 184, 0.15);
}

.form-group input.input-error,
.form-group textarea.input-error {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(212, 106, 76, 0.15);
}

.form-error {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    color: var(--coral);
    margin-top: 0.25rem;
    margin-left: 90px;
}

.required {
    color: var(--coral);
    font-weight: 400;
}

.form-btn-container {
    text-align: center;
    margin-top: 1.25rem;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(31, 52, 71, 0.4);
    z-index: 2000;
}

@supports (backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px)) {
    .modal {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 400px;
    margin: 15vh auto;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(31, 52, 71, 0.25);
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--navy-ink);
    margin-bottom: 0.75rem;
}

.modal-content p {
    font-size: 1.05rem;
    color: #5a6670;
    margin-bottom: 1.5rem;
}

.modal-btn {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--navy-ink);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 44px;
    min-width: 44px;
}

@media (hover: hover) and (pointer: fine) {
    .modal-btn:hover {
        background: var(--slate-blue);
        transform: translateY(-1px);
    }
}

/* Hide footer on iPhone landscape and smaller screens */
@media (max-width: 767px), (max-width: 932px) and (orientation: landscape) {
    .footer {
        display: none;
    }
}
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--slate-blue);
    color: var(--white);
    text-align: center;
    padding: 0.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    z-index: 100;
}

/* ========== RESPONSIVE: TABLET ========== */
@media (max-width: 900px) {
    html {
        scroll-padding-top: 60px;
    }

    :root {
        --hero-content-width: 45%;
    }

    .nav {
        height: 60px;
        padding: 0 1.5rem;
        justify-content: flex-end;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        background: rgba(255, 255, 255, 0.98);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(31, 52, 71, 0.1);
    }

    @supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
        .nav-links {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
    }

    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        margin-top: 60px;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
    }

    .hero-photo {
        width: calc(100% - var(--hero-content-width));
    }

    .hero-content {
        width: var(--hero-content-width);
        padding: 1.5rem;
    }

    .hero-name {
        font-size: 4.5rem;
    }

    .hero-amp {
        font-size: 1.5rem;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-note {
        font-size: 0.8rem;
    }

    .registry-grid {
        gap: 1rem;
    }

    .registry-card {
        width: 180px;
        padding: 1.25rem 1.5rem;
    }

    .registry-logo {
        max-width: 110px;
    }

    .hotel-name-primary {
        font-size: 1.3rem;
    }

    .hotel-name-secondary {
        font-size: 0.85rem;
    }

    .travel-tab {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }

    .airport-name {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 1.1rem;
    }
}

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 700px) {
    html {
        scroll-padding-top: 55px;
    }

    .nav {
        height: 55px;
    }

    .nav-links {
        top: 55px;
        padding: 1.5rem 0;
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 0.15em;
    }

    .hero {
        flex-direction: column;
        margin-top: 55px;
        height: auto;
        min-height: calc(100vh - 55px);
        min-height: calc(100dvh - 55px);
        overflow: visible;
    }

    .hero-photo {
        position: relative;
        width: 100%;
        height: 45vh;
        height: 45dvh;
        min-height: 250px;
        max-height: 400px;
        order: 1;
        overflow: hidden;
    }

    .hero-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .hero-content {
        position: relative;
        width: 100%;
        padding: 1.5rem 2rem 2rem;
        order: 2;
    }

    .hero-names {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
    }

    .hero-name {
        font-size: 4rem;
    }

    .hero-amp {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-divider-line {
        width: 50px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-note {
        font-size: 0.75rem;
    }

    .section-divider-line {
        width: 60px;
    }

    .registry-card {
        width: 160px;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .registry-logo {
        max-width: 100px;
    }

    .link-elegant {
        font-size: 0.9rem;
    }

    .hotel-brand {
        gap: 0.6rem;
    }

    .hotel-logo {
        width: 32px;
        height: 32px;
    }

    .hotel-name-primary {
        font-size: 1rem;
    }

    .hotel-name-secondary {
        font-size: 0.75rem;
    }

    .card-details {
        font-size: 0.85rem;
    }

    .card-links .link-elegant {
        font-size: 0.82rem;
    }

    .card-code {
        font-size: 0.85rem;
    }

    .card-note-block {
        padding: 0.4rem 0;
    }

    .card-note-block::before,
    .card-note-block::after {
        width: 80px;
    }

    .card-note-block .section-note {
        font-size: 0.7rem;
    }

    .btn-primary {
        font-size: 0.8rem;
        padding: 0.8rem 1.75rem;
    }

    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .form-group label {
        min-width: 0;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        width: 100%;
    }

    .form-error {
        margin-left: 0;
    }

    .modal-content {
        margin: 20vh auto;
        padding: 2rem 1.5rem;
    }

    .modal-content h3 {
        font-size: 1.4rem;
    }

    .travel-tab {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .airports-intro {
        font-size: 0.85rem;
    }

    .airports-list {
        padding-left: 0.5rem;
        gap: 0.6rem;
    }

    .airport-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .airport-icon svg {
        width: 12px;
        height: 12px;
    }

    .airport-item {
        gap: 0.75rem;
    }

    .airport-name {
        font-size: 0.9rem;
    }

    .airport-code {
        font-size: 0.6rem;
    }

    .airport-distance {
        font-size: 0.8rem;
    }

    .airport-directions {
        font-size: 0.8rem;
    }

    .airport-details-row {
        flex-wrap: wrap;
    }

    .airport-suggested {
        font-size: 0.75rem;
    }

    .footer {
        font-size: 1rem;
    }
}

/* ========== RESPONSIVE: SMALL MOBILE ========== */
@media (max-width: 380px) {
    .hero-photo {
        height: 40vh;
        height: 40dvh;
        min-height: 200px;
        max-height: 350px;
    }

    .hero-content {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .hero-name {
        font-size: 3.2rem;
    }

    .hero-amp {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .section-divider-line {
        width: 50px;
    }

    .registry-card {
        width: 140px;
        padding: 0.9rem 1rem;
    }

    .registry-logo {
        max-width: 85px;
        max-height: 40px;
    }

    .hotel-logo {
        width: 28px;
        height: 28px;
    }

    .hotel-name-primary {
        font-size: 0.9rem;
    }

    .hotel-name-secondary {
        font-size: 0.7rem;
    }

    .card-details {
        font-size: 0.8rem;
    }

    .card-links .link-elegant {
        font-size: 0.78rem;
    }

    .card-code {
        font-size: 0.8rem;
    }

    .card-note-block::before,
    .card-note-block::after {
        width: 60px;
    }

    .section-note {
        font-size: 0.65rem;
    }

    .timeline-mobile {
        max-width: 280px;
    }

    .event-name-mobile {
        font-size: 1.6rem;
    }

    .event-date-mobile,
    .event-time-mobile {
        font-size: 0.8rem;
    }

    .event-image-mobile {
        width: 50px;
        height: 50px;
        display: none;
    }

    .event-venue-mobile {
        font-size: 0.88rem;
    }

    .event-address-mobile {
        font-size: 0.7rem;
    }

    .airports-list {
        padding-left: 0;
    }

    .airport-name {
        font-size: 0.85rem;
    }

    .airport-distance {
        font-size: 0.75rem;
    }
}

/* ========== LANDSCAPE SHORT SCREENS ========== */
@media (max-height: 550px) {
    .hero-names {
        margin-bottom: 0;
    }

    .hero-name {
        font-size: 5rem;
    }

    .hero-amp {
        font-size: 1.6rem;
    }

    .hero-divider {
        margin: 0.6rem 0;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }
}

@media (max-height: 450px) {
    html {
        scroll-padding-top: 60px;
    }

    .hero {
        min-height: 350px;
    }

    .hero-name {
        font-size: 4rem;
    }

    .hero-amp {
        font-size: 1.3rem;
    }

    .hero-divider {
        margin: 0.4rem 0;
    }

    .hero-divider-line {
        width: 40px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }
}

@media (max-height: 350px) {
    .hero {
        min-height: 280px;
    }

    .hero-name {
        font-size: 4rem;
    }

    .hero-amp {
        font-size: 1rem;
    }

    .hero-divider {
        margin: 0.3rem 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.5rem;
    }
}