@font-face {
  font-family: tan-mon-cheri; /* set name */
  src: url(../fonts/tan-mon-cheri.ttf); /* url of the font */
}

@font-face {
  font-family: eb-garamond; /* set name */
  src: url(../fonts/EBGaramond-VariableFont_wght.ttf); /* url of the font */
}

/* ============================================
   ENVELOPE OPENING ANIMATION
   ============================================ */

.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(232, 232, 232, 0.65) 0%, rgba(216, 216, 216, 0.65) 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.envelope-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Website content - PowerPoint style reveal */
body.homepage .simple-menu,
body.homepage .hero-image-section,
body.homepage .content-container,
body.homepage .dark-info-section {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.homepage.content-revealed .simple-menu {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.2s;
}

body.homepage.content-revealed .hero-image-section {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.4s;
}

body.homepage.content-revealed .content-container {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.6s;
}

body.homepage.content-revealed .dark-info-section {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.8s;
}

.envelope-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    perspective: 1500px;
    transform-style: preserve-3d;
}

/* Envelope Back - Hidden */
.envelope-back {
    display: none;
}

/* Envelope Front - Hidden */
.envelope-front {
    display: none;
}

/* Envelope Flap - Top triangle */
.envelope-flap {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    transform-origin: top center;
    z-index: 4;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.envelope-flap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 60%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* Left envelope fold */
.envelope-container::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
    filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.08));
}

/* Right envelope fold */
.envelope-container::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, #f5f5f5 0%, #e5e5e5 100%);
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    z-index: 2;
    filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.08));
}

/* Bottom envelope fold */
.envelope-back {
    display: block;
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    background: linear-gradient(0deg, #f0f0f0 0%, #e0e0e0 100%);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    z-index: 1;
}

.envelope-flap.open {
    transform: rotateX(-180deg);
}

/* All folds open together */
.envelope-container.open::before {
    animation: foldOpenLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.envelope-container.open::after {
    animation: foldOpenRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.envelope-container.open .envelope-back {
    animation: foldOpenBottom 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes foldOpenLeft {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}

@keyframes foldOpenRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes foldOpenBottom {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Wax Seal */
.wax-seal {
    position: fixed;
    width: 240px;
    height: 240px;
    background: url('../media/seal.png') no-repeat center center;
    background-size: contain;
    border: none;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 99999;
    outline: none;
    transform-style: preserve-3d;
    transform-origin: center bottom;
}

.seal-shine {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.seal-initials {
    font-family: 'tan-mon-cheri', 'Dancing Script', cursive;
    font-size: 2.6em;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.15);
    letter-spacing: 2px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}

.seal-ampersand {
    font-family: 'eb-garamond', Georgia, serif;
    font-size: 0.7em;
    font-style: italic;
    opacity: 0.85;
    margin: 0 1px;
}

.wax-seal:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.wax-seal.breaking {
    animation: sealMoveUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes sealMoveUp {
    0% { 
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -250%);
        opacity: 0;
    }
}

/* Letter inside envelope - Hidden */
.envelope-letter {
    display: none;
}

.letter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.letter-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    color: #6b7280;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.letter-names {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5em;
    color: #8b7355;
    margin-bottom: 10px;
}

.letter-invite {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    color: #6b7280;
    letter-spacing: 2px;
}

/* Hint text */
.envelope-hint {
    position: absolute;
    bottom: 80px;
    color: rgba(80, 80, 80, 0.7);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95em;
    letter-spacing: 1px;
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

.envelope-hint.hidden {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobile adjustments for envelope */
@media (max-width: 480px) {
    .envelope-container {
        width: 100vw;
        height: 100vh;
    }
    
    .wax-seal {
        width: 90px;
        height: 90px;
    }
    
    .seal-initials {
        font-size: 1.8em;
    }
    
    .letter-names {
        font-size: 2.2em;
    }
    
    .letter-date {
        font-size: 0.9em;
    }
    
    .letter-invite {
        font-size: 0.85em;
    }
    
    .envelope-letter.rise {
        transform: translateY(-40vh);
    }
    
    .envelope-hint {
        font-size: 0.85em;
        bottom: 60px;
    }
}


/* Basic styling for wedding website */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Dancing+Script:wght@600&family=Poppins:wght@200;300;400&family=Raleway:wght@100;200;300;400;600&family=Inter:wght@300;400;500;600;700&display=swap');
:root {
    --emerald: #8b7355;
    --emerald-light: #a08b6e;
    --emerald-lighter: #b5a388;
    --emerald-dark: #6b5a45;
    --gold: #ffffff;
    --yellow-light: #faf8f5;
    --white: #ffffff;
    --gray-50: #fdfcfa;
    --gray-100: #f7f5f2;
    --gray-900: #2d2926;
    --text: #4a4543;
    --text-light: #7a7570;
    --bg-light: var(--white);
    --heading-color: var(--gold);
    --cream: #faf9f7;
    --cream-dark: #f3f1ed;
    --blush: #f0e6e0;
    --taupe: #8b7355;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    background: url('../media/DSC08833.jpeg') fixed center/cover no-repeat;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../media/DSC08833.jpeg') center/cover no-repeat;
    filter: blur(20px);
    z-index: -2;
}

/* Artistic background elements */
body::before {
    content: '✨';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 115, 85, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(180, 160, 140, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 240, 232, 0.02) 0%, transparent 50%);
    animation: floatPattern 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatPattern {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    33% { transform: translate(-20px, -30px) rotate(1deg); }
    66% { transform: translate(20px, -20px) rotate(-1deg); }
}

/* Simple Menu - Top */
.simple-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.simple-menu.scrolled {
    background: rgba(245, 240, 235, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 190, 180, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.menu-left {
    position: absolute;
    left: 40px;
    display: flex;
    align-items: center;
}

.menu-right {
    display: flex;
    align-items: center;
}

.menu-center {
    display: flex;
    gap: 60px;
    align-items: center;
}

.menu-logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* White logo by default */
}

.simple-menu.scrolled .menu-logo {
    filter: brightness(0); /* Dark logo when scrolled on light background */
}

/* Simple Menu Links */
.simple-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.simple-menu.scrolled a {
    color: rgba(80, 60, 50, 0.9);
    text-shadow: none;
}

.simple-menu a.active {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
}

.simple-menu.scrolled a.active {
    color: #8b7355;
}

.simple-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
}

.simple-menu.scrolled a.active::after {
    background: #8b7355;
}

/* Simple Menu Hover */
.simple-menu a:hover {
    color: rgba(255, 255, 255, 1);
}

.simple-menu.scrolled a:hover {
    color: #8b7355;
}

/* Menu CTA Button */
.menu-cta-btn {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.simple-menu.scrolled .menu-cta-btn {
    color: rgba(0, 0, 0, 0.9) !important;
    text-shadow: none;
}

.simple-menu.scrolled:hover {
    color: rgba(0, 0, 0, 1) !important;
    text-shadow: none;
}

.menu-cta-btn:hover {
    color: rgba(255, 255, 255, 1) !important;
}


.simple-menu.scrolled .menu-cta-btn:hover {
    color: rgb(0,0,0) !important;
}

.menu-cta-btn .btn-icon {
    font-size: 1em;
}

/* Hero Image Section - Full Screen */
.hero-image-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-image-container {
    position: absolute;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    transform: none;
    margin: 0;
}

/* Photo Title Overlay */
.photo-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.photo-title-overlay .animated-title {
    font-size: 5em;
    margin: 0 0 20px 0;
    color: white;
    font-weight: 100;
    font-family: 'tan-mon-cheri';
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 12px;
    line-height: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.photo-title-overlay .name-martin,
.photo-title-overlay .name-janca {
    display: inline-block;
}

.photo-title-overlay .name-separator {
    font-size: 0.6em;
    font-weight: 200;
    opacity: 0.8;
    margin: 0 10px;
}

.photo-title-overlay .love-quote {
    margin: 0;
}

.photo-title-overlay .quote-text {
    font-size: 1.8em;
    margin: 0;
    color: white;
    font-style: italic;
    font-family: 'Dancing Script', cursive;
}

/* Hero CTA Button */
.hero-cta {
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3em;
    font-family: 'Open Sans', sans-serif;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: heroPulse 2.5s ease-in-out infinite;
}

.hero-cta-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow:
        0 16px 50px rgba(80, 90, 55, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, var(--emerald-light), var(--emerald-lighter));
    animation: none;
}

.hero-cta-btn:active {
    transform: translateY(-2px) scale(1.04);
}

.hero-cta-btn .btn-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}

@keyframes heroPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 8px 25px rgba(0, 0, 0, 0.35);
    }
}

h1, h2, h3 {
    font-family: tan-mon-cheni;
    color: var(--heading-color);
    font-weight: 600;
    margin: 0;
}



h2, h3 {
    font-family: 'Dancing Script', cursive;
    color: var(--heading-color);
    font-weight: 600;
    margin: 0;
}

h1 {
    font-family: 'tan-mon-cheri';
    font-size: 2.5em;
    text-align: center;
    margin: 0;
    color: var(--gold);
    position: relative;
}

.modern-title {
    font-weight: 500;
    font-size: 2.8em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 400;
}

h2 {
    font-size: 1.8em;
    margin-top: 2.5em;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1em;
}

main {
    padding: 100px 40px 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Single Photo Styles */
.single-photo {
    position: relative;
    display: block;
    padding: 0;
    width: 100%;
}

.single-photo::before {
    content: '';
    position: absolute;
    top: -300px;
    left: -300px;
    right: -300px;
    bottom: -300px;
    background-image: url('media/DSC08833.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px) brightness(0.7);
    z-index: -1;
    border-radius: 0;
    opacity: 0.8;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.gallery-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: transparent;
    padding: 0;
}

/* Hero Photo */
.hero-photo {
    position: relative;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    object-fit: cover;
    filter: brightness(0.95) saturate(1.15) contrast(1.1);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.4),
        inset 0 0 50px rgba(255, 255, 255, 0.05),
        inset 0 0 0 8px rgba(255, 255, 255, 0.1);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05) rotate(0.5deg);
    filter: brightness(0.95) saturate(1.15) contrast(1.1);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.4),
        inset 0 0 50px rgba(255, 255, 255, 0.05);
    z-index: 3;
}

.gallery-photo.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: brightness(1) saturate(1.2) contrast(1.05);
}

.gallery-photo.next {
    transform: translateX(100%) scale(1);
}

.gallery-photo.prev {
    transform: translateX(-100%) scale(1);
}

/* Gallery Controls */
.gallery-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-controls:hover {
    opacity: 1;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1em;
    font-weight: normal;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.gallery-btn:active {
    transform: scale(0.95);
}

/* Gallery Dots */
.gallery-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.gallery-dot.active {
    background: rgba(255, 255, 255, 0.9);
    width: 8px;
    height: 8px;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    backdrop-filter: blur(15px);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
    z-index: 10;
}

button, .btn {
    background-color: var(--emerald);
    color: white;
    border: none;
    padding: 12px 28px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    margin: 20px 0;
}

button:hover, .btn:hover {
    background-color: var(--emerald-dark);
    color: white;
}

/* Typography */
p, li {
    color: var(--yellow-light);
    font-size: 1.1em;
    line-height: 1.7;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--emerald-dark);
    text-decoration: underline;
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 10;
    background: var(--cream);
    max-width: 100%;
    overflow-x: hidden;
}

.content-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    position: relative;
}


.section-card {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.section-card h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 20px;
    color: #6b5a45;
    font-weight: 400;
}

.section-card > p {
    text-align: center;
    font-size: 1.2em;
    color: var(--text);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Content Card - Legacy */
.content-card {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 60px 40px;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Love Bubble Button */
.love-bubble-btn {
    position: fixed;
    bottom: 30px;
    right: 120px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light), #baaf98);
    color: white;
    font-size: 0.8em;
    cursor: pointer;
    z-index: 1000;
    box-shadow:
        0 6px 20px rgba(139, 115, 85, 0.4),
        0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gentlePulse 3s ease-in-out infinite;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-align: center;
}

.love-bubble-btn .btn-text {
    display: block;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.love-bubble-btn.emoji-mode {
    font-size: 1.8em;
}

.love-bubble-btn.emoji-mode .btn-text {
    line-height: 1;
}

.love-bubble-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 8px 25px rgba(139, 115, 85, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--emerald-dark), var(--emerald), #baaf98);
}

.love-bubble-btn:active {
    transform: scale(0.95);
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(0.95); }
    25% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
}

/* Love Bubbles Animation */
.love-bubble {
    position: fixed;
    font-size: 1.5em;
    pointer-events: none;
    z-index: 1001;
    animation: loveBubbleFloat 4s ease-out forwards;
    opacity: 1;
    --drift-x: 0px;
}

@keyframes loveBubbleFloat {
    0% {
        opacity: 1;
        transform: translateY(0px) translateX(0px) scale(1);
    }
    15% {
        opacity: 0.9;
        transform: translateY(calc(var(--travel-y) * 0.09)) translateX(calc(var(--drift-x) * 0.2)) scale(1.1);
    }
    30% {
        opacity: 0.8;
        transform: translateY(calc(var(--travel-y) * 0.25)) translateX(calc(var(--drift-x) * 0.4)) scale(1.2);
    }
    50% {
        opacity: 0.7;
        transform: translateY(calc(var(--travel-y) * 0.44)) translateX(calc(var(--drift-x) * 0.6)) scale(1.1);
    }
    70% {
        opacity: 0.4;
        transform: translateY(calc(var(--travel-y) * 0.625)) translateX(calc(var(--drift-x) * 0.8)) scale(1.0);
    }
    85% {
        opacity: 0.2;
        transform: translateY(calc(var(--travel-y) * 0.81)) translateX(var(--drift-x)) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translateY(var(--travel-y)) translateX(var(--drift-x)) scale(0.7);
    }
}

/* Artistic floating elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.flower-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.4;
}

.hearts-pattern {
    position: absolute;
    top: 60%;
    left: 8%;
    animation: float 8s ease-in-out infinite 2s;
    opacity: 0.3;
}

.leaf-decoration {
    position: absolute;
    top: 30%;
    left: 15%;
    animation: float 7s ease-in-out infinite 4s;
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(5deg); }
    66% { transform: translateY(-8px) rotate(-3deg); }
}






/* Modern Photo Gallery */
.photo-gallery {
    margin: 60px 0;
    position: relative;
}

.photo-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
}

.photo-item:nth-child(even) {
    grid-template-columns: 1fr 2fr;
}

.photo-item:nth-child(even) .photo-text {
    order: -1;
}

.photo-item::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--emerald), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.photo-item:hover::before {
    opacity: 1;
}

.photo-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.photo-item img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.photo-item img:hover::before {
    opacity: 1;
}

.photo-text {
    padding: 0;
    position: relative;
}

.photo-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4em;
    color: var(--emerald);
    opacity: 0.3;
    font-family: 'Dancing Script', cursive;
    line-height: 0.8;
}

.photo-text h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6em;
    color: var(--emerald-dark);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
}

.photo-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--emerald-dark);
    border-radius: 1px;
}

.photo-text p {
    color: var(--text);
    line-height: 1.7;
    font-size: 1.05em;
    font-weight: 400;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Info Section */
.dark-info-section {
    background: var(--cream-dark);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.dark-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 115, 85, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 115, 85, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.dark-info-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.dark-info-container h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.2em;
    margin-bottom: 60px;
    color: rgb(0,0,0);
    font-weight: 300;
    letter-spacing: -0.5px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    background: var(--cream);
    border-radius: 12px;
    padding: 40px 30px 50px 30px;
    border: 1px solid rgba(139, 115, 85, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow:
        0 2px 8px rgba(139, 115, 85, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--taupe), var(--emerald-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-item:hover::before {
    transform: scaleX(1);
}

.info-item:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 30px rgba(139, 115, 85, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 115, 85, 0.3);
}

.info-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.info-item h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(0,0,0);
    letter-spacing: -0.25px;
}

.info-item p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    font-weight: 400;
}

/* Hint text at bottom of card */
.info-hint {
    display: block;
    font-size: 0.75em;
    color: var(--text-light);
    margin-top: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.info-item:hover .info-hint {
    color: var(--taupe);
}

/* Expand icon in corner */
.info-expand-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(139, 115, 85, 0.1);
    color: var(--taupe);
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    line-height: 1;
}

.info-item:hover .info-expand-icon {
    opacity: 1;
    background: rgba(139, 115, 85, 0.2);
    transform: scale(1.15) rotate(90deg);
}

/* Enhanced active/click state */
.info-item:active {
    transform: translateY(-4px) scale(0.98);
}

/* Click Animation Styles */
.info-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

@keyframes gentleScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes simpleBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes slideFromTop {
    0% { transform: translateY(-50px) scale(0.9); opacity: 0.5; }
    50% { transform: translateY(5px) scale(1.02); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes titleBounce {
    0% {
        transform: scale(0.5) translateY(-50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

@keyframes smoothGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 35px rgba(139, 115, 85, 0.4); }
}

@keyframes colorShift {
    0% { background: rgba(255, 255, 255, 0.1); }
    25% { background: rgba(139, 115, 85, 0.2); }
    50% { background: rgba(160, 139, 110, 0.2); }
    75% { background: rgba(107, 90, 69, 0.2); }
    100% { background: rgba(255, 255, 255, 0.1); }
}

.info-item.clicked-date { animation: gentleScale 0.6s ease-in-out; }
.info-item.clicked-location { animation: simpleBounce 0.6s ease-out; }
.info-item.clicked-transport { animation: gentleScale 0.5s ease-in-out; }
.info-item.clicked-parking { animation: softPulse 0.8s ease-in-out; }
.info-item.clicked-hotel { animation: slideFromTop 0.6s ease-out; }
.info-item.clicked-dress { animation: gentleScale 0.6s ease-in-out; }
.info-item.clicked-food { animation: smoothGlow 0.8s ease-in-out; }
.info-item.clicked-children { animation: slideFromTop 0.6s ease-out; }
.info-item.clicked-contact { animation: softPulse 0.8s ease-in-out; }

/* Themed emoji animations */
.emoji-burst {
    position: fixed;
    font-size: 1.5em;
    pointer-events: none;
    z-index: 10002;
    opacity: 1;
    --drift-x: 0px;
    --drift-y: 0px;
}

/* Date & Time - Clean floating effect */
.emoji-date {
    animation: clockFloat 2s ease-out forwards;
}
@keyframes clockFloat {
    0% { opacity: 1; transform: scale(1) translate(0, 0); }
    50% { opacity: 0.8; transform: scale(1.2) translate(calc(var(--drift-x) * 0.5), calc(var(--drift-y) * 0.5)); }
    100% { opacity: 0; transform: scale(0.8) translate(var(--drift-x), var(--drift-y)); }
}

/* Location - Flowers blooming upward */
.emoji-location {
    animation: flowerBloom 2.5s ease-out forwards;
}
@keyframes flowerBloom {
    0% { opacity: 1; transform: scale(0.5) translateY(0px); }
    30% { opacity: 1; transform: scale(1.2) translateY(-30px); }
    60% { opacity: 0.8; transform: scale(1.1) translateY(-80px); }
    100% { opacity: 0; transform: scale(1.3) translateY(-150px); }
}

/* Transport - Cars driving horizontally */
.emoji-transport {
    animation: carDrive 3s linear forwards;
}
@keyframes carDrive {
    0% { opacity: 1; transform: translateX(0px) translateY(0px) scale(1); }
    20% { opacity: 1; transform: translateX(var(--drift-x)) translateY(-10px) scale(1.1); }
    60% { opacity: 0.8; transform: translateX(calc(var(--drift-x) * 3)) translateY(-20px) scale(1); }
    100% { opacity: 0; transform: translateX(calc(var(--drift-x) * 5)) translateY(-30px) scale(0.8); }
}

/* Parking - Organizing into rows */
.emoji-parking {
    animation: parkingArrange 2s ease-out forwards;
}
@keyframes parkingArrange {
    0% { opacity: 1; transform: translateX(0px) translateY(0px) scale(1); }
    50% { opacity: 1; transform: translateX(var(--drift-x)) translateY(var(--drift-y)) scale(1.1); }
    100% { opacity: 0; transform: translateX(var(--drift-x)) translateY(var(--drift-y)) scale(0.9); }
}

/* Hotel - Building up effect */
.emoji-hotel {
    animation: buildingUp 2.5s ease-out forwards;
}
@keyframes buildingUp {
    0% { opacity: 0; transform: translateY(50px) scale(0.5); }
    30% { opacity: 1; transform: translateY(20px) scale(0.8); }
    60% { opacity: 1; transform: translateY(-10px) scale(1.1); }
    80% { opacity: 0.8; transform: translateY(-40px) scale(1); }
    100% { opacity: 0; transform: translateY(-100px) scale(1.2); }
}

/* Dress - Fashion show runway */
.emoji-dress {
    animation: fashionWalk 2.5s ease-in-out forwards;
}
@keyframes fashionWalk {
    0% { opacity: 1; transform: translateX(-100px) scale(1); }
    50% { opacity: 1; transform: translateX(0px) scale(1.2); }
    100% { opacity: 0; transform: translateX(100px) scale(1); }
}

/* Food - Serving/floating to table */
.emoji-food {
    animation: servingFood 2.5s ease-out forwards;
}
@keyframes servingFood {
    0% { opacity: 1; transform: translateY(0px) scale(1); }
    25% { opacity: 1; transform: translateY(-20px) scale(1.1); }
    50% { opacity: 1; transform: translateY(-30px) scale(1.2); }
    75% { opacity: 0.8; transform: translateY(-50px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-100px) scale(0.9); }
}

/* Children - Playful bouncing */
.emoji-children {
    animation: playfulBounce 2s ease-out forwards;
}
@keyframes playfulBounce {
    0% { opacity: 1; transform: translateY(0px) scale(1); }
    25% { opacity: 1; transform: translateY(-40px) scale(1.3); }
    50% { opacity: 1; transform: translateY(-20px) scale(1.1); }
    75% { opacity: 0.8; transform: translateY(-50px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-100px) scale(0.8); }
}

/* Contact - Message sending effect */
.emoji-contact {
    animation: messageSend 2s ease-out forwards;
}
@keyframes messageSend {
    0% { opacity: 1; transform: translateX(0px) translateY(0px) scale(1); }
    30% { opacity: 1; transform: translateX(var(--drift-x)) translateY(-30px) scale(1.1); }
    60% { opacity: 0.8; transform: translateX(calc(var(--drift-x) * 2)) translateY(-60px) scale(1); }
    100% { opacity: 0; transform: translateX(calc(var(--drift-x) * 3)) translateY(-100px) scale(0.7); }
}

/* Questionnaire CTA Styles */
.questionnaire-cta {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(107, 90, 69, 0.4), rgba(139, 115, 85, 0.4));
    max-width: 100%;
    overflow-x: hidden;
}

.questionnaire-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    padding: 24px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4em;
    box-shadow:
        0 12px 40px rgba(139, 115, 85, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: ctaPulse 2s ease-in-out infinite;
}

.questionnaire-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.questionnaire-btn:hover::before {
    left: 100%;
}

.questionnaire-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow:
        0 16px 50px rgba(139, 115, 85, 0.7),
        0 8px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    animation: none;
    color: white;
}

.questionnaire-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-icon {
    font-size: 1.3em;
    animation: iconBounce 2s ease-in-out infinite;
}

.btn-text {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
}

.btn-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.questionnaire-btn:hover .btn-arrow {
    transform: translateX(5px);
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(139, 115, 85, 0.5), 0 6px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 16px 50px rgba(139, 115, 85, 0.7), 0 8px 25px rgba(0, 0, 0, 0.25);
    }
}

@keyframes urgencyBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.urgency-note {
    margin-top: 20px;
    font-size: 1.1em;
    color: white;
    font-weight: 700;
    background: rgba(107, 90, 69, 0.5);
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-block;
    border: 2px solid var(--emerald-light);
    animation: urgencyBlink 3s ease-in-out infinite;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Styles */
.info-modal {
    box-sizing: border-box;
}

.info-modal h3 {
    color: #000;
    margin: 20px 0 10px 0;
    font-size: 1.3em;
}

.info-modal h4 {
    color: #000;
    margin: 15px 0 8px 0;
    font-size: 1.1em;
}

.info-modal ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-modal li {
    margin: 5px 0;
    color: #000 !important;
}

.info-modal p {
    margin: 8px 0;
    color: #000 !important;
}

.info-modal strong {
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero-image-section {
        height: 100vh;
        min-height: 400px;
    }

    /* Single-row Mobile Navigation */
    .simple-menu {
        padding: 8px 12px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .menu-left {
        position: static;
        flex-shrink: 0;
    }

    .menu-center {
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
    }

    .menu-logo {
        height: 36px;
    }

    /* Compact touch targets for single-row navigation */
    .simple-menu a {
        font-size: 0.8em;
        padding: 10px 6px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Hide button text, keep icon on mobile */
    .menu-cta-btn .btn-text {
        display: none;
    }

    .menu-cta-btn .btn-icon {
        font-size: 1.3em;
    }
    
    /* Improved Hero Title for Mobile */
    .photo-title-overlay .animated-title {
        font-size: 2.8em;
        letter-spacing: 3px;
        gap: 5px;
        flex-wrap: wrap;
        padding: 0 15px;
    }

    .photo-title-overlay .name-separator {
        font-size: 0.5em;
        margin: 0 5px;
    }

    .photo-title-overlay .quote-text {
        font-size: 1.2em;
        padding: 0 20px;
    }
    
    .content-section {
        padding: 40px 15px;
    }
    
    .section-card {
        padding: 40px 30px;
        margin: 20px 0;
    }
    
    .love-bubble-btn {
        width: 60px;
        height: 60px;
        font-size: 0.7em;
        right: 20px;
    }
    
    .love-bubble-btn.emoji-mode {
        font-size: 1.4em;
    }
    
    .content-section {
        padding: 60px 15px;
    }
    
    .section-card h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    
    .section-card > p {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
    
    /* Improved Photo Gallery for Mobile */
    .photo-item {
        grid-template-columns: 1fr !important;
        gap: 25px;
        margin: 40px 0;
        text-align: center;
    }

    .photo-item:nth-child(even) .photo-text {
        order: 0;
    }

    .photo-item::before {
        display: none;
    }

    .photo-item img {
        min-height: 280px;
        max-height: 400px;
        height: auto;
        border-radius: 12px;
        width: 100%;
    }
    
    .photo-text::before {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 3em;
    }
    
    .photo-text h3 {
        font-size: 1.4em;
        text-align: center;
    }
    
    .photo-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .photo-text {
        text-align: center;
    }
    
    .dark-info-section {
        padding: 80px 15px;
    }
    
    .dark-info-container h2 {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        padding: 30px 25px;
        border-radius: 8px;
    }
    
    .info-icon {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    
    .info-item h3 {
        font-size: 1.1em;
    }
    
    .info-item p {
        font-size: 0.95em;
    }

    .info-hint {
        font-size: 0.7em;
        margin-top: 10px;
    }

    .info-expand-icon {
        width: 22px;
        height: 22px;
        font-size: 1em;
        top: 10px;
        right: 10px;
        opacity: 0.7;
    }
    
    /* Improved Questionnaire CTA for Mobile */
    .questionnaire-btn {
        padding: 18px 24px;
        font-size: 1.1em;
        gap: 8px;
        min-height: 60px;
        max-width: 100%;
        box-sizing: border-box;
        word-break: break-word;
    }

    .btn-icon {
        font-size: 1.2em;
    }

    .urgency-note {
        font-size: 0.95em;
        padding: 10px 16px;
    }

    /* Modal close button — stays anchored to modal corner, does not scroll */
    .info-modal > div > button {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }

    /* Modal content area — top padding clears the 48px close button */
    .info-modal > div > div {
        padding: 65px 20px 25px 20px !important;
        max-height: 85vh !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Modal title — reduce font size and prevent overflow */
    .info-modal h2 {
        font-size: 1.4em !important;
        word-break: break-word;
        line-height: 1.3;
        padding-right: 40px;
    }

    /* Make sure love bubble button is accessible */
    .love-bubble-btn {
        width: 64px;
        height: 64px;
        right: 15px;
        bottom: 20px;
        font-size: 0.75em;
    }

    .love-bubble-btn.emoji-mode {
        font-size: 1.5em;
    }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 390px) {
    .photo-title-overlay .animated-title {
        font-size: 2.4em;
        letter-spacing: 2px;
    }

    .menu-center {
        gap: 2px;
    }

    .simple-menu a {
        font-size: 0.75em;
        padding: 10px 5px;
    }

    .info-grid {
        gap: 15px;
    }

    .photo-item img {
        min-height: 240px;
        max-height: 350px;
    }
}


