/* ==========================================
   Wedding Invitation - Galih & Puja
   Modern, Elegant & Animated Design
   ========================================== */

/* ==================== Root Variables ==================== */
:root {
    /* Colors */
    --primary: #d4af37;
    --primary-light: #f0d77d;
    --primary-dark: #b8960c;
    --secondary: #1a1a2e;
    --accent: #e94560;
    --bg-dark: #0f0f1a;
    --bg-card: rgba(26, 26, 46, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-gold: #d4af37;
    --gradient-gold: linear-gradient(135deg, #d4af37, #f0d77d, #d4af37);
    --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-script: 'Great Vibes', cursive;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 20px;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ==================== Particles Background ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==================== New Cover Design ==================== */
.cover-new {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%),
        url('bg5.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.6s ease;
    overflow: hidden;
}

.cover-new::before {
    display: none;
}

.cover-new::after {
    display: none;
}

.cover-bg-decoration {
    display: none;
}

.cover-content-new {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cover-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cover-names {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cover-guest-new {
    margin-bottom: 25px;
}

.guest-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.guest-name-new {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cover-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.open-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.open-btn-new:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.open-btn-new svg {
    stroke: #fff;
}

.cover-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s infinite;
}

.cover-scroll-indicator svg {
    stroke: #888;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.cover-new.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ==================== Monogram Section ==================== */
.monogram-section {
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.4) 100%),
        url('bg7.jpg') center/cover no-repeat;
    padding: 80px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.monogram-section::before {
    display: none;
}

.monogram-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.monogram-logo {
    margin-bottom: 40px;
}

.monogram-initials {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 500;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1;
}

.initial-letter {
    background: linear-gradient(135deg, #5a4a3a 0%, #8b7355 30%, #c9a96e 50%, #8b7355 70%, #5a4a3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 4px 4px rgba(90, 74, 58, 0.35));
    font-size: 7rem;
    font-weight: 600;
}

.monogram-and {
    font-family: var(--font-script);
    font-size: 3.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #f0d77d 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 15px 0 10px;
    animation: shimmerAnd 3s infinite;
}

@keyframes shimmerAnd {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.monogram-verse {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.monogram-source {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #d4af37;
    font-weight: 500;
}

.monogram-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background:
        /* Peacock feathers effect */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 200'%3E%3Cellipse cx='50' cy='180' rx='40' ry='50' fill='%23556B2F' opacity='0.2'/%3E%3Cellipse cx='120' cy='190' rx='35' ry='45' fill='%234169E1' opacity='0.15'/%3E%3Cellipse cx='180' cy='185' rx='30' ry='40' fill='%23008B8B' opacity='0.12'/%3E%3Cellipse cx='320' cy='185' rx='35' ry='45' fill='%234169E1' opacity='0.15'/%3E%3Cellipse cx='390' cy='190' rx='40' ry='50' fill='%23556B2F' opacity='0.18'/%3E%3Cellipse cx='450' cy='180' rx='35' ry='45' fill='%23800020' opacity='0.1'/%3E%3C/svg%3E"),
        /* Branches */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 100'%3E%3Cpath d='M0 80 Q50 60 100 75 Q150 55 200 70' stroke='%23666' stroke-width='2' fill='none' opacity='0.2'/%3E%3Cpath d='M500 70 Q450 50 400 65 Q350 45 300 60' stroke='%23666' stroke-width='2' fill='none' opacity='0.2'/%3E%3C/svg%3E"),
        linear-gradient(180deg, transparent 0%, rgba(245, 243, 239, 0.6) 100%);
    background-size: cover;
    pointer-events: none;
}

/* ==================== Intro Section (Full Screen Photo) ==================== */
.intro-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding: 80px 30px;
    background:
        linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.5) 100%),
        url('bg6.jpg') center 20%/cover no-repeat;
}

.intro-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 500px;
    padding-bottom: 40px;
}

.intro-text {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.intro-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.intro-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-rings {
    font-size: 1.8rem;
}

.intro-details {
    text-align: center;
}

.intro-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.intro-location {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    line-height: 1.6;
    text-transform: uppercase;
}

/* ==================== Quran Verse Section (Full Screen Photo) ==================== */
.quran-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding: 80px 30px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.4) 100%),
        url('bg8.jpg') center/cover no-repeat;
}

.quran-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.quran-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.quran-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

/* ==================== Countdown Section (Full Screen Photo) ==================== */
.countdown-section-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 30px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.4) 100%),
        url('bg5.jpg') center 25%/cover no-repeat;
}

.countdown-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-wrapper-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-box {
    text-align: center;
    min-width: 80px;
}

.countdown-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-lbl {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* ==================== Opening Cover ==================== */
.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 70%);
}

.cover-content {
    position: relative;
    text-align: center;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ornament-top,
.ornament-bottom {
    width: 200px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 20px auto;
    border-radius: 3px;
    position: relative;
}

.ornament-top::before,
.ornament-bottom::before {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 20px;
    background: var(--bg-dark);
    padding: 0 10px;
}

.cover-subtitle {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cover-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.cover-title .name {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.cover-title .ampersand {
    font-family: var(--font-script);
    font-size: 4rem;
    color: var(--primary);
}

.cover-date {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 20px 0;
}

.cover-guest {
    margin: 30px 0;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cover-guest p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.guest-name {
    font-family: var(--font-display);
    font-size: 1.5rem !important;
    color: var(--text-light) !important;
    margin-top: 5px;
}

.open-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite, fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
}

.open-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.btn-icon {
    font-size: 1.3rem;
}

.cover.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ==================== Main Content ==================== */
.main-content {
    display: none;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.main-content.visible {
    display: block;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure AOS elements animate properly */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Ensure images are always visible */
.gallery-image {
    opacity: 1 !important;
}

/* Fade Up Animation */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Down Animation */
[data-aos="fade-down"] {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-down"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Left Animation */
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right Animation */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In Animation */
[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Zoom In Up Animation */
[data-aos="zoom-in-up"] {
    opacity: 0;
    transform: scale(0.6) translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="zoom-in-up"].aos-animate {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Flip Animation */
[data-aos="flip-up"] {
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="flip-up"].aos-animate {
    opacity: 1;
    transform: perspective(1000px) rotateX(0);
}

/* Blur Reveal Animation */
[data-aos="blur-in"] {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="blur-in"].aos-animate {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Slide Up Reveal */
[data-aos="slide-up"] {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos="slide-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Text Typing Effect Styles */
.text-reveal {
    overflow: hidden;
}

.text-reveal-inner {
    display: inline-block;
    transform: translateY(100%);
    animation: textReveal 0.8s ease forwards;
}

@keyframes textReveal {
    to {
        transform: translateY(0);
    }
}

/* Stagger Animation for Children */
.stagger-animate>* {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFade 0.6s ease forwards;
}

.stagger-animate>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animate>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animate>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-animate>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-animate>*:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes staggerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title Enhanced Animation */
.section-header {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width 0.8s ease 0.3s;
}

.section-header.visible .section-title::before {
    width: 100%;
}

/* Elegant Word Split Animation */
.word-split span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    animation: wordReveal 0.6s ease forwards;
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Glow Text Effect */
.glow-text {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5),
            0 0 10px rgba(212, 175, 55, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8),
            0 0 30px rgba(212, 175, 55, 0.5),
            0 0 40px rgba(212, 175, 55, 0.3);
    }
}

/* ==================== Section Styles ==================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 3px;
}

/* ==================== Mempelai Section (Full Screen Photo) ==================== */
.mempelai-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    padding: 60px 30px;
}

.mempelai-pria {
    background:
        linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%),
        url('galih-solo.jpg') center 20%/cover no-repeat;
}

.mempelai-wanita {
    background:
        linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%),
        url('bg1.jpg') center 30%/cover no-repeat;
}

.mempelai-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.mempelai-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mempelai-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mempelai-line {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.mempelai-info {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mempelai-parents {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mempelai-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mempelai-instagram:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.mempelai-instagram svg {
    width: 18px;
    height: 18px;
}

/* ==================== Countdown Section ==================== */
.countdown-section {
    background:
        /* Dark overlay for text readability */
        linear-gradient(180deg,
            rgba(45, 58, 45, 0.88) 0%,
            rgba(26, 37, 32, 0.85) 50%,
            rgba(45, 58, 45, 0.88) 100%),
        url('bg2.jpg') center/cover no-repeat;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 120px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.countdown-separator {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* ==================== Event Section (Full Screen Photo) ==================== */
.event-section-new {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding: 80px 30px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%),
        url('bg3.jpg') center/cover no-repeat;
}

.event-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.event-time-block {
    margin-bottom: 50px;
}

.event-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.event-date-big {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-schedule {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
}

.add-calendar-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-calendar-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.event-location-block {
    margin-top: 30px;
}

.event-venue {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-address {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.maps-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.maps-link-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
}

.detail-icon {
    font-size: 1.2rem;
}

/* ==================== New Event Card Styles ==================== */
.event-card-new {
    position: relative;
    background: #f5f3ef;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.event-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(245, 243, 239, 0.9) 0%, rgba(245, 243, 239, 0.7) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3ClinearGradient id='tree' x1='0%25' y1='100%25' x2='0%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23666;stop-opacity:0.3'/%3E%3Cstop offset='100%25' style='stop-color:%23888;stop-opacity:0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='%23f5f3ef' width='400' height='400'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.8;
}

.event-card-content {
    position: relative;
    z-index: 1;
    padding: 50px 30px;
    text-align: center;
}

.event-name {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.event-divider {
    width: 80%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #999, transparent);
    margin: 0 auto 25px;
}

.event-date-new {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 10px;
}

.event-time-new {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
}

.event-time-new span {
    font-weight: 600;
    color: #333;
}

.event-location-new {
    margin-bottom: 25px;
}

.location-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.location-name {
    font-weight: 600;
    color: #8b7355;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.location-address {
    font-size: 0.9rem;
    color: #8b7355;
    line-height: 1.5;
}

.google-maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.google-maps-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
}

.google-maps-btn svg {
    fill: #fff;
}

.event-card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background:
        linear-gradient(180deg, transparent 0%, rgba(245, 243, 239, 0.5) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 150'%3E%3Cellipse cx='100' cy='130' rx='80' ry='40' fill='%23556B2F' opacity='0.2'/%3E%3Cellipse cx='300' cy='140' rx='60' ry='30' fill='%234169E1' opacity='0.15'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
}

/* ==================== New Love Story Section ==================== */
.story-section-new {
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.7) 100%),
        url('bg7.jpg') center 25%/cover no-repeat fixed;
    padding: 80px 0;
}

.story-main-title {
    font-family: var(--font-script);
    font-size: 3rem;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.story-item {
    text-align: center;
    margin-bottom: 50px;
}

.story-item:last-child {
    margin-bottom: 0;
}

.story-title {
    font-family: var(--font-script);
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.story-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
}

/* ==================== Location Section ==================== */
.location-section {
    background: linear-gradient(180deg, #1a3a5c 0%, #1e4d7b 50%, #1a3a5c 100%);
    padding: 80px 20px;
}

/* ==================== Gallery Section ====================*/
.gallery-section {
    background: #5a5a5a;
    padding: 80px 20px;
    min-height: 100vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item::after {
    display: none;
}

/* Gallery Title */
.gallery-section .section-header {
    margin-bottom: 40px;
}

.gallery-section .section-subtitle {
    display: none;
}

.gallery-section .section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: none;
}

.gallery-section .section-title::after {
    display: none;
}

/* ==================== New RSVP Section ==================== */
.rsvp-section-new {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Ccircle cx='50' cy='80' r='60' fill='%23d4a574' opacity='0.05'/%3E%3C/svg%3E") left center/200px auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Ccircle cx='250' cy='100' r='55' fill='%23c9a96e' opacity='0.05'/%3E%3C/svg%3E") right center/200px auto no-repeat,
        linear-gradient(180deg, #2d3a2d 0%, #1a2520 50%, #2d3a2d 100%);
    padding: 80px 0;
}

.rsvp-card {
    background: #f5f3ef;
    border-radius: 20px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.rsvp-decoration {
    height: 180px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 243, 239, 1) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cellipse cx='150' cy='100' rx='100' ry='80' fill='%234169E1' opacity='0.1'/%3E%3Cellipse cx='280' cy='120' rx='80' ry='60' fill='%23DC143C' opacity='0.08'/%3E%3C/svg%3E");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-header {
    text-align: center;
    padding: 0 30px 20px;
    background: #f5f3ef;
}

.rsvp-title {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: #8b7355;
    margin-bottom: 5px;
}

.rsvp-subtitle {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: #8b7355;
}

.rsvp-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    margin: 0 15px 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.comments-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.counter-icon {
    font-size: 1.2rem;
}

.counter-text {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.rsvp-form-new {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group-new input,
.form-group-new textarea,
.form-group-new select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: var(--transition);
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
    color: #aaa;
}

.form-group-new input:focus,
.form-group-new textarea:focus,
.form-group-new select:focus {
    outline: none;
    border-color: #8b7355;
}

.form-group-new select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.submit-btn-new {
    padding: 15px 30px;
    background: #7a8450;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.submit-btn-new:hover {
    background: #656e43;
    transform: translateY(-2px);
}

.wishes-container-new {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.wishes-container-new .wishes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wishes-container-new .wish-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 3px solid #8b7355;
}

.wishes-container-new .wish-name {
    color: #8b7355;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishes-container-new .wish-status {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishes-container-new .wish-message {
    color: #555;
    font-size: 0.9rem;
    font-style: normal;
}

.wish-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #7a8450;
    color: #fff;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.wish-badge svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.wish-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #999;
}

/* ==================== Closing Section ==================== */
.closing-section {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%),
        url('bg8.jpg') center/cover no-repeat;
    padding: 120px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.closing-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.closing-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.closing-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 2;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.closing-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:first-child {
    background: #25D366;
    color: #fff;
}

.social-icon:nth-child(2) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.social-icon:last-child {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* ==================== Footer Section ==================== */
footer.footer {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%),
        url('bg4.jpg') center 25%/cover no-repeat;
    padding: 80px 20px;
}

/* ==================== Wedding Gift Section ==================== */
.gift-section {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Ccircle cx='50' cy='80' r='60' fill='%23d4a574' opacity='0.05'/%3E%3C/svg%3E") left center/200px auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Ccircle cx='250' cy='100' r='55' fill='%23c9a96e' opacity='0.05'/%3E%3C/svg%3E") right center/200px auto no-repeat,
        linear-gradient(180deg, #2d3a2d 0%, #3d4a3d 30%, #4a5a4a 50%, #3d4a3d 70%, #2d3a2d 100%);
    padding: 80px 0;
}

.gift-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gift-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.gift-title {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.gift-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bank-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bank-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bank-chip {
    font-size: 2rem;
}

.bank-name-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.account-details {
    margin-bottom: 20px;
}

.account-holder {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.account-number {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

.account-address {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #555;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.copy-btn svg {
    stroke: #fff;
}

.copy-btn.copied {
    background: #4CAF50;
}

/* ==================== Love Story Section ==================== */
.story-section {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.05), transparent);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 0 0 5px var(--bg-dark), var(--shadow-gold);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--bg-glass);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-light);
    margin: 10px 0;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==================== Gallery Section ==================== */
.gallery-section {
    background: var(--gradient-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-glass);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.gallery-emoji {
    font-size: 4rem;
    animation: float-gentle 3s infinite ease-in-out;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.gallery-placeholder p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==================== Location Section ==================== */
.location-section {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Ccircle cx='50' cy='80' r='60' fill='%23d4a574' opacity='0.04'/%3E%3C/svg%3E") left center/200px auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Ccircle cx='250' cy='100' r='55' fill='%23c9a96e' opacity='0.04'/%3E%3C/svg%3E") right center/200px auto no-repeat,
        linear-gradient(180deg, #1a2520 0%, #0f1a15 50%, #1a2520 100%);
}

.map-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    display: block;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-gold);
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 30px;
    transition: var(--transition);
}

.map-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

/* ==================== RSVP Section ==================== */
.rsvp-section {
    background: var(--gradient-dark);
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-glass);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-group select option {
    background: var(--secondary);
    color: var(--text-light);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

/* Wishes Display */
.wishes-container {
    max-width: 600px;
    margin: 60px auto 0;
}

.wishes-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.wishes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.wishes-list::-webkit-scrollbar {
    width: 5px;
}

.wishes-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

.wish-item {
    padding: 20px;
    background: var(--bg-glass);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wish-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.wish-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.wish-message {
    color: var(--text-light);
    font-style: italic;
}

/* ==================== Instagram Button ==================== */
.instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    margin-top: 20px;
    background: #333;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.instagram-btn svg {
    stroke: var(--text-light);
}

/* ==================== Save The Date Button ==================== */
.save-date-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    margin-top: 40px;
    background: #333;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.save-date-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.save-date-btn svg {
    stroke: var(--text-light);
}

/* ==================== Footer ==================== */
.footer {
    padding: 80px 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Ccircle cx='50' cy='50' r='50' fill='%23d4a574' opacity='0.04'/%3E%3C/svg%3E") left top/150px auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Ccircle cx='250' cy='80' r='45' fill='%23c9a96e' opacity='0.04'/%3E%3C/svg%3E") right top/150px auto no-repeat,
        linear-gradient(180deg, #1a2520 0%, #0f1a15 50%, #0f1a15 100%);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-couple {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heart {
    font-size: 2rem;
    animation: heartbeat 1.5s infinite;
}

.footer-date {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.footer-thanks {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--primary);
}

.footer-quote {
    max-width: 500px;
    padding: 30px;
    background: var(--bg-glass);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-quote p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-quote span {
    color: var(--primary);
    font-size: 0.9rem;
}

/* ==================== Music Player ==================== */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.music-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.music-btn:hover {
    transform: scale(1.1);
}

.music-btn.playing .music-icon {
    animation: spin 2s linear infinite;
}

.music-icon {
    font-size: 1.8rem;
}

/* ==================== Scroll Animations ==================== */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease-out;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .cover-title .name {
        font-size: 2.5rem;
    }

    .cover-title .ampersand {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .couple-wrapper {
        flex-direction: column;
    }

    .couple-heart {
        order: -1;
    }

    .countdown-item {
        min-width: 80px;
        padding: 20px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rsvp-form {
        padding: 25px;
    }

    .music-player {
        bottom: 20px;
        right: 20px;
    }

    .music-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .cover-title .name {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .event-card {
        padding: 25px;
    }

    .countdown-wrapper {
        gap: 10px;
    }

    .countdown-item {
        min-width: 65px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}