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

:root {
    /* Elegant Wedding Color Palette */
    --primary-gold: #d4a574;
    --dark-gold: #8b6f47;
    --light-gold: #e8c5a5;
    --cream: #fdfbf7;
    --off-white: #faf8f5;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #8c8c8c;
    --success: #5cb85c;
    --error: #d9534f;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    overflow-y: scroll;
    height: 100vh;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 165, 116, 0.03) 35px, rgba(212, 165, 116, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(139, 111, 71, 0.02) 35px, rgba(139, 111, 71, 0.02) 70px);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(212,165,116,0.1)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(232, 197, 165, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 90%, rgba(139, 111, 71, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* === Background Decorative Elements === */
.bg-decoration {
    position: fixed;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.bg-decoration-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.4), rgba(232, 197, 165, 0.2), transparent);
    top: -300px;
    right: -300px;
    animation-delay: 0s;
}

.bg-decoration-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 197, 165, 0.3), rgba(212, 165, 116, 0.15), transparent);
    bottom: -200px;
    left: -200px;
    animation-delay: 2s;
}

.bg-decoration-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 111, 71, 0.25), rgba(212, 165, 116, 0.1), transparent);
    top: 50%;
    left: -200px;
    animation-delay: 4s;
    animation-duration: 10s;
}

/* === Floating Particles === */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-gold);
    opacity: 0.15;
    animation: floatParticle 15s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.15;
    }
    25% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        opacity: 0.25;
    }
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-duration: 20s;
    animation-delay: 2s;
    font-size: 1.2rem;
}

.particle-3 {
    top: 30%;
    left: 70%;
    animation-duration: 16s;
    animation-delay: 4s;
    font-size: 2rem;
}

.particle-4 {
    top: 80%;
    left: 10%;
    animation-duration: 22s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.particle-5 {
    top: 40%;
    left: 15%;
    animation-duration: 19s;
    animation-delay: 3s;
}

.particle-6 {
    top: 70%;
    left: 60%;
    animation-duration: 17s;
    animation-delay: 5s;
    font-size: 1.3rem;
}

.particle-7 {
    top: 15%;
    left: 90%;
    animation-duration: 21s;
    animation-delay: 2.5s;
    font-size: 1.6rem;
}

.particle-8 {
    top: 50%;
    left: 40%;
    animation-duration: 23s;
    animation-delay: 1.5s;
    font-size: 1.4rem;
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-4 {
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

.fade-in-delay-5 {
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.fade-in-delay-6 {
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
}

/* AOS Animation */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--primary-gold) 50%, var(--dark-gold) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
    padding: 2rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* Uncomment the line below and add your hero image to images/hero-bg.jpg */
    /* background-image: url('../images/hero-bg.jpg'); */
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.15)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.03) 3px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.03) 3px);
    opacity: 0.4;
}

.hero::after {
    content: '✦';
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    animation: twinkle 3s ease-in-out infinite;
    top: 20%;
    left: 15%;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(0,0,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 3rem;
}

.decorative-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    margin: 2rem auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '❖';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--white);
}

.decorative-line::before {
    left: -30px;
}

.decorative-line::after {
    right: -30px;
}

.subtitle {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 1rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.names {
    font-family: var(--font-script);
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0.5rem 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.ampersand {
    font-family: var(--font-script);
    font-size: 4rem;
    margin: 1rem 0;
    opacity: 0.9;
}

.date-wrapper {
    margin: 3rem 0;
}

.date {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.date-large {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.time {
    font-size: 1.4rem;
    margin: 1rem 0;
    font-weight: 300;
}

.venue {
    margin-top: 3rem;
    font-size: 1.1rem;
}

.venue-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.venue-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1rem 0;
}

.venue-address {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 10;
    color: var(--white);
}

.scroll-text {
    display: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.scroll-arrow {
    font-size: 2rem;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(212, 165, 116, 0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* === Couple Photo Section === */
.couple-photo-section {
    padding: 1rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(232, 197, 165, 0.05) 0%, transparent 50%);
}

.decorative-flourish,
.decorative-flourish-bottom {
    width: 150px;
    height: 30px;
    margin: 0 auto 1rem;
    background: url('data:image/svg+xml,<svg width="150" height="30" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 Q37.5,0 75,15 T150,15" stroke="%23d4a574" fill="none" stroke-width="2"/><circle cx="75" cy="15" r="3" fill="%23d4a574"/></svg>') center/contain no-repeat;
}

.decorative-flourish-bottom {
    margin: 1rem auto 0;
    transform: rotate(180deg);
}

.couple-photo-container {
    max-width: 500px;
    margin: 0 auto;
}

.photo-frame {
    position: relative;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--light-gold);
    border-radius: 5px;
    pointer-events: none;
}

.couple-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.photo-caption {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary-gold);
    margin-top: 1.5rem;
    text-align: center;
}

/* === Location Section === */
.location-section {
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--off-white);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(232, 197, 165, 0.05) 0%, transparent 50%);
    position: relative;
}

.location-container {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.location-details {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    position: sticky;
    top: 2rem;
}

.location-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.location-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.location-address {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--light-gold);
    border-bottom: 2px solid var(--light-gold);
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.info-icon {
    font-size: 1.5rem;
}

.btn-map {
    margin-top: 2rem;
    width: 100%;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: var(--white);
}

.google-map {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover .google-map {
    filter: grayscale(0) contrast(1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 165, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

/* === Story Section === */
.story-section {
    display: none;
    padding: 6rem 2rem;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--white);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 197, 165, 0.04) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="1" fill="rgba(212,165,116,0.08)"/></svg>');
    position: relative;
}

.story-section .section-title {
    width: 100%;
    text-align: center;
}

.story-section .timeline {
    width: 100%;
}

.story-section::before {
    content: '❤';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 4rem;
    opacity: 0.05;
    animation: pulse 4s ease-in-out infinite;
}

.story-section::after {
    content: '❤';
    position: absolute;
    bottom: 10%;
    left: 10%;
    font-size: 3rem;
    opacity: 0.05;
    animation: pulse 5s ease-in-out infinite;
    animation-delay: 2s;
}

.timeline {
    max-width: 800px;
    width: 100%;
    margin: 4rem auto;
    position: relative;
    flex-shrink: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--light-gold), var(--primary-gold), var(--dark-gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 4rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timeline-content {
    flex: 0 1 calc(50% - 60px);
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* === Gallery Section === */
.gallery-section {
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--cream);
    background-image:
        linear-gradient(135deg, rgba(212, 165, 116, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(232, 197, 165, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(212, 165, 116, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(232, 197, 165, 0.02) 25%, var(--cream) 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/2;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 165, 116, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.gallery-icon {
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s ease-in-out infinite;
}

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-content.changing {
    opacity: 0;
    transform: scale(0.95);
}

.lightbox-content.slide-left {
    opacity: 0;
    transform: translateX(-100px) scale(0.95);
}

.lightbox-content.slide-right {
    opacity: 0;
    transform: translateX(100px) scale(0.95);
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 50px;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: var(--white);
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 165, 116, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 25px;
    letter-spacing: 1px;
}

/* === Section Styles === */
.section {
    padding: 6rem 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.rsvp-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rsvp-section::after {
    content: '💌';
    position: absolute;
    bottom: 5%;
    left: 5%;
    font-size: 8rem;
    opacity: 0.03;
    transform: rotate(-15deg);
}

.message-section {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.message-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 197, 165, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.message-section::after {
    content: '✉️';
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 8rem;
    opacity: 0.03;
    transform: rotate(15deg);
}

.section-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    position: relative;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.decorative-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.decorative-dots::before,
.decorative-dots::after {
    content: '•';
    color: var(--primary-gold);
    font-size: 1.5rem;
}

/* === Form Styles === */
.elegant-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.label-icon {
    font-size: 1.2rem;
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--light-gold);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--cream);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-light);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* === Button Styles === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(212, 165, 116, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(212, 165, 116, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

/* === Loading Indicator === */
.loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    color: var(--text-medium);
    font-weight: 500;
}

.loading.htmx-request {
    display: flex;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(212, 165, 116, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === Response Messages === */
.response-message {
    margin-top: 2rem;
}

.success-box,
.error-box {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-box {
    background: linear-gradient(135deg, #d4f4dd 0%, #c8e6d0 100%);
    border: 2px solid var(--success);
    box-shadow: 0 5px 20px rgba(92, 184, 92, 0.2);
}

.error-box {
    background: linear-gradient(135deg, #ffe0e0 0%, #ffd4d4 100%);
    border: 2px solid var(--error);
    box-shadow: 0 5px 20px rgba(217, 83, 79, 0.2);
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: scaleIn 0.5s ease;
}

.success-icon {
    color: var(--success);
}

.error-icon {
    color: var(--error);
}

.success-box h3,
.error-box h3 {
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.success-box p,
.error-box p {
    margin: 0;
    font-size: 1.1rem;
}

/* === Footer === */
.footer {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--dark-gold) 0%, var(--primary-gold) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q25,30 50,50 T100,50 L100,100 L0,100 Z" fill="white"/></svg>') repeat-x;
    background-size: 100px 100px;
}

.footer-flourish {
    width: 200px;
    height: 40px;
    margin: 3rem auto 2rem;
    background: url('data:image/svg+xml,<svg width="200" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0,20 Q50,0 100,20 T200,20" stroke="white" fill="none" stroke-width="2"/><circle cx="100" cy="20" r="4" fill="white"/></svg>') center/contain no-repeat;
}

.footer-text {
    font-size: 1.3rem;
    margin: 1rem 0;
    font-weight: 300;
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2.5rem;
    margin: 2rem 0;
}

.heart {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart.delay-1 {
    animation-delay: 0.2s;
}

.heart.delay-2 {
    animation-delay: 0.4s;
}

.footer-names {
    font-family: var(--font-script);
    font-size: 3rem;
    margin: 1.5rem 0;
}

.footer-year {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 2rem;
    letter-spacing: 2px;
}

/* === Scroll Navigation === */
.scroll-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scroll-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.scroll-nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gold);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.scroll-nav-dot:hover::before {
    opacity: 1;
}

.scroll-nav-dot:hover {
    transform: scale(1.3);
    background: var(--primary-gold);
}

.scroll-nav-dot.active {
    background: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.2);
    transform: scale(1.2);
}

.scroll-nav-dot.active::before {
    opacity: 1;
}

/* === Scroll Progress Bar === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
    z-index: 9999;
    transform-origin: left;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

/* === Splash Screen === */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.splash-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.splash-to {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    display: none;
}

.splash-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.splash-title {
    font-family: var(--font-script);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.splash-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.splash-btn {
    background: var(--white);
    color: var(--primary-gold);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    font-family: var(--font-sans);
}

.splash-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: var(--light-cream);
}

.splash-btn:active {
    transform: translateY(-1px);
}

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

/* === Language Switcher === */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* === Music Controls === */
.music-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.music-btn {
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.music-btn:not(:disabled) {
    opacity: 1;
}

.music-btn:hover {
    transform: scale(1.1);
    background: var(--light-gold);
}

.music-btn.active {
    border-color: var(--primary-gold);
    background: var(--light-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.music-btn.playing {
    animation: pulse 2s ease-in-out infinite;
}

.music-icon {
    display: inline-block;
}

.lang-btn {
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    transform: scale(1.1);
    background: var(--light-gold);
}

.lang-btn.active {
    border-color: var(--primary-gold);
    background: var(--light-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 80px;
    }

    .timeline-icon {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .story-section {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    /* Gentler scroll snapping on mobile for better content access */
    html {
        scroll-snap-type: y proximity;
    }

    .section,
    .hero,
    .couple-photo-section,
    .story-section,
    .gallery-section {
        min-height: auto; /* Allow sections to grow naturally on mobile */
        padding: 4rem 1.5rem;
    }

    .hero {
        min-height: 100vh; /* Keep hero full height */
    }

    .scroll-nav {
        display: none; /* Hide side navigation on mobile to save space */
    }

    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 6px;
        gap: 6px;
    }

    .lang-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .music-controls {
        top: 15px;
        left: 15px;
        padding: 6px;
        gap: 6px;
    }

    .music-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .splash-icon {
        font-size: 4rem;
    }

    .splash-to {
        font-size: 1rem;
    }

    .splash-name {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .splash-title {
        font-size: 3rem;
    }

    .splash-subtitle {
        font-size: 1.2rem;
    }

    .splash-btn {
        padding: 0.8rem 2.5rem;
        font-size: 1.1rem;
    }

    .scroll-indicator {
        bottom: 20px; /* Keep scroll indicator on mobile */
    }

    .scroll-text {
        font-size: 0.8rem;
    }

    .scroll-arrow {
        font-size: 1.5rem;
    }

    .names {
        font-size: 3.5rem;
    }

    .date-large {
        font-size: 2.5rem;
    }

    .ampersand {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .elegant-form {
        padding: 2rem;
    }

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

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 40px;
        padding: 10px 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 20px;
        font-size: 1rem;
        padding: 8px 16px;
    }

    .location-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-details {
        position: static;
        padding: 2rem;
    }

    .google-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .splash-icon {
        font-size: 3rem;
    }

    .splash-to {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .splash-name {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .splash-title {
        font-size: 2.5rem;
    }

    .splash-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .splash-btn {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .names {
        font-size: 2.5rem;
    }

    .date-large {
        font-size: 2rem;
    }

    .ampersand {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

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

    .elegant-form {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 2rem;
    }

    .footer-names {
        font-size: 2.5rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .location-details {
        padding: 1.5rem;
    }

    .location-name {
        font-size: 1.6rem;
    }

    .google-map {
        height: 300px;
    }

    .map-container {
        border-radius: 10px;
    }
}

/* === Messages Display === */
.messages-display {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light-gold);
}

.messages-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 3rem;
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.message-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-gold);
}

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

.message-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.message-icon {
    font-size: 1.5rem;
}

.message-author {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.message-content {
    color: var(--text-medium);
    line-height: 1.8;
    margin: 1rem 0;
    font-size: 1rem;
    font-style: italic;
}

.message-date {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 1rem;
}

.no-messages {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 3rem;
    font-size: 1.1rem;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.pagination-btn:hover:not(.disabled) {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.pagination-btn:active:not(.disabled) {
    transform: translateY(0);
}

.pagination-btn.disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.pagination-info {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 768px) {
    .pagination {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .pagination-info {
        font-size: 0.9rem;
        min-width: 100px;
    }
}

/* Cloudflare Turnstile styling */
.cf-turnstile {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .messages-grid {
        grid-template-columns: 1fr;
    }

    .message-card {
        padding: 1.5rem;
    }

    .cf-turnstile {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* === Print Styles === */
@media print {
    .rsvp-section,
    .message-section,
    .gallery-section {
        display: none;
    }

    .hero {
        min-height: auto;
        background: var(--white);
        color: var(--text-dark);
    }

    .bg-decoration {
        display: none;
    }
}
