/* ===== Ultra Premium Indian Wedding Theme ===== */

:root {
    /* Rich Color Palette */
    --deep-maroon: #4A0E0E;
    --royal-maroon: #6B1C23;
    --rich-maroon: #8B2635;
    --light-maroon: #A84448;

    --royal-gold: #C9A227;
    --bright-gold: #D4AF37;
    --soft-gold: #E8D5A3;
    --pale-gold: #F5ECD7;

    --cream: #FAF6F0;
    --warm-cream: #F5EFE6;
    --ivory: #FFFEF9;

    --deep-brown: #3D2914;
    --rich-brown: #5D4037;
    --soft-brown: #8D6E63;

    --charcoal: #1A1A1A;
    --dark-text: #2D2D2D;
    --medium-text: #555555;
    --light-text: #888888;

    /* Premium Fonts */
    --font-display: 'Cinzel Decorative', 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-hindi: 'Yatra One', 'Noto Sans Devanagari', serif;
    --font-body: 'Cormorant Garamond', 'Noto Sans Devanagari', serif;

    /* Spacing */
    --section-padding: 120px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--dark-text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

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

/* Prevent overflow on all elements */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--royal-maroon) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-mandala {
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mandala-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--royal-gold);
}

.mandala-ring.ring-1 {
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-style: dashed;
    border-color: var(--royal-gold);
    animation: spin 8s linear infinite;
    opacity: 0.4;
}

.mandala-ring.ring-2 {
    width: 85%;
    height: 85%;
    border-width: 3px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: spin-reverse 3s linear infinite;
    opacity: 0.7;
}

.mandala-ring.ring-3 {
    width: 70%;
    height: 70%;
    border-width: 2px;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spin 2s linear infinite;
    opacity: 0.9;
}

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

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

.preloader-om {
    font-size: 3.5rem;
    color: var(--royal-gold);
    z-index: 1;
    animation: om-glow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}

@keyframes om-glow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
        text-shadow: 0 0 40px rgba(201, 162, 39, 0.8), 0 0 60px rgba(201, 162, 39, 0.4);
    }
}

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

.preloader-names {
    display: block;
    font-family: var(--font-hindi);
    font-size: 1.8rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
    animation: fade-in-up 1s ease-out;
}

.preloader-date {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 4px;
    opacity: 0.7;
    text-transform: uppercase;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--royal-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== Navigation ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-nav.scrolled {
    background: rgba(74, 14, 14, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--soft-gold);
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 3px;
}

.brand-icon {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--soft-gold);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--royal-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--soft-gold);
    transition: var(--transition-smooth);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--royal-maroon) 50%, var(--deep-maroon) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23C9A227' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* Corner Ornaments */
.corner-ornament {
    position: absolute;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 2;
}

.corner-ornament.top-left {
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M0 0 L100 0 Q80 20 80 50 L80 80 Q20 80 0 100 Z' fill='%23C9A227' opacity='0.2'/%3E%3Cpath d='M0 0 L80 0 Q60 15 60 40 L60 60 Q15 60 0 80 Z' fill='%23C9A227' opacity='0.15'/%3E%3Ccircle cx='40' cy='40' r='5' fill='%23C9A227' opacity='0.3'/%3E%3Ccircle cx='25' cy='25' r='3' fill='%23C9A227' opacity='0.3'/%3E%3Ccircle cx='55' cy='25' r='3' fill='%23C9A227' opacity='0.3'/%3E%3Ccircle cx='25' cy='55' r='3' fill='%23C9A227' opacity='0.3'/%3E%3C/svg%3E");
}

.corner-ornament.top-right {
    top: 0;
    right: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M200 0 L100 0 Q120 20 120 50 L120 80 Q180 80 200 100 Z' fill='%23C9A227' opacity='0.2'/%3E%3Cpath d='M200 0 L120 0 Q140 15 140 40 L140 60 Q185 60 200 80 Z' fill='%23C9A227' opacity='0.15'/%3E%3Ccircle cx='160' cy='40' r='5' fill='%23C9A227' opacity='0.3'/%3E%3Ccircle cx='175' cy='25' r='3' fill='%23C9A227' opacity='0.3'/%3E%3Ccircle cx='145' cy='25' r='3' fill='%23C9A227' opacity='0.3'/%3E%3Ccircle cx='175' cy='55' r='3' fill='%23C9A227' opacity='0.3'/%3E%3C/svg%3E");
}

.corner-ornament.bottom-left {
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M0 200 L100 200 Q80 180 80 150 L80 120 Q20 120 0 100 Z' fill='%23C9A227' opacity='0.2'/%3E%3Cpath d='M0 200 L80 200 Q60 185 60 160 L60 140 Q15 140 0 120 Z' fill='%23C9A227' opacity='0.15'/%3E%3Ccircle cx='40' cy='160' r='5' fill='%23C9A227' opacity='0.3'/%3E%3C/svg%3E");
}

.corner-ornament.bottom-right {
    bottom: 0;
    right: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M200 200 L100 200 Q120 180 120 150 L120 120 Q180 120 200 100 Z' fill='%23C9A227' opacity='0.2'/%3E%3Cpath d='M200 200 L120 200 Q140 185 140 160 L140 140 Q185 140 200 120 Z' fill='%23C9A227' opacity='0.15'/%3E%3Ccircle cx='160' cy='160' r='5' fill='%23C9A227' opacity='0.3'/%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 100px 20px;
    max-width: 900px;
}

/* Sacred Header */
.sacred-header {
    margin-bottom: 40px;
}

.sacred-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.sacred-icon {
    color: var(--royal-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sacred-icon .sacred-fa-icon {
    font-size: 2.5rem;
    color: var(--royal-gold);
}

.sacred-img {
    transition: var(--transition-smooth);
}

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

.sacred-icon.kalash .kalash-img {
    width: 50px;
    height: 75px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.sacred-icon.kalash .kalash-img:hover {
    transform: scale(1.1);
}

.sacred-icon.ganesha .ganesha-img {
    width: 100px;
    height: 120px;
    object-fit: contain;
}

.ganesh-icon {
    width: 80px;
    height: 80px;
    color: var(--royal-gold);
}

.sacred-text {
    font-family: var(--font-hindi);
    font-size: 1.2rem;
    color: var(--soft-gold);
    letter-spacing: 4px;
}

/* Invitation Intro */
.invitation-intro {
    margin-bottom: 50px;
}

.family-presents {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--soft-gold);
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Couple Names */
.couple-hero {
    margin-bottom: 50px;
}

.groom-name, .bride-name {
    font-family: var(--font-hindi);
    font-size: 5rem;
    font-weight: 400;
    color: var(--pale-gold);
    letter-spacing: 8px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.ampersand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.ampersand-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.ampersand {
    font-family: var(--font-hindi);
    font-size: 2rem;
    color: var(--royal-gold);
}

/* Wedding Date */
.wedding-date-hero {
    margin-bottom: 60px;
}

.date-ornament {
    font-size: 1.5rem;
    color: var(--royal-gold);
    margin-bottom: 15px;
}

.save-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--soft-gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.the-date {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--pale-gold);
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.venue-preview {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--soft-gold);
    opacity: 0.8;
}

/* Countdown */
.countdown-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.countdown-item {
    text-align: center;
    min-width: 90px;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--pale-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--royal-gold);
    opacity: 0.5;
}

/* Scroll Indicator */
.scroll-indicator {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--royal-gold);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--royal-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

.scroll-indicator p {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--soft-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Bottom Scroll Arrow */
.bottom-scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--royal-gold);
    animation: bounceArrow 2s ease-in-out infinite;
    opacity: 0.7;
}

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

/* ===== Shloka Section ===== */
.shloka-section {
    padding: 80px 0;
    background: var(--warm-cream);
    text-align: center;
}

.shloka-content {
    max-width: 700px;
    margin: 0 auto;
}

.shloka-icon {
    font-size: 2rem;
    color: var(--royal-maroon);
    margin-bottom: 25px;
}

.shloka-text {
    font-family: var(--font-hindi);
    font-size: 1.2rem;
    color: var(--royal-maroon);
    line-height: 2;
    margin-bottom: 20px;
}

.shloka-meaning {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--medium-text);
    line-height: 1.8;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header.light {
    color: var(--pale-gold);
}

.section-header.light .section-title {
    color: var(--pale-gold);
}

.section-header.light .section-subtitle {
    color: var(--soft-gold);
}

.section-header.light .header-ornament i,
.section-header.light .ornament-line {
    color: var(--royal-gold);
    background: var(--royal-gold);
}

.header-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.header-ornament i {
    font-size: 1.2rem;
    color: var(--royal-maroon);
}

.ornament-line {
    width: 80px;
    height: 1px;
    background: var(--royal-maroon);
    opacity: 0.4;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--royal-maroon);
    letter-spacing: 8px;
    word-spacing: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-hindi);
    font-size: 1.1rem;
    color: var(--rich-brown);
    letter-spacing: 2px;
}

/* ===== Couple Section ===== */
.couple-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
    position: relative;
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%236B1C23' stroke-width='0.5' opacity='0.05'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%236B1C23' stroke-width='0.3' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
}

.couple-card {
    position: relative;
}

.card-frame {
    background: var(--ivory);
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(107, 28, 35, 0.1);
    transition: var(--transition-smooth);
}

.card-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(107, 28, 35, 0.15);
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--royal-gold);
}

.frame-corner.tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.frame-corner.tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.frame-corner.br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

.card-image {
    margin-bottom: 30px;
}

.image-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--soft-gold) 0%, var(--pale-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--royal-gold);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
    padding: 8px;
    overflow: hidden;
}

.image-placeholder .person-svg,
.image-placeholder .person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.image-placeholder .person-icon {
    font-size: 5rem;
    color: var(--royal-maroon);
}

.image-placeholder.groom-icon {
    background: linear-gradient(135deg, var(--pale-gold) 0%, var(--cream) 100%);
    color: var(--royal-maroon);
}

.image-placeholder.bride-icon {
    background: linear-gradient(135deg, var(--pale-gold) 0%, var(--cream) 100%);
    color: var(--rich-maroon);
}

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

.relation-text {
    font-family: var(--font-hindi);
    font-size: 0.95rem;
    color: var(--rich-brown);
    margin-bottom: 5px;
}

.person-name {
    font-family: var(--font-hindi);
    font-size: 2.5rem;
    color: var(--royal-maroon);
    margin-bottom: 5px;
}

.designation {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--royal-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.family-tree {
    text-align: left;
    margin-bottom: 20px;
}

.tree-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.tree-item i {
    color: var(--royal-gold);
    font-size: 0.6rem;
    margin-top: 8px;
}

.tree-label {
    font-family: var(--font-hindi);
    font-weight: 600;
    color: var(--royal-maroon);
    display: block;
}

.tree-value {
    font-family: var(--font-hindi);
    color: var(--medium-text);
    display: block;
    line-height: 1.6;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--medium-text);
    font-style: italic;
    padding-top: 15px;
    border-top: 1px solid var(--pale-gold);
}

.address i {
    color: var(--royal-maroon);
    margin-top: 3px;
}

/* Couple Center */
.couple-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.center-mandala {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    animation: rotate 30s linear infinite;
}

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

.mandala-svg {
    width: 100%;
    height: 100%;
    color: var(--royal-maroon);
}

.weds-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--royal-maroon);
    letter-spacing: 5px;
}

/* Blessing Box */
.blessing-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: var(--ivory);
    border: 1px solid var(--pale-gold);
    position: relative;
}

.blessing-ornament {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--royal-maroon);
}

.blessing-intro {
    font-family: var(--font-hindi);
    font-size: 1.1rem;
    color: var(--rich-brown);
    margin-bottom: 10px;
}

.blessing-text {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--medium-text);
    margin-bottom: 15px;
}

.blessing-title {
    font-family: var(--font-hindi);
    font-size: 2rem;
    color: var(--royal-maroon);
    margin-bottom: 15px;
}

.blessing-request {
    font-family: var(--font-hindi);
    font-size: 0.95rem;
    color: var(--medium-text);
}

/* ===== Events Section ===== */
.events-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.events-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--deep-maroon) 0%, #2d0a0a 50%, var(--deep-maroon) 100%);
}

.events-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 50%);
}

/* Timeline Container */
.timeline-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--royal-gold) 5%,
        var(--royal-gold) 95%,
        transparent 100%);
    transform: translateX(-50%);
}

.timeline-line::before,
.timeline-line::after {
    content: '❧';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--royal-gold);
}

.timeline-line::before {
    top: -10px;
}

.timeline-line::after {
    bottom: -10px;
}

/* Timeline Event */
.timeline-event {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.timeline-event:last-child {
    margin-bottom: 0;
}

/* Alternating sides */
.timeline-event {
    justify-content: flex-start;
    padding-right: 50%;
}

.timeline-event.right {
    justify-content: flex-end;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-event.main {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 50%;
    margin: 80px 0;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--royal-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-maroon);
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.3), 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.timeline-dot.main-dot {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--royal-gold), #e8c547);
    box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.4), 0 0 40px rgba(201, 162, 39, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.4), 0 0 40px rgba(201, 162, 39, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(201, 162, 39, 0.2), 0 0 60px rgba(201, 162, 39, 0.4); }
}

/* Timeline Content */
.timeline-content {
    width: calc(100% - 60px);
    padding-right: 30px;
}

.timeline-event.right .timeline-content {
    padding-right: 0;
    padding-left: 30px;
}

.timeline-event.main .timeline-content {
    width: calc(100% - 60px);
    max-width: 500px;
    padding-right: 30px;
}

/* Event Card New */
.event-card-new {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    position: relative;
}

.event-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.event-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--royal-gold), var(--bright-gold), var(--royal-gold));
}

/* Event Header (Date) */
.event-header {
    background: linear-gradient(135deg, var(--royal-maroon), var(--deep-maroon));
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-day {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--royal-gold);
    line-height: 1;
}

.event-month-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.event-month-year .month {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--soft-gold);
    letter-spacing: 3px;
}

.event-month-year .year {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Event Body */
.event-body {
    padding: 25px 30px;
    flex: 1;
}

.event-weekday {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--royal-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    padding: 3px 10px;
    background: var(--pale-gold);
    border-radius: 20px;
}

.event-title {
    font-family: var(--font-hindi);
    font-size: 1.4rem;
    color: var(--deep-maroon);
    margin-bottom: 5px;
}

.event-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--medium-text);
    font-style: italic;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--dark-text);
}

.event-meta i {
    color: var(--royal-gold);
}

/* Event Decoration */
.event-decoration {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--pale-gold);
    opacity: 0.5;
}

/* Main Event Card */
.event-card-new.main-card {
    flex-direction: column;
    text-align: center;
    background: linear-gradient(135deg, #fffef9 0%, var(--pale-gold) 100%);
    border: 2px solid var(--royal-gold);
    position: relative;
}

.event-card-new.main-card::before {
    height: 5px;
}

.main-event-badge {
    background: linear-gradient(135deg, var(--royal-maroon), var(--deep-maroon));
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--royal-gold);
}

.main-event-badge span {
    font-family: var(--font-hindi);
    font-size: 1.3rem;
    letter-spacing: 5px;
}

.main-event-badge i {
    font-size: 0.9rem;
}

.main-card .event-header {
    background: transparent;
    padding: 30px 20px 15px;
}

.main-card .event-header.main-header {
    flex-direction: row;
    gap: 15px;
}

.main-card .event-day {
    font-size: 4rem;
    color: var(--royal-maroon);
}

.main-card .event-month-year .month {
    color: var(--royal-maroon);
}

.main-card .event-month-year .year {
    color: var(--rich-maroon);
}

.main-card .event-body {
    padding: 15px 40px 35px;
}

.main-card .event-weekday {
    background: var(--royal-maroon);
    color: var(--soft-gold);
}

.main-card .event-title.main-title {
    font-size: 1.8rem;
    color: var(--deep-maroon);
}

.main-card .event-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Main Event Details */
.main-event-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--royal-gold);
}

.detail-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-text);
}

.detail-item span {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--deep-maroon);
}

/* Barat Info */
.barat-info {
    background: linear-gradient(135deg, var(--royal-maroon), var(--deep-maroon));
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.barat-icon {
    width: 40px;
    height: 40px;
    background: var(--royal-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-maroon);
    font-size: 1rem;
}

.barat-info p {
    font-family: var(--font-hindi);
    font-size: 0.95rem;
    color: var(--soft-gold);
    margin: 0;
}

/* Main Card Corners */
.main-card-corners .corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid var(--royal-gold);
}

.main-card-corners .corner.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.main-card-corners .corner.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.main-card-corners .corner.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.main-card-corners .corner.br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.event-name {
    font-family: var(--font-hindi);
    font-size: 1.3rem;
    color: var(--royal-maroon);
    margin-bottom: 5px;
}

.main-event .event-name {
    font-size: 1.8rem;
    color: var(--deep-maroon);
}

.event-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--medium-text);
    margin-bottom: 15px;
}

.main-event .event-desc {
    color: var(--deep-brown);
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--light-text);
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-event .event-details {
    color: var(--deep-brown);
}

.barat-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(74, 14, 14, 0.1);
    border-radius: 5px;
    font-family: var(--font-hindi);
    font-size: 0.85rem;
    color: var(--deep-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===== Venue Section ===== */
.venue-section {
    padding: var(--section-padding) 0;
    background: var(--warm-cream);
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.venue-card {
    background: var(--ivory);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(107, 28, 35, 0.1);
    transition: var(--transition-smooth);
}

.venue-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(107, 28, 35, 0.15);
}

.venue-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.venue-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--royal-maroon) 0%, var(--rich-maroon) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--soft-gold);
}

.venue-placeholder.home {
    background: linear-gradient(135deg, var(--bright-gold) 0%, var(--royal-gold) 100%);
    color: var(--deep-maroon);
}

.venue-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--royal-gold);
    color: var(--deep-maroon);
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.venue-content {
    padding: 35px;
}

.venue-name {
    font-family: var(--font-hindi);
    font-size: 1.6rem;
    color: var(--royal-maroon);
    margin-bottom: 5px;
}

.venue-name-en {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--rich-brown);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.venue-address {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 25px;
    line-height: 1.8;
}

.venue-address i {
    color: var(--royal-maroon);
    margin-top: 5px;
}

.venue-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--royal-maroon);
    color: var(--soft-gold);
    padding: 12px 30px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.venue-btn:hover {
    background: var(--deep-maroon);
    transform: scale(1.05);
}

.residence-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--royal-gold);
    font-size: 0.85rem;
}

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

.note-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--ivory);
    padding: 20px 40px;
    border: 1px dashed var(--royal-gold);
    font-family: var(--font-hindi);
    font-size: 0.95rem;
    color: var(--rich-brown);
}

.note-card i {
    font-size: 1.5rem;
    color: var(--royal-gold);
}

/* ===== Video Invitation Section ===== */
.video-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--royal-maroon) 100%);
}

.video-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='%23C9A227' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
}

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

.video-frame {
    position: relative;
    background: var(--ivory);
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.video-frame .frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--royal-gold);
    z-index: 2;
}

.video-frame .frame-corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.video-frame .frame-corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.video-frame .frame-corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.video-frame .frame-corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 Portrait Aspect Ratio */
    background: var(--charcoal);
    overflow: hidden;
    border-radius: 5px;
}

.invitation-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 14, 14, 0.8) 0%, rgba(107, 28, 35, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-overlay:hover {
    background: linear-gradient(135deg, rgba(74, 14, 14, 0.7) 0%, rgba(107, 28, 35, 0.7) 100%);
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--royal-gold);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.play-btn i {
    font-size: 3rem;
    color: var(--deep-maroon);
    margin-left: 8px;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(201, 162, 39, 0.4);
}

.play-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--soft-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.video-info {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.video-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-hindi);
    font-size: 1.3rem;
    color: var(--pale-gold);
    margin-bottom: 15px;
}

.video-title i {
    color: var(--royal-gold);
}

.video-desc {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--soft-gold);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 80px 0;
    background: var(--warm-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--ivory);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--pale-gold);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold);
    box-shadow: 0 15px 40px rgba(107, 28, 35, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--pale-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--royal-maroon);
}

.contact-card h4 {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--royal-maroon);
    margin-bottom: 10px;
}

.contact-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--medium-text);
    text-decoration: none;
    font-size: 0.85rem;
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.contact-card a:hover {
    color: var(--royal-maroon);
}

/* ===== Footer ===== */
.main-footer {
    padding: 80px 0 40px;
    background: var(--deep-maroon);
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='15' fill='none' stroke='%23C9A227' stroke-width='0.3' opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
}

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

.footer-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: var(--font-hindi);
    font-size: 3rem;
    color: var(--pale-gold);
    margin-bottom: 15px;
}

.footer-names i {
    color: var(--royal-gold);
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.footer-date {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--royal-gold);
    letter-spacing: 8px;
    margin-bottom: 15px;
}

.footer-blessing {
    font-family: var(--font-hindi);
    font-size: 1rem;
    color: var(--soft-gold);
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-ornament span {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.footer-ornament i {
    color: var(--royal-gold);
    font-size: 1.2rem;
}

/* ===== Video Button ===== */
.video-player-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    pointer-events: auto;
}

.video-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--royal-maroon);
    border: 2px solid var(--royal-gold);
    color: var(--soft-gold);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    animation: pulse-video 2s ease-in-out infinite;
    pointer-events: auto;
    position: relative;
    z-index: 1001;
}

.video-btn:hover {
    transform: scale(1.1);
    background: var(--deep-maroon);
}

@keyframes pulse-video {
    0%, 100% { box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(201, 162, 39, 0.5); }
}

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

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(201, 162, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--royal-gold);
    border: none;
    color: var(--deep-maroon);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--bright-gold);
}

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

    .timeline-event,
    .timeline-event.right {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-event.main {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-event.main .timeline-content {
        max-width: 100%;
    }

    .timeline-content,
    .timeline-event.right .timeline-content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-event.main .timeline-content {
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .couple-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .couple-center {
        order: -1;
        padding: 30px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(74, 14, 14, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transform: translateX(-100%);
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .groom-name, .bride-name {
        font-size: 3rem;
    }

    .the-date {
        font-size: 1.8rem;
    }

    .countdown-hero {
        flex-wrap: wrap;
        gap: 10px;
    }

    .countdown-item {
        min-width: 70px;
    }

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

    .countdown-separator {
        display: none;
    }

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

    /* Timeline Responsive - 992px */
    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-dot.main-dot {
        width: 50px;
        height: 50px;
    }

    .timeline-event,
    .timeline-event.right {
        padding-left: 60px;
        padding-right: 10px;
        margin-bottom: 40px;
        justify-content: flex-start;
    }

    .timeline-event.main {
        padding-left: 60px;
        padding-right: 10px;
        margin: 50px 0;
        justify-content: flex-start;
        width: 100%;
    }

    .timeline-event.main .timeline-dot {
        display: flex;
        left: 20px;
    }

    .timeline-event.main .timeline-content {
        max-width: 100%;
        width: 100%;
        padding: 0;
        padding-right: 0;
    }

    .event-card-new.main-card {
        width: 100%;
    }

    .event-card-new {
        flex-direction: column;
    }

    .event-header {
        flex-direction: row;
        padding: 15px 20px;
        gap: 15px;
    }

    .event-day {
        font-size: 2.5rem;
    }

    .event-body {
        padding: 20px;
    }

    .event-title {
        font-size: 1.2rem;
    }

    .main-card .event-day {
        font-size: 3rem;
    }

    .main-card .event-title.main-title {
        font-size: 1.4rem;
    }

    .main-event-details {
        gap: 20px;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .main-event-badge span {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .main-card .event-body {
        padding: 15px 20px 25px;
    }

    .barat-info {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }

    .barat-info p {
        font-size: 0.85rem;
        text-align: center;
    }

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

    .form-group.full {
        grid-column: auto;
    }

    .rsvp-form {
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .corner-ornament {
        width: 120px;
        height: 120px;
    }

    .video-container {
        max-width: 350px;
    }

    .video-frame {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .groom-name, .bride-name {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .ampersand-line {
        width: 50px;
    }

    .the-date {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .card-frame {
        padding: 30px 20px;
    }

    .person-name {
        font-size: 2rem;
    }

    .blessing-box {
        padding: 40px 20px;
    }

    .blessing-title {
        font-size: 1.5rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 150px);
    }

    .video-container {
        max-width: 300px;
    }

    .video-frame {
        padding: 12px;
    }

    .video-frame .frame-corner {
        width: 30px;
        height: 30px;
    }

    .video-info {
        padding: 0 10px;
    }

    .video-title {
        font-size: 1rem;
    }

    .video-desc {
        font-size: 0.9rem;
    }

    /* Main Event Card - 480px */
    .timeline-container {
        padding: 20px 0;
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .timeline-event,
    .timeline-event.right {
        padding-left: 50px;
        padding-right: 5px;
    }

    .timeline-event.main {
        padding-left: 50px;
        padding-right: 5px;
        margin: 40px 0;
    }

    .timeline-event.main .timeline-content {
        max-width: 100%;
        width: 100%;
    }

    .event-card-new {
        border-radius: 12px;
    }

    .main-event-badge {
        padding: 10px 15px;
    }

    .main-event-badge span {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .main-event-badge i {
        font-size: 0.7rem;
    }

    .main-card .event-day {
        font-size: 2.5rem;
    }

    .main-card .event-title.main-title {
        font-size: 1.2rem;
    }

    .main-card .event-subtitle {
        font-size: 0.85rem;
    }

    .main-event-details {
        flex-direction: column;
        gap: 15px;
    }

    .detail-item i {
        font-size: 1.2rem;
    }

    .detail-item span {
        font-size: 0.9rem;
    }

    .barat-info {
        margin: 10px 5px 0;
    }

    .barat-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
