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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: 
        linear-gradient(rgba(255, 245, 247, 0.92), rgba(255, 245, 247, 0.92)),
        url('photos/bg-loading.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(2px);
    z-index: -1;
}

/* Falling Petals and Hearts Animation */
.falling-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.falling-item {
    position: absolute;
    top: -50px;
    opacity: 0;
    animation: fall linear forwards;
    pointer-events: none;
}

.falling-item.petal {
    font-size: 20px;
    animation: fall-petal linear forwards;
}

.falling-item.heart {
    font-size: 16px;
    color: #d4526e;
    animation: fall-heart linear forwards;
}

@keyframes fall-petal {
    0% {
        top: -50px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.25;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        top: 110vh;
        opacity: 0;
        transform: translateX(100px) rotate(720deg);
    }
}

@keyframes fall-heart {
    0% {
        top: -50px;
        opacity: 0;
        transform: translateX(0) rotate(0deg) scale(1);
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateX(-30px) rotate(180deg) scale(1.2);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        top: 110vh;
        opacity: 0;
        transform: translateX(50px) rotate(360deg) scale(0.8);
    }
}

html {
    scroll-behavior: smooth;
}

/* Page Loading Overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255, 245, 247, 0.95) 0%, rgba(255, 224, 230, 0.95) 100%),
        url('photos/bg-loading.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.page-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(0.5px);
    z-index: -1;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Glowing particles background */
.page-loader::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: transparent;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

/* Heart Animation - Flat Style */
.loader-hearts {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    position: relative;
}

.loader-hearts div {
    font-size: 2.5rem;
    animation: heartBeat 2s ease-in-out infinite;
    position: relative;
    filter: none;
}

.heart-1 {
    color: #d4526e;
    animation-delay: 0s;
}

.heart-2 {
    color: #e74c3c;
    animation-delay: 0.4s;
    font-size: 3rem;
}

.heart-3 {
    color: #d4526e;
    animation-delay: 0.8s;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.3);
    }
    75% {
        transform: scale(1.1);
    }
}

@keyframes heartGlow {
    0%, 100% {
        filter: none;
    }
    50% {
        filter: none;
    }
}

@keyframes heartSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(5deg) scale(1.1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(-5deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    33% {
        transform: scale(1.2);
    }

    66% {
        transform: scale(0.9);
    }
}

@keyframes heartFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    33% {
        transform: translateY(-8px);
    }

    66% {
        transform: translateY(4px);
    }
}

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

    25% {
        background-position: 25% 25%;
    }

    50% {
        background-position: 50% 75%;
    }

    75% {
        background-position: 75% 25%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticles {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

/* Loading Text */
.loader-text h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    font-weight: 400;
    color: #d4526e;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 0 2px 10px rgba(212, 82, 110, 0.3);
    letter-spacing: 3px;
}

.loader-text p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.5s both;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    text-shadow: none;
    font-family: 'Nunito', sans-serif;
}

.loading-phase {
    font-size: 1rem;
    color: #95a5a6;
    margin: 0.5rem 0;
    font-style: italic;
    animation: fadeInUp 1s ease 0.7s both;
    min-height: 1.5rem;
    transition: all 0.3s ease;
    text-shadow: none;
    font-family: 'Nunito', sans-serif;
}

/* Loading Dots */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    animation: fadeInUp 1s ease 0.9s both;
    margin-top: 1rem;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: #d4526e;
    border-radius: 50%;
    animation: bounce 1.5s ease-in-out infinite both;
    box-shadow: 0 2px 8px rgba(212, 82, 110, 0.3);
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(1) translateY(0);
    }
    40% {
        transform: scale(1.2) translateY(-15px);
    }
}

@keyframes dotGlow {
    0%, 100% {
        box-shadow: none;
    }
    50% {
        box-shadow: none;
    }
}

@keyframes phaseGlow {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* Progress Bar */
.loader-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 4px;
    background: rgba(212, 82, 110, 0.1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4526e, #e74c3c);
    border-radius: 4px;
    width: 0%;
    animation: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(212, 82, 110, 0.3);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: none;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -300% center;
    }

    100% {
        background-position: 300% center;
    }
}

@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: none;
    }
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: none;
    }
    50% {
        box-shadow: none;
    }
}

@keyframes progressSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide page content during loading */
body.loading .navbar,
body.loading .hero,
body.loading .about,
body.loading .details,
body.loading .gallery,
body.loading .rsvp,
body.loading .footer {
    opacity: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #d4526e;
    text-shadow: 0 2px 10px rgba(212, 82, 110, 0.2);
    text-transform: none;
    letter-spacing: 1px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 3rem;
    text-shadow: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4526e, #e74c3c);
    margin: 0 auto 2rem;
    box-shadow: 0 2px 8px rgba(212, 82, 110, 0.3);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(212, 82, 110, 0.1);
    box-shadow: 0 2px 20px rgba(212, 82, 110, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(212, 82, 110, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo .couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #d4526e;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(212, 82, 110, 0.2);
}

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

.nav-audio {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.audio-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 82, 110, 0.3);
    background: rgba(255, 245, 247, 0.8);
    color: #d4526e;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(212, 82, 110, 0.15);
}

.audio-toggle:hover,
.audio-toggle.playing {
    background: #d4526e;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(212, 82, 110, 0.28);
}

.audio-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 82, 110, 0.25);
}

.nav-link {
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-transform: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Nunito', sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: #d4526e;
    text-shadow: 0 1px 5px rgba(212, 82, 110, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4526e, #e74c3c);
    transition: width 0.3s ease;
    box-shadow: 0 1px 5px rgba(212, 82, 110, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 1rem;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #d4526e;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: 
        linear-gradient(rgba(255, 245, 247, 0.1), rgba(255, 224, 230, 0)),
        url('photos/bg.avif');
    background-size: cover;
    background-position: center;
    background-attachment: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    backdrop-filter: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: 7rem;
    margin-bottom: 1rem;
    font-weight: 400;
    /* color: #d4526e; */
    color: #eae8e4;
    text-shadow: 0 4px 20px rgba(212, 82, 110, 0.3);
    letter-spacing: 4px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #7f8c8d;
    text-transform: none;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Nunito', sans-serif;
}

.wedding-date {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* color: #2c3e50; */
    color: #eae8e4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
}

.wedding-date i {
    color: #d4526e;
    animation: heartbeat 2s infinite;
    filter: drop-shadow(0 2px 5px rgba(212, 82, 110, 0.3));
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.countdown-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(212, 82, 110, 0.15);
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #d4526e;
    font-family: 'Nunito', sans-serif;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.5px;
    color: #7f8c8d;
    font-family: 'Nunito', sans-serif;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #d4526e, #e74c3c);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 82, 110, 0.3);
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 82, 110, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid #d4526e;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.story-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: #fff5f7;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(212, 82, 110, 0.1);
    transition: transform 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4526e, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 82, 110, 0.3);
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.story-content p {
    color: #7f8c8d;
    line-height: 1.7;
    font-family: 'Nunito', sans-serif;
}

/* Photo Showcase Section */
.photo-showcase {
    padding: 2rem 0;
    background: transparent;
}

.photo-showcase-grid {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.photo-showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(212, 82, 110, 0.15);
    transition: all 0.3s ease;
    width: 340px;
    height: 340px;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.photo-showcase-item:nth-child(1) {
    animation-delay: 0.2s;
}

.photo-showcase-item:nth-child(2) {
    animation-delay: 0.4s;
}

.photo-showcase-item:nth-child(3) {
    animation-delay: 0.6s;
}

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

.photo-showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 82, 110, 0.1), rgba(231, 76, 60, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.photo-showcase-item:hover::before {
    opacity: 1;
}

.photo-showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 82, 110, 0.25);
}

.photo-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.5s ease;
    opacity: 0;
}

.photo-showcase-item img.loaded {
    opacity: 1;
}

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

/* Details Section */
.details {
    padding: 6rem 0;
    /* background: white; */
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 0 auto;
    max-width: fit-content;
    /* padding: 100px; */
}

.detail-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #d4526e;
    border-radius: 12px 12px 0 0;
}

.detail-card::after {
    display: none;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.detail-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    background: rgba(212, 82, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4526e;
    font-size: 1.8rem;
}

.detail-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d4526e;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.detail-datetime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    flex-grow: 1;
}

.detail-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-day {
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    font-family: 'Nunito', sans-serif;
}

.date-month {
    font-size: 1rem;
    color: #d4526e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.detail-separator {
    width: 2px;
    height: 80px;
    background: #e0e0e0;
}

.detail-time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-hour {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1;
    font-family: 'Nunito', sans-serif;
}

.time-period {
    font-size: 1rem;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.detail-info-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.3rem 0;
    border: none;
    margin-bottom: 0.3rem;
}

.info-item:not(:last-child) {
    border-bottom: none;
    margin-bottom: 0.3rem;
}

.info-item i {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-top: 0.2rem;
    min-width: 16px;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* flex: 1; */
    text-align: center;
}

.info-label {
    display: none;
}

.info-value {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 300;
    font-family: 'Nunito', sans-serif;
    line-height: 1.4;
}

.detail-button {
    /* display: inline-flex; */
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: #d4526e;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Nunito', sans-serif;
}

.detail-button:hover {
    background: #c0425d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 82, 110, 0.3);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    /* background: white; */
}

/* Gallery Slideshow Container */
.gallery-slideshow {
    position: relative;
    margin-top: 3rem;
    padding: 0 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    margin: 0;
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 82, 110, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(212, 82, 110, 0.3);
}

.gallery-nav-btn:hover {
    background: rgba(231, 76, 60, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 82, 110, 0.5);
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
    transform: translateY(-50%) scale(1);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

/* Gallery Indicators (Dots) */
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 82, 110, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.gallery-indicator.active {
    background: #d4526e;
    transform: scale(1.3);
}

.gallery-indicator:hover {
    background: rgba(212, 82, 110, 0.6);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 250px;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 82, 110, 0.15), rgba(231, 76, 60, 0.15));
    mix-blend-mode: soft-light;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover::before {
    opacity: 0.3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    mix-blend-mode: normal;
    display: block;
}

.gallery-item:hover img {
    filter: brightness(1.05) contrast(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(212 82 110 / 19%), rgba(231, 76, 60, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Gallery More Overlay */
.gallery-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 82, 110, 0.92), rgba(231, 76, 60, 0.92));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-item-more:hover .gallery-more-overlay {
    opacity: 0.95;
}

.gallery-more-overlay span {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gallery-more-overlay p {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Nunito', sans-serif;
}

/* Gallery Loading Animations */
.gallery-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.gallery-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item[data-source="apple"] {
    border: 2px solid transparent;
}

.gallery-item[data-source="apple"]:hover {
    border-color: rgba(212, 82, 110, 0.3);
}

.gallery-item[data-source="apple"]::before {
    content: '📱';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    z-index: 10;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    backdrop-filter: blur(10px);
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.25);
    padding: 1.5rem 1.2rem;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Gallery Loading State */
.gallery-loading {
    text-align: center;
    padding: 4rem 0;
    color: #7f8c8d;
}

.loading-spinner {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d4526e;
}

.gallery-loading p {
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
}

/* Gallery CTA Section */
.gallery-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(212, 82, 110, 0.05);
    border-radius: 15px;
    border: 2px dashed #d4526e;
}

.gallery-cta p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
}

.gallery-button {
    display: inline-block;
    margin: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #d4526e, #e74c3c);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 82, 110, 0.3);
    font-family: 'Nunito', sans-serif;
}

.gallery-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 82, 110, 0.4);
}

.gallery-button.secondary {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

.gallery-button.secondary:hover {
    box-shadow: 0 6px 20px rgba(52, 73, 94, 0.4);
}

.gallery-button i {
    margin-right: 0.5rem;
}

/* Gallery Error State */
.gallery-error {
    text-align: center;
    padding: 4rem 0;
    color: #d4526e;
}

.gallery-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-error h3 {
    margin-bottom: 1rem;
    color: #d4526e;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.gallery-error p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-family: 'Nunito', sans-serif;
}

/* RSVP Section */
.rsvp {
    padding: 6rem 0;
    /* background: #fff5f7; */
}

.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-form {
    background: linear-gradient(135deg, #ffffff 0%, #fffbfc 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(212, 82, 110, 0.15),
        0 0 0 1px rgba(212, 82, 110, 0.1);
    position: relative;
    overflow: hidden;
}

/* Ticket Pass Border with Holes */
.rsvp-form::before,
.rsvp-form::after {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    height: 20px;
    background: radial-gradient(circle at 10px, transparent 10px, #fff5f7 10px) repeat-x;
    background-size: 40px 20px;
    z-index: 1;
}

.rsvp-form::before {
    top: -10px;
}

.rsvp-form::after {
    bottom: -10px;
}

/* Side Holes */
.rsvp-form {
    background-image: 
        radial-gradient(circle at 0 50%, #fff5f7 12px, transparent 12px),
        radial-gradient(circle at 100% 50%, #fff5f7 12px, transparent 12px),
        linear-gradient(135deg, #ffffff 0%, #fffbfc 100%);
    background-size: 20px 40px, 20px 40px, 100% 100%;
    background-position: left center, right center, center;
    background-repeat: repeat-y, repeat-y, no-repeat;
}

/* Ticket Header */
.rsvp-form h2 {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px dashed rgba(212, 82, 110, 0.3);
}

.rsvp-form h2::before {
    content: '🎫';
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group .radio-label {
    text-transform: none !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 82, 110, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4526e;
    box-shadow: 0 0 0 3px rgba(212, 82, 110, 0.1);
    background: white;
    transform: translateY(-2px);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(212, 82, 110, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    text-transform: none;
}

.radio-label span:not(.radio-custom) {
    text-transform: none !important;
}

.radio-label:hover {
    border-color: rgba(212, 82, 110, 0.4);
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212, 82, 110, 0.4);
    border-radius: 50%;
    margin-right: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: #d4526e;
    background: rgba(212, 82, 110, 0.1);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #d4526e;
    border-radius: 50%;
}

.radio-label input[type="radio"]:checked {
    & ~ span:not(.radio-custom) {
        font-weight: 600;
        color: #d4526e;
    }
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #d4526e;
    background: rgba(212, 82, 110, 0.05);
    box-shadow: 0 2px 8px rgba(212, 82, 110, 0.15);
}

.submit-button {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #d4526e, #e74c3c);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 
        0 4px 20px rgba(212, 82, 110, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.5);
    font-family: 'Nunito', sans-serif;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e74c3c, #d4526e);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.submit-button:hover::before {
    opacity: 1;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(212, 82, 110, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 248, 0.98) 100%),
        url('https://images.unsplash.com/photo-1490750967868-88aa4486c946?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #2c3e50;
    padding: 0;
    overflow: hidden;
}

.footer-waves {
    position: relative;
    width: 100%;
    height: 60px;
    margin-bottom: -1px;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    fill: #fff5f7;
}

.footer-content-wrapper {
    position: relative;
    padding: 2.5rem 0 1.5rem;
    backdrop-filter: none;
}

.footer-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-leaf,
.footer-plant,
.footer-flower {
    position: absolute;
    color: rgba(139, 195, 74, 0.25);
    animation: sway 6s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    left: 10%;
    font-size: 1.5rem;
    animation-delay: 0s;
}

.leaf-2 {
    top: 60%;
    right: 15%;
    font-size: 1.2rem;
    animation-delay: 1.5s;
}

.plant-1 {
    bottom: 20%;
    left: 20%;
    font-size: 2rem;
    color: rgba(76, 175, 80, 0.2);
    animation-delay: 0.5s;
}

.plant-2 {
    top: 40%;
    right: 25%;
    font-size: 1.8rem;
    color: rgba(76, 175, 80, 0.2);
    animation-delay: 2s;
}

.flower-1 {
    top: 30%;
    left: 5%;
    font-size: 1.3rem;
    color: rgba(129, 199, 132, 0.2);
    animation-delay: 1s;
}

.flower-2 {
    bottom: 30%;
    right: 8%;
    font-size: 1.5rem;
    color: rgba(129, 199, 132, 0.2);
    animation-delay: 2.5s;
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-10px) rotate(-5deg);
    }
    75% {
        transform: translateX(10px) rotate(5deg);
    }
}

.footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 0.8rem;
    color: #588157;
    text-shadow: 0 2px 10px rgba(88, 129, 87, 0.2);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
}

.footer-section p {
    color: #5a6c57;
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
}

.footer-plants {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-plants i {
    font-size: 1.3rem;
    color: #8bc34a;
    animation: pulse 2s ease-in-out infinite;
}

.footer-plants i:nth-child(1) {
    animation-delay: 0s;
}

.footer-plants i:nth-child(2) {
    color: #d4526e;
    animation-delay: 0.5s;
}

.footer-plants i:nth-child(3) {
    animation-delay: 1s;
}

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

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 195, 74, 0.25);
    color: #6b7e68;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom i {
    color: #d4526e;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Mobile Text Slide Animation */
    .section-title,
    .detail-title,
    .detail-card h3,
    .hero-title,
    .hero-subtitle,
    .form-group label {
        opacity: 0;
        transition: all 0.8s ease;
    }
    
    .section-title,
    .hero-title {
        transform: translateX(-100px);
    }
    
    .detail-title,
    .detail-card h3,
    .hero-subtitle,
    .form-group label:nth-child(odd) {
        transform: translateX(-80px);
    }
    
    .form-group label:nth-child(even) {
        transform: translateX(80px);
    }
    
    .section-title.slide-in,
    .detail-title.slide-in,
    .detail-card h3.slide-in,
    .hero-title.slide-in,
    .hero-subtitle.slide-in,
    .form-group label.slide-in {
        opacity: 1;
        transform: translateX(0);
    }

    .page-loader {
        padding: 20px;
    }

    .loader-hearts div {
        font-size: 2rem;
    }

    .loader-hearts .heart-2 {
        font-size: 2.3rem;
    }

    .loader-text h2 {
        font-size: 2.5rem;
    }

    .loader-text p {
        font-size: 1.1rem;
    }

    .loading-phase {
        font-size: 1rem;
    }

    .loader-progress {
        width: 90%;
        bottom: 60px;
    }

    .loading-dots span {
        width: 10px;
        height: 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(212, 82, 110, 0.15);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 20px;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

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

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.8rem;
    }

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

    .story-item {
        flex-direction: column;
        text-align: center;
    }

    .gallery-slideshow {
        padding: 0 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-prev {
        left: -5px;
    }

    .gallery-next {
        right: -5px;
    }

    .photo-showcase {
        padding: 1.5rem 0;
    }
    
    .photo-showcase-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .photo-showcase-main {
        grid-column: 1 / -1;
        width: 100%;
        height: 400px;
        animation: fadeInDown 0.8s ease forwards;
    }
    
    .photo-showcase-sub {
        width: 100%;
        height: 200px;
        opacity: 0;
    }
    
    .photo-showcase-sub:nth-child(2) {
        animation: slideInFromLeft 0.8s ease forwards;
        animation-delay: 0.4s;
    }
    
    .photo-showcase-sub:nth-child(3) {
        animation: slideInFromRight 0.8s ease forwards;
        animation-delay: 0.4s;
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInFromLeft {
        from {
            opacity: 0;
            transform: translateX(-100px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInFromRight {
        from {
            opacity: 0;
            transform: translateX(100px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .photo-showcase-item {
        width: 100%;
        /* height: 200px; */
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
    
    .detail-card {
        padding: 2rem 1.5rem;
    }
    
    .detail-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.6rem;
        font-size: 1.6rem;
    }

    .detail-title {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .detail-datetime {
        gap: 1.2rem;
        padding: 0.8rem 0;
        margin-bottom: 1.2rem;
    }
    
    .date-day {
        font-size: 3rem;
    }
    
    .date-month {
        font-size: 0.85rem;
    }
    
    .time-hour {
        font-size: 2rem;
    }
    
    .time-period {
        font-size: 0.85rem;
    }
    
    .detail-separator {
        height: 60px;
    }
    
    .detail-info-box {
        padding: 0;
        margin-bottom: 0.8rem;
    }
    
    .info-item {
        gap: 0.5rem;
        padding: 0.25rem 0;
    }
    
    .info-item i {
        font-size: 0.85rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    .detail-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 0;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .gallery-item img {
        height: 100%;
        object-fit: contain;
    }
    
    .gallery-slideshow {
        padding: 0 50px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .rsvp-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lightbox-nav button {
        padding: 0.5rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .wedding-date {
        /* flex-direction: column; */
        gap: 0.5rem;
        font-size: 1.2rem;
    }

    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        min-width: 50px;
        padding: 0.5rem;
    }
    
    .detail-card {
        padding: 1.5rem 1.2rem;
    }
    
    .detail-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.5rem;
        font-size: 1.4rem;
    }

    .detail-title {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .detail-datetime {
        gap: 1rem;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    .date-day {
        font-size: 2.5rem;
    }
    
    .date-month {
        font-size: 0.75rem;
        margin-top: 0.3rem;
    }
    
    .time-hour {
        font-size: 1.8rem;
    }
    
    .time-period {
        font-size: 0.75rem;
    }
    
    .detail-separator {
        height: 50px;
    }
    
    .info-value {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .detail-button {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }

    .rsvp-form {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .scroll-indicator,
    .lightbox {
        display: none !important;
    }

    .hero {
        background-attachment: scroll;
    }
}