/* ==========================================================================
   Pedro & Selma Wedding Website
   Custom Theme Stylesheet — Blue & Orange Palette, Cinzel Headings
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Great+Vibes&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Ensure Font Awesome 6 renders properly */
.fa, .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

:root {
    --text-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --headline-font: 'Cinzel', Georgia, serif;
    --serif-font: 'Playfair Display', Georgia, serif;
    --script-font: 'Great Vibes', cursive;

    /* Blue & Orange Color Palette */
    --primary-color: #4a90d9;
    --primary-color-darker: #3578c0;
    --primary-color-rgb: 74, 144, 217;

    --hero-color: #4a90d9;
    --hero-color-dark: #2d6fad;

    --secondary-color: #e8832a;
    --secondary-color-dark: #c96b18;

    --site-bg: #eef5fb;
    --section-alt-bg: #fff5ee;
    --card-bg: #ffffff;
    --text-primary: #2d3748;
    --text-muted: #627284;
    --text-light: #ffffff;

    --accent-gold: #e8832a;
    --accent-green: #3f7259;
    --accent-blue: #4a90d9;

    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.14);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 11px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--site-bg);
    color: var(--text-primary);
    font-family: var(--text-font);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

a {
    color: var(--hero-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--hero-color-dark);
}

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 860px;
}

/* ==========================================================================
   PS Brand Initials
   ========================================================================== */
.initial-p {
    color: #4a90d9;
    font-weight: 700;
}

.initial-s {
    color: #e8832a;
    font-weight: 700;
}

.ps-note {
    background: #f0f7ff;
    border-left: 4px solid #4a90d9;
    padding: 10px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3, h4, h5 {
    color: var(--text-primary);
    line-height: 1.25;
}

.headline-font {
    font-family: var(--headline-font);
}

.script-font {
    font-family: var(--script-font);
}

.serif-font {
    font-family: var(--serif-font);
}

.section-wrapper {
    position: relative;
    padding: 70px 0;
    background-color: var(--site-bg);
    color: var(--text-primary);
    scroll-margin-top: 82px;
}

body[data-section-layout="alternating"] .section-wrapper {
    color: var(--text-primary);
}

.section-wrapper.bg-alt {
    background-color: var(--section-alt-bg);
}

.section-wrapper.bg-primary {
    background-color: var(--primary-color);
}

.header-section {
    text-align: center;
    margin-bottom: 45px;
}

.header-section h2 {
    font-family: var(--headline-font);
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hero-color);
    margin-bottom: 12px;
}

.header-section h1 {
    font-family: var(--headline-font);
}

.header-section .subheading {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 24px;
}

.separator::before,
.separator::after {
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--primary-color-darker);
}

.separator .stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    display: flex;
    gap: 6px;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 900;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    padding: 4px 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    color: #555;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(74, 144, 217, 0.15);
    color: #4a90d9;
}

.lang-btn.active {
    background: #4a90d9;
    color: white;
}

/* ==========================================================================
   Hero Section & Interactive Stairs Photo Feature
   ========================================================================== */
.page-image-header {
    position: relative;
    min-height: 90vh;
    max-height: 950px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    background-color: #1a1a1a;
}

.hero-slider-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-stairs-away,
.hero-stairs-smile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.hero-stairs-away {
    opacity: 1;
    z-index: 1;
}

.hero-stairs-smile {
    opacity: 0;
    z-index: 2;
}

/* Dark gradient overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: left;
    color: #ffffff;
    padding: 40px 20px;
    max-width: 560px;
    margin-left: 0;
    padding-left: 5%;
}

.hero-subtitle-top {
    font-family: var(--serif-font);
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4e9f7;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-family: var(--script-font);
    font-size: 5rem;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-tagline {
    font-family: var(--headline-font);
    font-size: 2.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Interactive photo toggle pill */
.hero-stairs-controller {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 5;
}

.stairs-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.stairs-toggle-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.stairs-toggle-btn.active {
    background: var(--hero-color);
    color: #ffffff;
    border-color: var(--hero-color);
}

.hero-stairs-hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    text-align: right;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Countdown Timer Bar
   ========================================================================== */
.countdown-section {
    background: linear-gradient(135deg, #2b3a4a 0%, #1f2833 100%);
    color: #ffffff;
    padding: 24px 0;
    border-bottom: 3px solid var(--primary-color-darker);
}

.countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.countdown-title {
    font-family: var(--headline-font);
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d4e9f7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-boxes {
    display: flex;
    gap: 15px;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 8px 16px;
    min-width: 68px;
    text-align: center;
}

.countdown-number {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.countdown-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}

/* ==========================================================================
   Sticky Navigation Bar
   ========================================================================== */
.page-header-navigation {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.page-header-navigation.is-sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 10px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-brand .names {
    font-family: var(--script-font);
    font-size: 2rem;
    color: var(--hero-color);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.nav-brand .wedding-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    padding-left: 8px;
    border-left: 1px solid #ddd;
    white-space: nowrap;
    display: inline-block;
}

.navigation-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navigation {
    display: flex;
    list-style: none;
    gap: 1px;
    align-items: center;
    flex-wrap: nowrap;
}

.navigation-item {
    white-space: nowrap;
    flex-shrink: 0;
}

.navigation-link {
    font-family: var(--text-font);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #2d3748 !important;
    padding: 5px 6px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
    word-break: keep-all;
}

.navigation-link:hover,
.navigation-link.active {
    color: var(--hero-color) !important;
    background-color: rgba(74, 144, 217, 0.12);
}

.nav-rsvp-btn {
    background-color: var(--hero-color) !important;
    color: #ffffff !important;
    border-radius: 20px;
    padding: 5px 13px !important;
    margin-left: 5px;
    white-space: nowrap;
    font-weight: 700;
}

.nav-rsvp-btn:hover {
    background-color: var(--hero-color-dark) !important;
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   Canva Invitation Tribute Cards (Reference Photos)
   ========================================================================== */
.canva-invitation-tribute {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 35px 25px;
    box-shadow: var(--box-shadow);
    margin: 40px auto 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.canva-tribute-title {
    font-family: var(--headline-font);
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.canva-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.canva-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #000;
    aspect-ratio: 3/4;
}

.canva-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.canva-card:hover img {
    transform: scale(1.05);
}

.canva-card-number {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    font-family: var(--serif-font);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

.canva-tribute-text {
    font-family: var(--script-font);
    font-size: 2.8rem;
    color: var(--hero-color);
    margin-top: 15px;
    line-height: 1.1;
}

.invitation-names {
    color: #1a1a1a;
}

.invitation-names .initial-p,
.invitation-names .initial-s {
    color: var(--secondary-color);
}

.canva-tribute-meta {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ==========================================================================
   Story & Denmark Proposal Section
   ========================================================================== */
.proposal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 35px;
    align-items: center;
    margin-top: 30px;
}

.proposal-main-photo {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.proposal-main-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.proposal-main-photo:hover img {
    transform: scale(1.03);
}

.proposal-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.proposal-side-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proposal-sub-photo {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.proposal-sub-photo img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proposal-sub-photo:hover img {
    transform: scale(1.04);
}

.proposal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #ffffff;
    padding: 12px 16px 8px;
    font-size: 0.88rem;
    font-weight: 600;
}

.story-narrative-box {
    background: #ffffff;
    border-left: 4px solid var(--hero-color);
    padding: 25px 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--box-shadow);
    margin-top: 35px;
}

.story-narrative-box h3 {
    font-family: var(--serif-font);
    font-size: 1.6rem;
    color: var(--hero-color);
    margin-bottom: 12px;
}

.story-narrative-box p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.two-cultures-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    margin-top: 35px;
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.two-cultures-photo {
    height: 320px;
    overflow: hidden;
    cursor: pointer;
}

.two-cultures-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.two-cultures-photo:hover img {
    transform: scale(1.04);
}

.two-cultures-content {
    padding: 30px;
}

.two-cultures-title {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    color: var(--hero-color);
    margin-bottom: 10px;
}

.two-cultures-text {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Locations & Venues Section
   ========================================================================== */
.location-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    list-style: none;
}

.location-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.location-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.location-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.location-card:hover .location-card-image img {
    transform: scale(1.05);
}

.venue-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 90px;
    gap: 8px;
    padding: 10px;
    background: #f4f8fc;
    border-bottom: 1px solid #e2e8f0;
}

.venue-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
    background: #dbe7f2;
}

.venue-gallery--four .venue-gallery-item:last-child {
    grid-column: 1 / -1;
}

.venue-gallery--five .venue-gallery-item:nth-child(4) {
    grid-column: span 2;
}

.venue-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.venue-gallery-item:hover img {
    transform: scale(1.06);
}

.location-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--hero-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.location-details {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.location-details .headline {
    font-family: var(--serif-font);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.location-details .subline {
    color: var(--hero-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.location-details .description {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.location-info-row {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-info-row i {
    color: var(--hero-color);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.location-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
    align-items: center;
}

.location-links .maps-badge,
.location-links .btn-pill {
    min-height: 34px;
    line-height: 1.2;
}

.location-links .btn-pill {
    padding: 9px 16px;
}

.location-details .alert-box {
    margin-top: 0;
    align-items: flex-start;
}

.location-details .alert-box > i {
    flex: 0 0 28px;
    width: 28px;
}

/* Google Maps badge — prominent link */
.maps-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4285f4;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.35);
}

.maps-badge:hover {
    background: #3367d6;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.5);
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #edf2f7;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-pill:hover {
    background: var(--hero-color);
    color: #ffffff;
}

/* Alert boxes */
.alert-box {
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.alert-box > i,
.alert-box > span.alert-icon {
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    margin-top: 2px;
}

.alert-warning {
    background-color: #fff9e6;
    border: 1px solid #ffe58f;
    color: #874d00;
}

.alert-warning i {
    font-size: 1.25rem;
    color: #faad14;
    margin-top: 2px;
}

.alert-info {
    background-color: #e8f4fb;
    border: 1px solid #91d5ff;
    color: #0050b3;
}

.alert-info i {
    font-size: 1.25rem;
    color: #4a90d9;
    margin-top: 2px;
}

/* ==========================================================================
   Parking & Getting to the Castle Guide
   ========================================================================== */
.parking-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.parking-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 26px;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-blue);
    display: flex;
    flex-direction: column;
}

.parking-card.recommended {
    border-top-color: var(--accent-green);
    position: relative;
}

.parking-card.step-free {
    border-top-color: var(--accent-gold);
}

.parking-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e6f4ea;
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
}

.parking-card h3 {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.parking-card .walk-time {
    color: var(--hero-color);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.parking-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.parking-card ul {
    list-style: none;
    font-size: 0.88rem;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.parking-card li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.parking-card li i {
    color: var(--accent-green);
}

/* ==========================================================================
   OpenStreetMap Container
   ========================================================================== */
.osm-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 30px 0 20px;
}

.wedding-map {
    width: 100%;
    height: 460px;
    background: #dbe7f2;
    z-index: 0;
}

.wedding-map-marker {
    background: transparent;
    border: 0;
}

.wedding-map-marker span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: var(--hero-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: var(--serif-font);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.wedding-map-marker.map-marker-kreta span {
    background: var(--secondary-color);
}

.wedding-map-marker.map-marker-parking span {
    background: var(--accent-green);
    font-size: 0.8rem;
}

.wedding-map .leaflet-popup-content {
    font-family: var(--text-font);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 12px 16px;
}

.map-popup strong {
    display: block;
    font-family: var(--serif-font);
    font-size: 1.15rem;
    color: var(--text-primary);
}

.map-popup-type {
    display: block;
    color: var(--hero-color);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 2px 0 6px;
}

.map-popup p {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.map-popup a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.map-fallback {
    padding: 24px;
    color: var(--text-muted);
    text-align: center;
}

.map-legend-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.map-legend-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    border: 0;
    border-left: 3px solid var(--hero-color);
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: var(--text-font);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.map-legend-item i {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 3px;
    color: var(--hero-color);
    text-align: center;
}

.map-legend-item:hover,
.map-legend-item.active {
    background: #f0f7ff;
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.map-legend-item.active {
    border-left-color: var(--secondary-color);
}

/* ==========================================================================
   Program / Schedule Timeline
   ========================================================================== */
.schedule-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 40px;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 17px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color-darker), var(--hero-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--hero-color);
    color: var(--hero-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.timeline-content {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 22px 26px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(4px);
    box-shadow: var(--box-shadow-hover);
}

.timeline-time {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hero-color);
    background: rgba(74, 144, 217, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--serif-font);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Accommodations Section
   ========================================================================== */
.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.acc-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
}

.acc-card.highlight {
    border-top-color: var(--hero-color);
    background: #f0f7ff;
}

.acc-card h3 {
    font-family: var(--serif-font);
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.acc-card p {
    font-size: 0.95rem;
    color: #4a5568 !important;
    line-height: 1.6;
    margin-bottom: 14px;
}

.acc-card ul {
    list-style: none;
    margin-top: auto;
    font-size: 0.92rem;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.acc-card li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 24px;
    color: #2d3748 !important;
    font-weight: 500;
}

.acc-card li strong {
    color: #1a202c !important;
}

.acc-card li i {
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    color: var(--hero-color);
    text-align: center;
}

/* ==========================================================================
   Things to Do in Miltenberg
   ========================================================================== */
.miltenberg-banner {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(31, 40, 51, 0.92) 100%),
                url('../images/venue-mildenburg-castle.jpg') center/cover;
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 45px 35px;
    text-align: center;
    box-shadow: var(--box-shadow);
    margin-top: 35px;
}

.miltenberg-banner h3 {
    font-family: var(--serif-font);
    font-size: 2.2rem;
    color: #d4e9f7;
    margin-bottom: 12px;
}

.miltenberg-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.9);
}

.miltenberg-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
    text-align: left;
}

.miltenberg-highlight-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 16px;
}

.miltenberg-highlight-item h4 {
    font-size: 1rem;
    color: #d4e9f7;
    margin-bottom: 4px;
}

.miltenberg-highlight-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ==========================================================================
   Gift Wish Section
   ========================================================================== */
.wishes-box {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(74, 144, 217, 0.3);
}

.wishes-icon {
    font-size: 3rem;
    color: var(--hero-color);
    margin-bottom: 16px;
}

.wishes-box h3 {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.wishes-box p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ==========================================================================
   Best Man & Maid of Honor Section
   ========================================================================== */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 860px;
    margin: 30px auto 0;
}

.organizer-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.organizer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.organizer-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.organizer-info .name {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.organizer-info .role {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hero-color);
    margin-bottom: 8px;
}

.organizer-info .contact-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}

.organizer-info .contact-links a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.organizer-info .contact-links a:hover {
    color: var(--hero-color);
}

/* ==========================================================================
   Comprehensive RSVP Form
   ========================================================================== */
.rsvp-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 45px 40px;
    box-shadow: var(--box-shadow);
    max-width: 820px;
    margin: 0 auto;
    color: #2d3748 !important;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.98rem;
    color: #1a202c !important;
    margin-bottom: 8px;
}

.form-label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: #718096 !important;
    margin-top: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--text-font);
    font-size: 1rem;
    color: #1a202c !important;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #a0aec0 !important;
    opacity: 1;
}

.form-control:focus {
    outline: none;
    border-color: var(--hero-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    color: #1a202c !important;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.custom-radio,
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #2d3748 !important;
    cursor: pointer;
    line-height: 1.5;
}

.custom-radio span,
.custom-checkbox span {
    color: #2d3748 !important;
}

.custom-radio strong,
.custom-checkbox strong {
    color: #1a202c !important;
}

.custom-radio input,
.custom-checkbox input {
    margin-top: 3px;
    accent-color: var(--hero-color);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.rsvp-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: var(--text-font);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: var(--hero-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.35);
    transition: var(--transition);
}

.rsvp-submit-btn:hover {
    background-color: var(--hero-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.45);
}

.rsvp-success-message {
    display: none;
    background: #eafaf1;
    border: 2px solid #2ecc71;
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    color: #145a32;
    margin-bottom: 25px;
}

.rsvp-success-message h3 {
    font-family: var(--serif-font);
    font-size: 2rem;
    color: #27ae60;
    margin-bottom: 12px;
}

.rsvp-summary-card h4 {
    font-family: var(--serif-font);
    font-size: 1.6rem;
    color: var(--hero-color);
    margin-bottom: 8px;
}

.rsvp-summary-card > p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.summary-list {
    list-style: none;
    max-height: 42vh;
    overflow-y: auto;
    margin-bottom: 18px;
    border-top: 1px solid #e2e8f0;
}

.summary-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-primary);
    line-height: 1.55;
}

.summary-list strong {
    color: var(--text-primary);
}

.summary-list:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.summary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    border: 1px solid #cbd5e0;
    border-radius: 20px;
    background: #edf2f7;
    color: var(--text-primary);
    padding: 8px 14px;
    font-family: var(--text-font);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.summary-action:hover {
    background: #dbe7f2;
    color: var(--text-primary);
}

.summary-action.summary-primary {
    background: var(--hero-color);
    border-color: var(--hero-color);
    color: #ffffff;
}

.summary-action.summary-primary:hover {
    background: var(--hero-color-dark);
    border-color: var(--hero-color-dark);
    color: #ffffff;
}

.summary-copy-status {
    min-height: 1.4em;
    margin-top: 10px;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ==========================================================================
   Modals & Lightbox
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 35px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 15px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.page-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #ffffff;
    padding: 60px 0 35px;
    text-align: center;
}

.footer-names {
    font-family: var(--script-font);
    font-size: 3.5rem;
    color: #d4e9f7;
    line-height: 1;
    margin-bottom: 12px;
}

.footer-tagline {
    font-family: var(--headline-font);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 25px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin-bottom: 30px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-nav a:hover {
    color: #d4e9f7;
}

.footer-credits {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .canva-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .proposal-grid {
        grid-template-columns: 1fr;
    }

    .two-cultures-card {
        grid-template-columns: 1fr;
    }

    .two-cultures-photo {
        height: 260px;
    }

    .location-list {
        grid-template-columns: 1fr;
    }

    .parking-guide-grid {
        grid-template-columns: 1fr;
    }

    .accommodations-grid {
        grid-template-columns: 1fr;
    }

    .miltenberg-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .organizers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.6rem;
    }

    .hero-tagline {
        font-size: 1.6rem;
    }

    .hero-content {
        padding-left: 20px;
        max-width: 100%;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .navigation-container {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        visibility: hidden;
    }

    .navigation-container.open {
        transform: translateY(0);
        visibility: visible;
    }

    .navigation {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .navigation-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .nav-rsvp-btn {
        margin: 10px auto 0;
        display: inline-block;
    }

    .hero-stairs-controller {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }

    .hero-stairs-hint {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .two-cultures-photo {
        height: 220px;
    }

    .two-cultures-content {
        padding: 24px;
    }

    .venue-gallery {
        grid-auto-rows: 72px;
    }

    .wedding-map {
        height: 360px;
    }

    .map-legend-cards {
        grid-template-columns: 1fr;
    }

    .countdown-boxes {
        gap: 8px;
    }

    .countdown-box {
        min-width: 55px;
        padding: 6px 10px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .canva-cards-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .miltenberg-highlights {
        grid-template-columns: 1fr;
    }

    .lang-switcher {
        top: 8px;
        right: 8px;
    }
}

.gallery-photo-item:focus-visible,
.map-legend-item:focus-visible,
.summary-action:focus-visible,
.lang-btn:focus-visible,
.modal-close-btn:focus-visible,
.lightbox-close:focus-visible,
.mobile-nav-toggle:focus-visible,
.navigation-link:focus-visible,
.rsvp-submit-btn:focus-visible,
.leaflet-marker-icon:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
