/* ============================================
   Google Fonts Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Dancing+Script:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');


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

:root {
    --primary-color: #8B4A4A;
    --secondary-color: #F5F1EB;
    --accent-color: #8B4A4A;
    --text-dark: #8B4A4A;
    --text-light: #8B4A4A;
    --bg-light: #F5F1EB;
    --white: #F5F1EB;
    --shadow: rgba(139, 74, 74, 0.1);
    --shadow-hover: rgba(139, 74, 74, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Prevent scrolling when lightbox is open - position is handled by JS to maintain scroll view */
body.lightbox-open {
    overflow: hidden;
}

html.lightbox-open {
    overflow: hidden;
}

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

/* Location page containers - keep max-width 1200px */
.venues .container,
.accommodation .container {
    max-width: 1200px;
}

/* Story page containers - keep max-width 1200px */
.story-intro .container,
.story-meet .container,
.story-how-we-met .container,
.story-journey .container,
.story-trips .container,
.story-proposal .container,
.story-ever-after .container {
    max-width: 1200px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(245, 241, 235, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 74, 74, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex: 0 0 auto;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: none;
    font-family: 'Allura', cursive;
    margin: 0;
    transition: color 0.3s ease;
}

.logo-link:hover h1 {
    color: var(--primary-color);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: normal;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-toggle {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: normal;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-light);
}

.language-toggle:active {
    transform: translateY(0);
}

.language-toggle .lang-current {
    font-weight: bold;
    text-decoration: underline;
}

.language-toggle .lang-other {
    opacity: 0.7;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    /* Use local image first, fallback to original URL if not available */
    background-image: url('../images/full/landing.jpg'), url('https://images.pixieset.com/82784299/90cc6fcf2e899b038db4af58559a8bda-cover.jpg');
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 7rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.2;
    color: #FFFFFF;
    animation: fadeInUp 1s ease;
    font-family: 'Dancing Script', cursive;
    white-space: pre-line;
}

.hero-subtitle {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.2;
    color: #FFFFFF;
    font-family: 'Dancing Script', cursive;
    animation: fadeInUp 1s ease 0.2s both;
    white-space: pre-line;
}

.hero-date {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: none;
    color: #FFFFFF;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
    font-family: "Dancing Script", cursive;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: #FFFFFF;
    color: var(--primary-color);
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: normal;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: none;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-style: normal;
    text-transform: none;
    letter-spacing: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color);
    font-style: normal;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-description-container {
    margin-bottom: 30px;
    min-height: 60px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 20px;
}

.gallery-description {
    font-size: 1.1rem;
    color: var(--text-color);
    font-style: normal;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    margin: 0 0 30px 0;
    display: none;
}

.gallery-description.active {
    display: block;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: var(--bg-light);
    width: 100%;
    max-width: 100%;
}

.gallery .container {
    max-width: 100%;
    padding: 0 20px;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 30px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: normal;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--bg-light);
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
}

.gallery-subsection {
    margin-bottom: 60px;
}

.gallery-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 2px;
    text-align: center;
    text-transform: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

/* Guest Upload Section */
.guest-upload-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 200px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-form input[type="file"] {
    padding: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--primary-color);
    cursor: pointer;
}

.upload-form input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    border-width: 2px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.video-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-item iframe {
    width: 100%;
    height: 100%;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 100px 80px; /* More bottom padding */
    box-sizing: border-box;
}

.lightbox-image {
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 180px); /* More bottom padding */
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0;
    /* Ensure image respects both constraints simultaneously */
    box-sizing: border-box;
    /* Force image to fit within constraints */
    image-rendering: auto;
    /* Ensure image fits within viewport */
    object-position: center;
    /* Prevent image from overflowing */
    overflow: hidden;
    /* Allow clicks to pass through to navigation buttons */
    pointer-events: none;
    position: relative;
    z-index: 2000;
}

/* Ensure image fits within viewport on all screen sizes */
@media (max-width: 768px) {
    .lightbox.active {
        padding: 50px 50px 80px 50px; /* More bottom padding */
    }
    
    .lightbox-image {
        max-width: calc(100vw - 100px) !important;
        max-height: calc(100vh - 160px) !important; /* More bottom padding */
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
    
    .lightbox-prev {
        left: 0;
        width: 33.33%;
        padding-left: 20px;
    }
    
    .lightbox-prev::before {
        font-size: 2.5rem;
    }
    
    .lightbox-next {
        right: 0;
        width: 66.67%;
        padding-right: 20px;
    }
    
    .lightbox-next::before {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .lightbox.active {
        padding: 40px 40px 80px 40px; /* More bottom padding */
    }
    
    .lightbox-image {
        max-width: calc(100vw - 80px) !important;
        max-height: calc(100vh - 140px) !important; /* More bottom padding */
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    
    .lightbox-prev {
        left: 0;
        width: 33.33%;
        padding-left: 15px;
    }
    
    .lightbox-prev::before {
        font-size: 2rem;
    }
    
    .lightbox-next {
        right: 0;
        width: 66.67%;
        padding-right: 15px;
    }
    
    .lightbox-next::before {
        font-size: 2rem;
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close {
    top: 20px;
    right: 30px;
    z-index: 2002; /* Higher z-index to be above navigation buttons */
    pointer-events: auto; /* Ensure it's clickable */
}

.lightbox-prev {
    left: 0;
    top: 0;
    width: 33.33%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align to left */
    padding-left: 30px;
    transform: none;
    font-size: 0; /* Hide text content */
}

.lightbox-prev::before {
    content: '<';
    font-size: 3rem;
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-prev:hover::before {
    opacity: 1;
}

.lightbox-next {
    right: 0;
    top: 0;
    width: 66.67%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
    transform: none;
    font-size: 0; /* Hide text content */
}

.lightbox-next::before {
    content: '>';
    font-size: 3rem;
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-next:hover::before {
    opacity: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
}

/* ============================================
   Countdown Section
   ============================================ */
.countdown {
    background: var(--bg-light);
    color: var(--primary-color);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 120px;
}

.countdown-number {
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 1.2rem;
    opacity: 1;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* ============================================
   RSVP Section
   ============================================ */
.rsvp {
    background: var(--bg-light);
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--primary-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    border-width: 2px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    border-radius: 0;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-label span {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Checkbox Group Styles */
.ceremony-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Field Note Styles */
.field-note {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

/* Conditional Fields */
.conditional-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 74, 74, 0.2);
}

.form-error {
    color: #721c24;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: var(--bg-light);
    padding: 30px;
    border: 1px solid var(--primary-color);
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* Couple names styling - elegant script font */
.contact-name,
.story-person-name {
    font-family: 'Allura', 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: none;
    margin: 10px 0;
    line-height: 1.3;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border: 1px solid var(--primary-color);
}

/* ============================================
   Timeline Section
   ============================================ */
.timeline {
    padding: 0;
    background: var(--bg-light);
}

.timeline .container {
    padding: 60px 20px 0;
    width: 100%;
}

.timeline-separator {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    margin: 0 0 60px 0;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding: 60px 40px;
    border: none;
    box-shadow: none;
    width: 100%;
}

.timeline-item:nth-child(1) {
    background: #FFF8E7;
}

.timeline-item:nth-child(2) {
    background: transparent;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    width: 65%;
}

.timeline-title {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.timeline-date {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.75rem;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

.timeline-info {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.25rem;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    line-height: 1.8;
}

.timeline-info[data-i18n*="Intro"] {
    width: 95%;
    margin: 0 0 1rem 0;
}

.timeline-location-name,
.timeline-address,
.timeline-city {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.25em;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

.timeline-map-link {
    color: var(--primary-color);
    text-decoration: underline;
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    transition: opacity 0.3s ease;
}

.timeline-map-link:hover {
    opacity: 0.7;
}

.timeline-address-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    transition: opacity 0.3s ease;
}

.timeline-address-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.timeline-image {
    width: 65%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.story-section {
    padding: 100px 0;
    background: var(--bg-light);
}

/* ============================================
   Story Page Sections
   ============================================ */

/* Story Timeline Header */
.story-timeline {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    background: rgba(245, 241, 235, 0.7);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(139, 74, 74, 0.15);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.story-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.story-timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.story-timeline-item:hover {
    background: rgba(139, 74, 74, 0.05);
}

.story-timeline-item:hover .story-timeline-dot {
    transform: scale(1.3);
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 74, 74, 0.2);
}

.story-timeline-item.active .story-timeline-dot {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(139, 74, 74, 0.3);
}

.story-timeline-item.active .story-timeline-label {
    font-weight: 600;
    color: var(--primary-color);
}

.story-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.5;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.story-timeline-item.active .story-timeline-dot {
    opacity: 1;
}

.story-timeline-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

/* Responsive: Adjust timeline for smaller screens */
@media (max-width: 1024px) {
    .story-timeline-container {
        gap: 20px;
        padding: 12px 15px;
    }
    
    .story-timeline-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .story-timeline-container {
        gap: 12px;
        padding: 10px 12px;
    }
    
    .story-timeline-item {
        gap: 5px;
        padding: 4px 6px;
    }
    
    .story-timeline-label {
        font-size: 0.65rem;
    }
    
    .story-timeline-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .story-timeline-container {
        gap: 8px;
        padding: 8px 10px;
    }
    
    .story-timeline-item {
        gap: 4px;
        padding: 3px 5px;
    }
    
    .story-timeline-label {
        font-size: 0.55rem;
    }
    
    .story-timeline-dot {
        width: 8px;
        height: 8px;
    }
}

.story-intro {
    height: calc(100vh - 160px);
    min-height: calc(100vh - 160px);
    /* Use local image first, fallback to original URL if not available */
    background-image: url('../images/full/intro.jpeg'), url('https://i.imgur.com/WvIv4Y1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 15vh;
}

.story-intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.story-intro .container {
    position: relative;
    z-index: 2;
}

.story-intro-header {
    margin-bottom: 0;
}

.story-intro-title {
    color: #FFFFFF;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.story-intro-subtitle {
    color: #FFFFFF;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.story-meet {
    padding: 20px 0 20px 0;
    background: var(--bg-light);
}

.story-how-we-met {
    padding: 20px 0 80px 0;
    background: var(--bg-light);
}

.story-journey,
.story-trips,
.story-proposal,
.story-ever-after {
    padding: 20px 0 20px 0;
    background: var(--bg-light);
}

.story-person {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.story-person.story-bride {
    flex-direction: row;
}

.story-person.story-groom {
    flex-direction: row-reverse;
}

.story-person-photo {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    position: relative;
    padding: 15px;
    background: #fff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-person-photo-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.story-person.story-groom .story-person-photo {
    overflow: visible;
}

.story-person.story-groom .story-person-photo img {
    transform: scale(1.4);
    transform-origin: center center;
    position: relative;
}

.story-person-content {
    flex: 1;
    max-width: 600px;
}

.story-person-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
}

.story-person-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.story-person-section {
    margin-bottom: 25px;
}

.story-person-section h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-person-section .story-person-quote {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: normal;
    border-left: none;
    padding-left: 0;
    margin-bottom: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.story-person-bio {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    padding-left: 20px;
    list-style-type: disc;
    list-style-position: outside;
}

.story-person-bio li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.story-person-quote {
    font-size: 1rem;
    color: var(--primary-color);
    font-style: italic;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    margin-top: 15px;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    overflow: visible;
}

.story-content p {
    margin-bottom: 20px;
}

/* General story image styles */
.story-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.story-image-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

/* How We Met section */
.story-how-we-met-text {
    margin-bottom: 20px;
}

.story-how-we-met-text p {
    margin-bottom: 0;
}

.story-how-we-met-text p:last-child {
    margin-bottom: 0;
}

.story-how-we-met-intro {
    margin-bottom: 0;
}

.story-how-we-met-p1 {
    margin-bottom: 0;
}

/* How We Met - 3 columns layout: paragraph 2, image 1, image 2 */
.story-how-we-met-three-columns {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    margin: 20px 0;
    padding: 0;
    align-items: start;
}

.story-how-we-met-column-text {
    display: flex;
    flex-direction: column;
}

.story-how-we-met-column-text p {
    margin: 0;
}

.story-how-we-met-column-images {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
}

/* How We Met - Overlapping images */
.story-how-we-met-images-overlap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 300px;
}

.story-how-we-met-image-overlap {
    position: relative;
    width: 51%;
    max-width: 390px;
    aspect-ratio: 3 / 4;
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, z-index 0.3s ease;
    margin: 0 -40px;
}

.story-how-we-met-image-overlap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Alt text tooltip on hover */
.story-image-alt-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
    pointer-events: none;
    z-index: 10;
    width: max-content;
    max-width: 600px;
    min-width: 200px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
}

.story-image-alt-text::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.85);
}

.story-how-we-met-image-overlap:hover .story-image-alt-text {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Journey images alt text on hover */
.story-journey-column-image:hover .story-image-alt-text,
.story-journey-image-overlap:hover .story-image-alt-text,
.story-journey-grid-image:hover .story-image-alt-text {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Column image and ever after item alt text on hover */
.story-column-image:hover .story-image-alt-text,
.story-ever-after-item:hover .story-image-alt-text {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Two images overlapping for How We Met */
.story-how-we-met-images-two {
    padding: 0;
}

.story-how-we-met-images-two .story-how-we-met-image-overlap:first-child {
    z-index: 2;
    transform: rotate(-5deg) translateX(-120px);
    margin-right: -120px;
}

.story-how-we-met-images-two .story-how-we-met-image-overlap:first-child:hover {
    z-index: 3;
    transform: rotate(0deg) translateX(-120px) scale(1.05);
}

.story-how-we-met-images-two .story-how-we-met-image-overlap:last-child {
    z-index: 1;
    transform: rotate(5deg) translateX(120px);
    margin-left: -120px;
}

.story-how-we-met-images-two .story-how-we-met-image-overlap:last-child:hover {
    z-index: 3;
    transform: rotate(0deg) translateX(120px) scale(1.05);
}

/* How We Met - 2 columns layout */
.story-two-columns {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin: 40px 0 0 0;
    align-items: start;
    overflow: visible;
}

.story-column-text {
    display: flex;
    flex-direction: column;
}

.story-column-text p {
    margin: 0;
}

.story-column-image {
    width: 100%;
    position: relative;
    overflow: visible;
}

.story-column-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-column-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.story-column-image .story-image-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

/* Journey section */
.story-journey-intro {
    margin-bottom: 15px;
}

.story-journey p {
    margin-bottom: 15px;
}

.story-journey p[data-i18n="story.journeyParagraph2"] {
    padding-top: 20px;
    margin-bottom: 30px;
}

/* Journey 2 columns layout */
.story-journey-two-columns {
    display: grid;
    grid-template-columns: 0.9fr 2fr;
    gap: 30px;
    margin: 0;
    align-items: start;
}

.story-journey-column-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.story-journey-column-left p {
    margin: 0;
    text-align: left;
}

.story-journey-column-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.story-journey-column-right p {
    margin: 0;
}

.story-journey-column-image {
    width: 100%;
    position: relative;
    overflow: visible;
    padding-bottom: 20px;
}

.story-journey-column-image img {
    width: 220px;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-journey-column-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.story-journey-images-overlap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    min-height: 200px;
    width: 100%;
    padding-bottom: 20px;
}

.story-journey-image-overlap {
    position: relative;
    width: 70%;
    max-width: 420px;
    max-height: 490px;
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, z-index 0.3s ease;
    margin: 0 -30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-journey-image-overlap img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* Two images overlapping */
.story-journey-images-two {
    padding: 0 40px;
}

.story-journey-images-two .story-journey-image-overlap:first-child {
    z-index: 1;
    transform: rotate(-5deg) translateX(-20px);
    margin-right: -60px;
}

.story-journey-images-two .story-journey-image-overlap:last-child {
    z-index: 2;
    transform: rotate(5deg) translateX(20px) translateY(80px);
    margin-left: -60px;
    width: 84%;
    max-width: 504px;
    max-height: 588px;
}

.story-journey-images-two .story-journey-image-overlap:first-child:hover {
    z-index: 3;
    transform: rotate(0deg) scale(1.05);
}

.story-journey-images-two .story-journey-image-overlap:last-child:hover {
    z-index: 3;
    transform: rotate(0deg) scale(1.05) translateY(80px);
}

.story-journey-graduation .story-journey-image-overlap:first-child {
    z-index: 2;
    width: 51%;
    max-width: 336px;
    max-height: 392px;
    transform: rotate(-5deg) translateX(-60px);
    
}

.story-journey-graduation .story-journey-image-overlap:last-child {
    z-index: 1;
    width: 40%;
    max-width: 280px;
    max-height: 336px;
    transform: rotate(5deg) translateX(60px);
}

.story-journey-graduation .story-journey-image-overlap:first-child:hover {
    z-index: 3;
    transform: rotate(0deg) translateX(-60px) scale(1.05);
}

.story-journey-graduation .story-journey-image-overlap:last-child:hover {
    z-index: 3;
    transform: rotate(0deg) translateX(60px) scale(1.05);
}

.story-journey-graduation {
    padding-bottom: 40px;
    margin-bottom: 40px;
}

/* Three images overlapping */
.story-journey-images-three {
    padding: 0 80px;
}

.story-journey-images-three .story-journey-image-overlap:nth-child(1) {
    z-index: 3;
    transform: rotate(-8deg) translateX(30px);
    margin-right: -60px;
}

.story-journey-images-three .story-journey-image-overlap:nth-child(2) {
    z-index: 2;
    transform: rotate(0deg) translateX(0);
    margin: 0 -60px;
}

.story-journey-images-three .story-journey-image-overlap:nth-child(3) {
    z-index: 1;
    transform: rotate(8deg) translateX(-30px);
    margin-left: -60px;
}

.story-journey-images-three .story-journey-image-overlap:hover {
    z-index: 4;
    transform: rotate(0deg) translateX(0) scale(1.05);
}

/* Travel photos grid layout */
.story-journey-images-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 15px;
    margin: 0;
    align-items: stretch;
    padding-bottom: 20px;
}

.story-journey-grid-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.story-journey-grid-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-journey-grid-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-journey-grid-left .story-journey-grid-image {
    flex: 0 1 auto;
}

.story-journey-grid-right .story-journey-grid-image {
    flex: 1 1 auto;
    height: 100%;
}

.story-journey-grid-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.story-journey-grid-left .story-journey-grid-image img {
    max-height: 300px;
}

.story-journey-grid-left .story-journey-grid-image:nth-child(2) img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    aspect-ratio: auto;
}

.story-journey-grid-right .story-journey-grid-image img {
    height: 100%;
    object-fit: cover;
}

.story-journey-grid-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Disable all hover effects on smaller devices */
    .story-how-we-met-image-overlap:hover,
    .story-journey-image-overlap:hover,
    .story-journey-column-image:hover,
    .story-journey-grid-image:hover,
    .story-column-image:hover,
    .story-proposal-image:hover,
    .story-proposal-conclusion-images:hover,
    .story-ever-after-item:hover {
        transform: none !important;
        box-shadow: inherit !important;
        scale: 1 !important;
    }
    
    /* Specifically disable box-shadow changes on hover for images */
    .story-how-we-met-image-overlap img:hover,
    .story-journey-image-overlap img:hover,
    .story-journey-column-image img:hover,
    .story-journey-grid-image img:hover,
    .story-column-image img:hover,
    .story-proposal-image img:hover,
    .story-proposal-conclusion-images img:hover,
    .story-ever-after-item img:hover {
        transform: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        scale: 1 !important;
    }
    
    /* Disable shadow changes when hovering over containers (which affects alt text) */
    .story-how-we-met-image-overlap:hover,
    .story-journey-image-overlap:hover,
    .story-journey-column-image:hover,
    .story-journey-grid-image:hover {
        box-shadow: none !important;
        transition: none !important;
    }
    
    .story-how-we-met-image-overlap:hover img,
    .story-journey-image-overlap:hover img,
    .story-journey-column-image:hover img,
    .story-journey-grid-image:hover img {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        transition: none !important;
    }
    
    .story-journey-column-image:hover,
    .story-journey-grid-image:hover {
        transform: none !important;
    }
    
    .story-journey-column-image:hover img,
    .story-journey-grid-image:hover img {
        transform: none !important;
    }
    
    .story-journey-images-overlap {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
        padding: 0 !important;
    }

    .story-journey-image-overlap {
        width: 80%;
        max-width: 300px;
        max-height: 400px;
        transform: none !important;
        margin: 0 !important;
        flex-direction: column;
        padding-bottom: 0;
        box-shadow: none;
        transition: none !important;
    }

    .story-journey-image-overlap img {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: none !important;
    }

    .story-journey-images-two .story-journey-image-overlap:first-child,
    .story-journey-images-two .story-journey-image-overlap:last-child,
    .story-journey-images-three .story-journey-image-overlap:nth-child(1),
    .story-journey-images-three .story-journey-image-overlap:nth-child(2),
    .story-journey-images-three .story-journey-image-overlap:nth-child(3) {
        transform: none !important;
        margin: 0 !important;
    }

    .story-journey-image-overlap:hover {
        transform: none !important;
        box-shadow: none !important;
        transition: none !important;
    }
    
    .story-journey-image-overlap:hover img {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        transition: none !important;
    }

    /* Travel photos grid responsive */
    .story-journey-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-journey-grid-image {
        max-height: 400px;
        flex-direction: column;
        padding-bottom: 0;
        transition: none !important;
        box-shadow: none !important;
    }
    
    .story-journey-grid-image img {
        transition: none !important;
    }

    .story-journey-grid-left .story-journey-grid-image:first-child {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .story-journey-grid-left .story-journey-grid-image:first-child img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        padding: 0;
        margin: 0;
    }

    /* Journey 2 columns responsive */
    .story-journey-two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-journey-column-left {
        align-items: flex-start;
    }
    
    .story-journey-column-left p {
        text-align: left;
    }

    .story-journey-column-image {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 0;
        transition: none !important;
    }
    
    .story-journey-column-image .story-image-caption {
        text-align: center;
    }

    .story-journey-column-image img {
        max-height: 300px;
        margin: 0 auto;
        transition: none !important;
    }
}

/* Proposal section - Quotes box */
.story-quotes-box {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.story-quote {
    margin: 0;
}

.story-quote-label {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.story-quote-text {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Proposal section - Side by side images */
.story-proposal-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0 0 0;
    padding: 0;
}

.story-proposal-image {
    width: 100%;
    max-width: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

.story-proposal-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
}

.story-proposal-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.story-proposal-image .story-image-caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.story-proposal-conclusion {
    text-align: left;
}

.story-proposal-conclusion-images {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.story-proposal-conclusion-images img {
    width: 500px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
    margin: 0 auto;
}

.story-proposal-conclusion-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.story-proposal-conclusion-images .story-image-caption {
    text-align: center;
    align-self: center;
}

/* Proposal section paragraph spacing */
.story-proposal p {
    margin-bottom: 15px;
}

/* Ever After section */
.story-ever-after-intro {
    margin-bottom: 30px;
}

.story-ever-after-intro p {
    margin-bottom: 0;
}

.story-ever-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 0 0;
}

.story-ever-after-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.story-ever-after-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-ever-after-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.story-ever-after-item .story-image-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.story-ever-after-conclusion {
    text-align: left;
}

.story-ever-after-conclusion p {
    margin: 0;
}

/* ============================================
   RSVP Banner Section
   ============================================ */
.rsvp-banner {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    /* Use local image first, fallback to original URL if not available */
    background-image: url('../images/full/rsvp-banner.JPG'), url('https://images.pixieset.com/82784299/0977e1564f7442fe1cf6513cf67a8df1-xxlarge.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rsvp-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.rsvp-banner-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.rsvp-banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    margin-top: 0;
}

.rsvp-banner-title {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.3;
}

.rsvp-banner-cta {
    font-size: 1.2rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: normal;
    letter-spacing: 1px;
    color: #FFFFFF;
    font-family: 'Arial', sans-serif;
}

.btn-rsvp-banner {
    background: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: normal;
    font-family: 'Arial', sans-serif;
    padding: 15px 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-rsvp-banner:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Countdown inside RSVP Banner */
.rsvp-banner-content .countdown-container {
    margin: 2rem 0;
}

.rsvp-banner-content .countdown-number {
    color: #FFFFFF;
}

.rsvp-banner-content .countdown-label {
    color: #FFFFFF;
}

/* ============================================
   Story Join Us Section
   ============================================ */
.story-join-us {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.story-join-us-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-join-us-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================
   Explore Section
   ============================================ */
.explore-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.explore-text {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.explore-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-explore {
    background: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: normal;
    font-family: 'Arial', sans-serif;
    padding: 12px 40px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-explore:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-light);
    color: var(--primary-color);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--primary-color);
}

.footer p {
    opacity: 0.8;
    margin: 0;
}

.footer-logo {
    font-family: 'Allura', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: none;
    display: inline-block;
    vertical-align: baseline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(139, 74, 74, 0.3);
    padding: 0;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 74, 74, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-subtitle {
        font-size: 3.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .countdown-container {
        gap: 30px;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        gap: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo h1 {
        font-size: 1.75rem;
    }
    
    .nav-actions {
        margin-left: auto;
    }
    
    .language-toggle {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid var(--primary-color);
        padding: 2rem 0;
        gap: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .contact-name,
    .story-person-name {
        font-size: 2rem;
    }
    
    .hero-date {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline .container {
        padding: 40px 20px 0;
    }
    
    .timeline-separator {
        margin: 0 0 40px 0;
        height: 2px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .timeline-image {
        order: -1;
        min-height: 250px;
    }
    
    .timeline-title {
        font-size: 1.75rem;
    }
    
    .timeline-date {
        font-size: 1.25rem;
    }

    .timeline-info {
        font-size: 0.9rem;
    }
    
    .timeline-location-name,
    .timeline-address,
    .timeline-city {
        font-size: 1rem;
    }
    
    .timeline-map-link,
    .timeline-address-link {
        font-size: 1rem;
    }

    
    .story-section {
        padding: 60px 0;
    }
    
    .story-intro {
        height: 100vh;
        min-height: 100vh;
    }
    
    .story-intro-title {
        font-size: 3rem;
    }
    
    .story-intro-subtitle {
        font-size: 1.3rem;
    }
    
    .story-meet {
        padding: 35px 0 35px 0;
    }
    
    .story-how-we-met,
    .story-journey,
    .story-trips,
    .story-proposal,
    .story-ever-after {
        padding: 15px 0 15px 0;
    }
    
    .story-person {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .story-person.story-bride,
    .story-person.story-groom {
        flex-direction: column;
    }
    
    /* Groom section: image should appear before content on smaller devices */
    .story-person.story-groom {
        display: flex;
        flex-direction: column;
    }
    
    .story-person.story-groom .story-person-photo {
        order: -1;
    }
    
    .story-person.story-groom .story-person-content {
        order: 0;
    }
    
    .story-person-photo {
        width: 250px;
        height: 330px;
        margin: 0 auto;
    }
    
    .story-person-content {
        max-width: 100%;
    }
    
    .story-person-content h3 {
        font-size: 1.75rem;
    }
    
    .story-person-subtitle {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }
    
    .story-person-section {
        margin-bottom: 20px;
    }
    
    .story-person-section h4 {
        font-size: 1rem;
    }
    
    .story-person-bio {
        font-size: 1rem;
        text-align: left;
    }
    
    .story-person-quote {
        font-size: 1rem;
    }
    
    .story-person-section .story-person-quote {
        font-size: 1rem;
    }
    
    .story-content {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    /* How We Met - 3 columns layout responsive */
    .story-how-we-met-three-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* How We Met - Overlapping images responsive */
    .story-how-we-met-images-overlap {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
        padding: 0 !important;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .story-how-we-met-image-overlap {
        width: 85%;
        max-width: 350px;
        transform: none !important;
        margin: 0 !important;
        overflow: visible;
        flex-direction: column;
        padding-bottom: 0;
        min-height: auto;
    }

    .story-how-we-met-images-two .story-how-we-met-image-overlap:first-child,
    .story-how-we-met-images-two .story-how-we-met-image-overlap:last-child {
        transform: none !important;
        margin: 0 !important;
    }

    .story-how-we-met-images-two .story-how-we-met-image-overlap:first-child {
        margin-bottom: 20px !important;
    }

    .story-how-we-met-image-overlap:hover {
        transform: none !important;
    }

    /* Alt text tooltip responsive */
    .story-image-alt-text {
        position: static;
        bottom: auto;
        left: auto;
        transform: none;
        background: transparent;
        color: var(--primary-color);
        padding: 10px 0 0 0;
        border-radius: 0;
        font-size: 0.9rem;
        white-space: normal;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        max-width: 100%;
        width: 100%;
        text-align: center;
        line-height: 1.4;
        margin-top: 8px;
        margin-bottom: 15px;
        display: block;
    }
    
    /* Prevent hover on parent when hovering over alt text */
    .story-image-alt-text:hover {
        pointer-events: none;
    }
    
    .story-how-we-met-image-overlap:has(.story-image-alt-text:hover),
    .story-journey-image-overlap:has(.story-image-alt-text:hover),
    .story-journey-column-image:has(.story-image-alt-text:hover),
    .story-journey-grid-image:has(.story-image-alt-text:hover) {
        box-shadow: none !important;
    }
    
    .story-how-we-met-image-overlap:has(.story-image-alt-text:hover) img,
    .story-journey-image-overlap:has(.story-image-alt-text:hover) img,
    .story-journey-column-image:has(.story-image-alt-text:hover) img,
    .story-journey-grid-image:has(.story-image-alt-text:hover) img {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .story-image-alt-text::before {
        display: none;
    }

    .story-how-we-met-image-overlap:hover .story-image-alt-text,
    .story-journey-column-image:hover .story-image-alt-text,
    .story-journey-image-overlap:hover .story-image-alt-text,
    .story-journey-grid-image:hover .story-image-alt-text,
    .story-column-image:hover .story-image-alt-text,
    .story-ever-after-item:hover .story-image-alt-text {
        opacity: 1;
        visibility: visible;
        bottom: auto;
    }
    
    /* How We Met - paragraph 3 and image 3 responsive */
    .story-two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0 0 0;
    }
    
    .story-how-we-met .story-two-columns .story-column-image {
        order: 2;
    }
    
    .story-how-we-met .story-two-columns .story-column-text {
        order: 1;
    }
    
    /* Proposal section - Side by side images responsive */
    .story-proposal-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Proposal quotes responsive */
    .story-quotes-box {
        padding: 15px;
        gap: 12px;
    }
    
    .story-quote-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .story-quote-text {
        font-size: 0.9rem;
    }
    
    /* Ever After section - 3 columns responsive */
    .story-ever-after-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bride-groom-section {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .bride-groom-section .section-header {
        margin-bottom: 30px;
    }
    
    .bride-groom-content {
        gap: 1.5rem;
    }
    
    .bride-groom-photos {
        gap: 30px;
    }
    
    .bride-groom-photo {
        min-width: 180px;
        max-width: 280px;
    }
    
    .person-name {
        font-size: 1.5rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .rsvp-banner {
        height: 70vh;
        min-height: 500px;
    }
    
    .rsvp-banner-title {
        font-size: 2.5rem;
    }
    
    .rsvp-banner-subtitle {
        font-size: 1rem;
    }
    
    .rsvp-banner-cta {
        font-size: 1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .story-join-us {
        padding: 60px 0;
    }
    
    .story-join-us-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .explore-section {
        padding: 60px 0;
    }
    
    .explore-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .explore-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-explore {
        width: 100%;
        max-width: 300px;
    }
    
    .countdown-container {
        gap: 20px;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 1rem;
    }
    
    .gallery-tabs {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .tab-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .section-description,
    .gallery-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .gallery-description-container {
        min-height: 50px;
        margin-bottom: 20px;
    }
    
    .gallery-subsection {
        margin-bottom: 40px;
    }
    
    .subsection-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .rsvp-form,
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .contact-name,
    .story-person-name {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-date {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .timeline-date {
        font-size: 1.1rem;
    }
    
    .timeline-info {
        font-size: 1rem;
    }
    
    .timeline-location-name,
    .timeline-address,
    .timeline-city,
    .timeline-map-link,
    .timeline-address-link {
        font-size: 0.9rem;
    }
    
    .timeline .container {
        padding: 30px 15px 0;
    }
    
    .timeline-separator {
        margin: 0 0 30px 0;
        height: 2px;
    }
    
    .timeline-item {
        gap: 25px;
        padding: 30px 15px;
    }
    
    .timeline-image {
        min-height: 200px;
    }
    
    .story-intro {
        height: 100vh;
        min-height: 100vh;
    }
    
    .story-intro-title {
        font-size: 2.5rem;
    }
    
    .story-intro-subtitle {
        font-size: 1.1rem;
    }
    
    .story-meet {
        padding: 35px 0 35px 0;
    }
    
    .story-how-we-met,
    .story-journey,
    .story-trips,
    .story-proposal,
    .story-ever-after {
        padding: 15px 0 15px 0;
    }
    
    .story-person-photo {
        width: 200px;
        height: 265px;
        padding: 10px;
    }
    
    .story-person-content h3 {
        font-size: 1.5rem;
    }
    
    .story-person-subtitle {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .story-person-section {
        margin-bottom: 15px;
    }
    
    .story-person-section h4 {
        font-size: 0.95rem;
    }
    
    .story-person-bio {
        font-size: 0.95rem;
    }
    
    .story-person-quote {
        font-size: 0.95rem;
        padding-left: 15px;
    }
    
    .story-person-section .story-person-quote {
        font-size: 0.95rem;
    }
    
    .story-content {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    /* Proposal quotes responsive - smaller devices */
    .story-quotes-box {
        padding: 12px;
        gap: 10px;
    }
    
    .story-quote-label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .story-quote-text {
        font-size: 0.85rem;
    }
    
    .rsvp-banner {
        height: 60vh;
        min-height: 400px;
    }
    
    .rsvp-banner-title {
        font-size: 2rem;
    }
    
    .rsvp-banner-subtitle {
        font-size: 0.9rem;
    }
    
    .rsvp-banner-cta {
        font-size: 0.9rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .story-join-us {
        padding: 50px 0;
    }
    
    .explore-section {
        padding: 50px 0;
    }
    
    .explore-text {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .btn-explore {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
    
    .btn-rsvp-banner {
        padding: 12px 40px;
        font-size: 0.9rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* Venue Cards Layout - Left Text, Right Map */
.venue-card {
    margin-bottom: 60px;
    scroll-margin-top: 100px; /* Account for fixed header when linking */
}

.venue-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.venue-text {
    flex: 1;
    min-width: 0;
}

.venue-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.venue-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.venue-info {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.venue-info strong {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0;
    flex-shrink: 0;
}

.venue-map {
    flex: 1;
    min-width: 0;
    min-height: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.venue-map:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.venue-map:hover iframe {
    transform: scale(1.05);
}

/* Responsive Design for Venue Cards */
@media (max-width: 768px) {
    .venue-content {
        flex-direction: column;
        gap: 30px;
    }

    .venue-card {
        margin-bottom: 40px;
    }
    
    .venue-map {
        height: 350px;
        order: -1; /* Map appears first on mobile */
    }
    
    .venue-text h3 {
        font-size: 1.5rem;
    }
    
    .venue-info {
        font-size: 1rem;
        flex-direction: column;
        gap: 4px;
    }
    
    .venue-info strong {
        margin-bottom: 4px;
    }
}

/* Accommodation Section */
.accommodation {
    padding: 60px 0;
}

.accommodation-grid {
    display: block;
    margin-top: 40px;
}

.accommodation-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.accommodation-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.accommodation-address,
.accommodation-distance {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 10px 0;
    white-space: pre-line;
}

.accommodation-phone {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 10px 0;
}

.accommodation-phone a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.accommodation-phone a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.accommodation-card .btn {
    margin-top: 20px;
}

/* Accommodation Image Gallery */
.accommodation-image-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.accommodation-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.accommodation-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.accommodation-image-slide.active {
    opacity: 1;
    z-index: 1;
}

.accommodation-image-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.accommodation-image-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.accommodation-image-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.accommodation-image-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .accommodation {
        padding: 40px 0;
    }
    
    .accommodation-grid {
        margin-top: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

