/* ==========================================
   LUXURY WEDDING INVITATION STYLESHEET
   ========================================== */

/* Theme Variables & Tokens */
:root {
    /* Fonts */
    --font-title: 'Cinzel', serif;
    --font-cursive: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    --font-decor: 'Cinzel Decorative', serif;

    /* Transition Speeds */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Dark Theme (Default) Colors */
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    --text-primary: #FFFFF0; /* Ivory White */
    --text-secondary: #F7E7CE; /* Champagne */
    --text-muted: #b5a287;
    --gold: #D4AF37; /* Royal Gold */
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-dark: #aa7c11;
    --rose-gold: #B76E79;
    --maroon: #800000;
    --maroon-dark: #4A0000;
    --white: #FFFFFF;
    
    /* Glassmorphism Defaults */
    --glass-bg: rgba(26, 26, 26, 0.65);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.5);
    --card-paper: #FFFFF0;
    --card-text: #222222;
}

body.light-theme {
    /* Light Theme Colors */
    --bg-primary: #FFFFF0; /* Ivory White */
    --bg-secondary: #fbf8f0;
    --text-primary: #111111;
    --text-secondary: #800000; /* Deep Maroon for secondary titles */
    --text-muted: #554d3f;
    --gold: #aa7c11;
    --gold-glow: rgba(170, 124, 17, 0.3);
    --gold-dark: #7d5a0a;
    --rose-gold: #b25d6b;
    --glass-bg: rgba(255, 255, 240, 0.75);
    --glass-border: rgba(170, 124, 17, 0.25);
    --glass-shadow: rgba(170, 124, 17, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

body.lock-scroll {
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--rose-gold);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 1px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.section-padding {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-cursive);
    color: var(--text-secondary);
    font-size: 1.8rem;
    margin-bottom: 50px;
}

/* Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Cursor Glow */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:hover .cursor-glow {
    opacity: 0.6;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.monogram-loader {
    font-family: var(--font-decor);
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 5px;
    animation: pulse 2s infinite ease-in-out;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--rose-gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s infinite linear;
}

.loader-text {
    color: var(--text-secondary);
    font-family: var(--font-title);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--rose-gold) 100%);
    color: #111111;
    border: none;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px var(--gold-glow);
    color: #111111;
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--gold-glow);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.75rem;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #111111;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Button Shine Sweep Effect */
.btn-gold-shine {
    position: relative;
}
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
}
.btn-gold-shine:hover .btn-shine {
    animation: shine-sweep 1s ease-in-out;
}

/* 1. CINEMATIC OPENING SCREEN */
.doors-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    display: flex;
    overflow: hidden;
    pointer-events: auto;
    transition: opacity 1s ease 2s, visibility 1s ease 2s;
}

.door {
    width: 50vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    transition: transform 2.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.door-left {
    border-right: 1px solid var(--gold);
}
.door-right {
    border-left: 1px solid var(--gold);
}

/* Monogram frame overlays on the panels */
.door-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: radial-gradient(circle at center, rgba(17, 17, 17, 0.3) 0%, rgba(17, 17, 17, 0.9) 80%);
}

.door-left .door-inner {
    left: 0;
}
.door-right .door-inner {
    right: 0;
}

/* Welcome content overlaid on top of the doors */
.welcome-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 700px;
    padding: 40px;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.wedding-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-decor);
    font-size: 4rem;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 15px 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
    background: rgba(17, 17, 17, 0.8);
    box-shadow: 0 0 35px var(--gold-glow);
    position: relative;
}

.wedding-monogram::after {
    content: '';
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: -8px;
    right: -8px;
    border: 1px dashed var(--gold);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.monogram-amp {
    font-family: var(--font-cursive);
    font-size: 2.5rem;
    margin: 0 8px;
    color: var(--rose-gold);
}

.welcome-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.welcome-title {
    font-family: var(--font-cursive);
    font-size: 4.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.welcome-date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.line-gold {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.welcome-date {
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
}

.welcome-location {
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Door Opening Animation Trigger */
.doors-open .door-left {
    transform: translateX(-100%);
}
.doors-open .door-right {
    transform: translateX(100%);
}
.doors-open .welcome-content {
    opacity: 0;
    transform: translate(-50%, -80%) scale(0.9);
    pointer-events: none;
}
.doors-open {
    pointer-events: none;
    visibility: hidden;
}

/* Main Content Visibility control */
.content-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease 1s, transform 1.5s ease 1s;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.content-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    height: auto;
    overflow: visible;
}

/* 2. HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.05);
    transition: transform 0.1s ease-out; /* Parallax effect */
}

.hero-content {
    z-index: 2;
    padding: 20px;
    max-width: 900px;
}

.hero-welcome {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease;
}

.hero-names {
    font-family: var(--font-cursive);
    font-size: 6rem;
    color: var(--gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: scaleIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.hero-date-block {
    display: inline-block;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    padding: 10px 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1.4s ease;
}

.hero-date {
    font-family: var(--font-title);
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: var(--text-primary);
}

/* Mini Countdown */
.hero-mini-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    font-family: var(--font-title);
    animation: fadeInUp 1.6s ease;
}

.mini-time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.mini-time-unit span {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.mini-time-unit small {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 4px;
}

.mini-time-divider {
    font-size: 2rem;
    color: var(--rose-gold);
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.8s ease;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    gap: 8px;
    cursor: pointer;
}

.hero-scroll-indicator i {
    animation: bounce 2s infinite;
}

/* 3. DIGITAL INVITATION CARD */
.invitation-card-section {
    position: relative;
    background: var(--bg-secondary);
}

.card-3d-wrapper {
    perspective: 1500px;
    width: 100%;
    max-width: 540px;
    height: 480px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.card-container {
    width: 100%;
    height: 380px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
    cursor: pointer;
}

/* Envelope Back/Pocket */
.envelope-front {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 5;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.envelope-pocket {
    text-align: center;
    width: 100%;
}

.envelope-to {
    font-family: var(--font-cursive);
    color: var(--text-secondary);
    font-size: 1.8rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Envelope Triangular Flap */
.envelope-flap {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: 180px;
    background: linear-gradient(180deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    border: 2px solid var(--gold);
    border-top: none;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top;
    transition: transform var(--transition-slow) 0.3s;
    z-index: 6;
}

/* Wax Seal */
.envelope-seal {
    position: absolute;
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 7;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--maroon-dark);
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
    border: 2px dashed rgba(255, 255, 240, 0.25);
}

.seal-wax {
    text-align: center;
    line-height: 1;
}

/* Inner Invitation Card */
.card-content-fold {
    position: absolute;
    width: 90%;
    height: 380px;
    left: 5%;
    bottom: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--card-paper);
    color: var(--card-text);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
    transform: translateY(0) scale(0.95);
    transition: transform var(--transition-slow) 0.6s, z-index 0.1s ease 1s;
    padding: 10px;
    overflow: hidden;
}

.card-inner-frame {
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    padding: 15px;
    position: relative;
}

.card-gold-border {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    border: 2px solid var(--gold-dark);
    pointer-events: none;
}

.card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 10px 0;
}

.card-header-monogram {
    font-family: var(--font-decor);
    font-size: 1.3rem;
    color: var(--gold-dark);
}

.card-invite-heading {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--maroon);
    margin: 5px 0;
}

.card-intro-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #444;
}

.card-couple-names {
    font-family: var(--font-cursive);
    font-size: 2.2rem;
    color: var(--maroon);
    line-height: 1;
}

.ampersand-divider {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--gold-dark);
}

.card-details {
    border-top: 1px solid rgba(170, 124, 17, 0.2);
    border-bottom: 1px solid rgba(170, 124, 17, 0.2);
    padding: 8px 0;
    margin: 8px 0;
}

.card-date-time {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--maroon);
}

.card-time, .card-venue-name {
    font-size: 0.75rem;
    color: #333;
}

.card-footer-parents {
    font-size: 0.7rem;
    color: #555;
    line-height: 1.4;
}

/* Interactive Card Opened States */
.card-container.opened .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.card-container.opened .envelope-seal {
    opacity: 0;
    transform: translate(-50%, -50px) scale(0.5);
    pointer-events: none;
}

.card-container.opened .card-content-fold {
    transform: translateY(-80%) scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-container.opened {
    transform: rotateX(15deg) rotateY(-5deg);
}

/* 4. OUR LOVE STORY */
.love-story-section {
    background: var(--bg-primary);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 175, 55, 0.15);
    transform: translateX(-50%);
}

.timeline-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--scroll-height, 0%);
    background: linear-gradient(180deg, var(--gold) 0%, var(--rose-gold) 100%);
    transition: height 0.1s ease;
}

.timeline-item {
    padding: 20px 0;
    width: 50%;
    position: relative;
    padding-right: 50px;
    transform: translateX(-30px);
    opacity: 0;
    transition: all 1s ease;
}

.timeline-item-right {
    left: 50%;
    padding-right: 0;
    padding-left: 50px;
    transform: translateX(30px);
}

.timeline-dot {
    position: absolute;
    right: -16px;
    top: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: var(--text-muted);
    transition: all 0.5s ease;
}

.timeline-item-right .timeline-dot {
    left: -16px;
    right: auto;
}

.timeline-item.active .timeline-dot {
    background: var(--gold);
    color: #111111;
    box-shadow: 0 0 15px var(--gold-glow);
}

.timeline-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--glass-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
}

.timeline-date {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--rose-gold);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timeline-card-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.timeline-card-desc {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.85;
}

/* Scroll reveal triggers via JS */
.timeline-item.active {
    opacity: 1;
    transform: translateX(0) !important;
}

/* 5. BRIDE & GROOM */
.bride-groom-section {
    background: var(--bg-secondary);
}

.profile-cards-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.profile-card-3d {
    perspective: 1200px;
    width: 100%;
    max-width: 420px;
    height: 540px;
}

.profile-card-inner {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 15px 35px var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.1s ease, box-shadow var(--transition-fast);
    transform-style: preserve-3d;
}

.profile-image-container {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.profile-card-inner:hover .profile-image-container img {
    transform: scale(1.08);
}

.profile-overlay-gold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 60%);
    pointer-events: none;
}

.profile-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateZ(30px); /* 3D pop effect */
}

.profile-role {
    font-family: var(--font-cursive);
    color: var(--rose-gold);
    font-size: 1.6rem;
    margin-bottom: 5px;
    display: block;
}

.profile-name {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.profile-bio {
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.profile-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.profile-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.profile-socials a:hover {
    background: var(--gold);
    color: #111111;
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px var(--gold-glow);
}

/* 6. WEDDING EVENTS */
.events-section {
    background: var(--bg-primary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card-wrapper {
    perspective: 1200px;
    height: 380px;
}

.event-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
}

.event-card-wrapper:hover .event-card {
    transform: rotateY(180deg);
}

.event-card-front, .event-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.event-card-front {
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.85) 0%, rgba(17, 17, 17, 0.9) 100%);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.event-badge {
    background: var(--gold);
    color: #111111;
    font-family: var(--font-title);
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.event-title {
    font-size: 1.6rem;
    color: var(--gold);
    text-align: center;
}

.event-divider-gold {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 10px 0;
}

.event-brief-details {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.event-brief-details i {
    color: var(--gold);
    margin-right: 5px;
}

.card-flip-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-flip-hint i {
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

.event-card-back {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.9) 0%, rgba(74, 0, 0, 0.95) 100%);
    color: #FFFFF0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-color: var(--gold);
}

.event-back-title {
    font-size: 1.4rem;
    color: var(--gold);
    text-transform: uppercase;
}

.event-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.6;
}

.event-attire {
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 240, 0.2);
    padding-top: 10px;
    width: 100%;
}

.event-card-back .btn {
    border-color: var(--gold);
    color: var(--gold);
}
.event-card-back .btn:hover {
    background: var(--gold);
    color: #111111;
}

/* 7. COUNTDOWN TIMER RINGS */
.countdown-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.large-countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.countdown-item-ring {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring-svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(212, 175, 55, 0.1);
    stroke-width: 5;
}

.ring-progress {
    fill: none;
    stroke: url(#goldGradient);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.ring-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-digit {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 10px var(--gold-glow);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* 8. VENUE DETAILS */
.venue-section {
    background: var(--bg-primary);
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.venue-card-3d {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow var(--transition-fast);
}

.venue-card-3d:hover {
    box-shadow: 0 20px 45px var(--gold-glow);
}

.venue-badge-decor {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px var(--gold-glow);
}

.venue-name {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.venue-tagline {
    font-family: var(--font-cursive);
    color: var(--rose-gold);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.venue-divider-gold {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 25px;
}

.venue-details-list {
    margin-bottom: 35px;
}

.venue-details-list p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
}

.venue-details-list i {
    margin-top: 4px;
}

.venue-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.venue-map-container {
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px var(--glass-shadow);
}

.mock-map {
    width: 100%;
    height: 100%;
}

.map-overlay-glass {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(17, 17, 17, 0.75);
    border: 1px solid var(--gold);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.animated-marker {
    position: relative;
    width: 20px;
    height: 20px;
}

.marker-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
}

.marker-pulse {
    width: 20px;
    height: 20px;
    background: var(--gold-glow);
    border-radius: 50%;
    position: absolute;
    animation: markerPulse 1.8s infinite ease-out;
}

.map-label {
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

/* 9. PHOTO GALLERY */
.gallery-section {
    background: var(--bg-secondary);
}

.masonry-gallery {
    column-count: 2;
    column-gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 25px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform var(--transition-fast);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    padding: 20px;
}

.gallery-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform var(--transition-fast);
    margin-bottom: 12px;
}

.gallery-caption {
    font-family: var(--font-title);
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--gold);
    transform: translateY(20px);
    transition: transform var(--transition-fast) 0.1s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--gold-glow);
}

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

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

.gallery-item:hover .gallery-icon-circle,
.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 11, 11, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-content-wrapper {
    max-width: 90%;
    max-height: 80%;
    text-align: center;
}

.lightbox-content-wrapper img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox.active img {
    transform: scale(1);
}

#lightbox-caption {
    font-family: var(--font-title);
    color: var(--gold);
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* 10. RSVP SECTION */
.rsvp-section {
    background: var(--bg-primary);
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rsvp-wrapper {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.rsvp-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(17, 17, 17, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.error-msg {
    color: var(--rose-gold);
    font-size: 0.75rem;
    margin-top: 5px;
    min-height: 18px;
}

/* Radio button styles */
.attendance-radio-group {
    display: flex;
    gap: 20px;
}

.attendance-btn {
    flex: 1;
    cursor: pointer;
}

.attendance-btn input {
    display: none;
}

.btn-custom-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    background: rgba(17, 17, 17, 0.2);
}

.attendance-btn input:checked + .btn-custom-radio {
    border-color: var(--gold);
    background: var(--gold-glow);
    color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.form-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* RSVP Success Overlay */
.rsvp-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.rsvp-success-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.success-content {
    max-width: 500px;
}

.success-check-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold);
    color: #111111;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    box-shadow: 0 0 20px var(--gold-glow);
}

.success-content h3 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.success-content p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 35px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.success-actions .btn {
    width: 100%;
    max-width: 320px;
}

/* 11. WEDDING WISHES WALL */
.wishes-section {
    background: var(--bg-secondary);
}

.wishes-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 50px;
}

.wish-submission-panel {
    padding: 30px;
    height: fit-content;
}

.wish-panel-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.wish-submission-panel form .form-group {
    margin-bottom: 15px;
}

.wishes-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.wish-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.wish-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.wish-card::before {
    content: '\f08a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3.5rem;
    color: rgba(183, 110, 121, 0.1);
    pointer-events: none;
}

.wish-text {
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.wish-sender {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 12. FOOTER */
.wedding-footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.footer-monogram {
    font-family: var(--font-decor);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.footer-names {
    font-family: var(--font-cursive);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-thank-you {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 35px;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-links a:hover {
    color: var(--gold);
    transform: scale(1.2);
}

.footer-actions {
    margin-bottom: 30px;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Floating Utilities Controls */
.floating-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all var(--transition-fast);
    font-size: 1rem;
    position: relative;
}

.control-btn:hover {
    background: var(--gold);
    color: #111111;
    transform: scale(1.08);
    box-shadow: 0 0 15px var(--gold-glow);
}

#music-toggle {
    overflow: hidden;
}

/* Audio Player Equalizer Animation */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    position: absolute;
    bottom: 8px;
}

.eq-bar {
    width: 2px;
    height: 2px;
    background: var(--gold);
    animation: eqBounce 0.8s ease infinite alternate;
    animation-play-state: paused;
}

.control-btn:hover .eq-bar {
    background: #111111;
}

.playing .eq-bar {
    animation-play-state: running;
}

.eq-bar.bar-1 { animation-delay: 0.1s; }
.eq-bar.bar-2 { animation-delay: 0.3s; }
.eq-bar.bar-3 { animation-delay: 0.2s; }

/* Back to Top button auto hide */
#back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--rose-gold) 100%);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease;
}

/* Header & Mobile Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(17, 17, 17, 0.95);
    padding: 12px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--glass-border);
}

body.light-theme .main-header.scrolled {
    background: rgba(255, 255, 240, 0.95);
}

.logo {
    font-family: var(--font-decor);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    opacity: 0.8;
}

.nav-menu a:hover {
    color: var(--gold);
    opacity: 1;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 101;
}

.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition-fast);
}

.hamburger {
    top: 14px;
    left: 3px;
}

.hamburger::before {
    top: -8px;
    left: 0;
}

.hamburger::after {
    top: 8px;
    left: 0;
}

/* Hamburger Open States */
.mobile-nav-toggle.open .hamburger {
    background: transparent;
}
.mobile-nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Animations Definitions */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes shine-sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes eqBounce {
    0% { height: 2px; }
    100% { height: 16px; }
}

@keyframes markerPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

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

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

/* JavaScript Reveal on scroll selectors */
[data-reveal] {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

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

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

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

[data-reveal="scale"] {
    transform: scale(0.9);
}

.revealed {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.3rem;
    }
    .welcome-title {
        font-size: 3.8rem;
    }
    .hero-names {
        font-size: 4.5rem;
    }
    .venue-grid {
        grid-template-columns: 1fr;
    }
    .wishes-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    .main-header.scrolled {
        padding: 10px 20px;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75vw;
        height: 100vh;
        background: #111111;
        z-index: 100;
        padding: 100px 40px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--gold);
        box-shadow: -5px 0 25px rgba(0,0,0,0.5);
    }
    body.light-theme .nav-menu {
        background: #FFFFF0;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    .nav-menu a {
        font-size: 1rem;
    }
    
    .welcome-title {
        font-size: 3rem;
    }
    .wedding-monogram {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    .hero-names {
        font-size: 3.5rem;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 80%;
    }
    
    .timeline::before {
        left: 20px;
    }
    .timeline-progress {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        transform: translateX(30px);
    }
    .timeline-item-right {
        left: 0;
    }
    .timeline-dot {
        left: 4px !important;
        right: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .large-countdown-container {
        gap: 20px;
    }
    .countdown-item-ring {
        width: 110px;
        height: 110px;
    }
    .ring-svg {
        width: 110px;
        height: 110px;
    }
    .ring-bg, .ring-progress {
        cx: 55;
        cy: 55;
        r: 45;
    }
    .ring-progress {
        stroke-dasharray: 283;
        stroke-dashoffset: 283;
    }
    .countdown-digit {
        font-size: 1.6rem;
    }
    .masonry-gallery {
        column-count: 1;
    }
}
