/* 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: #fff5f7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Page Loading Overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe0e6 100%);
    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;
}

.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: 80px;
    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: space-between;
    align-items: center;
}

.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;
}

.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;
}

.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.7), rgba(255, 224, 230, 0.7)),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    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;
    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: 1.4rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #2c3e50;
    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;
}

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

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 0 auto;
    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 {
    display: none;
}

.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: 0.8rem;
    color: #7f8c8d;
    font-weight: 400;
    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-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 82, 110, 0.9), 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 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"]::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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.9);
    z-index: 9999;
}

.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;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.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: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(212, 82, 110, 0.15);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.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);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    margin-right: 0.8rem;
    position: relative;
    transition: border-color 0.3s ease;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: #d4526e;
}

.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%;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #d4526e, #e74c3c);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    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);
    font-family: 'Nunito', sans-serif;
}

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

/* 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) {
    .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;
    }

    .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;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .detail-datetime {
        gap: 1.5rem;
    }
    
    .date-day {
        font-size: 2.5rem;
    }
    
    .time-hour {
        font-size: 1.8rem;
    }
    
    .detail-info-box {
        padding: 1.2rem;
    }
    
    .info-item {
        gap: 0.8rem;
    }
    
    .info-item i {
        font-size: 1rem;
    }

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

    .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;
    }

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

    .countdown-item {
        min-width: 50px;
        padding: 0.5rem;
    }
    
    .detail-datetime {
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .date-day {
        font-size: 2rem;
    }
    
    .time-hour {
        font-size: 1.5rem;
    }
    
    .detail-separator {
        height: 50px;
    }
    
    .detail-info-box {
        padding: 1rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }

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

/* Print Styles */
@media print {

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

    .hero {
        background-attachment: scroll;
    }
}