@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Great+Vibes&family=Lato:wght@300;400;700&family=MonteCarlo&family=Noto+Serif+Kannada:wght@400;700;900&display=swap');

/* ... (rest of CSS) ... */

/* Main Navigation / Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 8px;
    /* Thicker bar */
    background: #780740;
    /* Dark Pink / Maroon */
    z-index: 10000;
    box-shadow: 0 0 10px rgba(120, 7, 64, 0.4);
    transition: width 0.1s ease-out;
}

#scroll-progress::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #780740;
}


/* Kannada Specific Styles */
.kannada-font,
.kannada-font * {
    font-family: 'Noto Serif Kannada', serif !important;
    font-weight: 700;
    letter-spacing: 0px;
    /* Kannada needs less spacing */
}

.kannada-font h1,
.kannada-font h2,
.kannada-font h3 {
    font-weight: 900;
}

/* Distinct Day Cards */

:root {
    --primary-color: #780740;
    /* Luxury Maroon */
    --primary-dark: #4a0426;
    --accent-gold: #b57d0d;
    /* Traditional Gold */
    --accent-gold-light: #d4a017;
    --bg-cream: #fcead9;
    /* Solid Beige BG */
    --text-dark: #3a0421;
    /* Dark Maroon for readability */
    --text-gold: #b57d0d;
    --text-light: #b57d0d;
    /* Replace white with gold */

    --font-heading: 'Cinzel Decorative', cursive;
    --font-luxury: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-curvy: 'MonteCarlo', cursive;
    --font-body: 'Lato', sans-serif;

    --shadow-gold: 0 0 15px rgba(181, 125, 13, 0.4);
    --shadow-card: 0 10px 30px rgba(128, 0, 0, 0.15);
    --border-gold: 2px solid var(--accent-gold);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(rgba(212, 175, 55, 0.15) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Top Fade Overlay */
.top-fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    /* Covers top 15% of viewport */
    background: linear-gradient(to bottom, var(--bg-cream) 20%, transparent 100%);
    z-index: 999;
    /* Below lang button but above content */
    pointer-events: none;
    /* Let clicks pass through */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: #4a0426;
    /* Dark Maroon Pin */
    border-radius: 10px;
    border: 2px solid var(--bg-cream);
}

::-webkit-scrollbar-thumb:hover {
    background: #780740;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(120, 7, 64, 0.3);
}

h2::after {
    display: none;
}

.gold-text {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(181, 125, 13, 0.3);
}

.btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    /* Always bright */
    color: var(--accent-gold) !important;
    /* Force gold color */
    border: 2px solid var(--accent-gold);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);

    /* Standardized button layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    /* Ensure buttons aren't too small */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal and Exit Effects */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.exit {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease-in;
}

.scroll-reveal {
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Falling Flowers Styling */
.flower {
    position: fixed;
    z-index: 1001;
    pointer-events: none;
    background-image: url('flower_orange.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: center;
    /* Removed mix-blend-mode: screen to preserve true orange color */
}

.lang-switch-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    /* Bright background */
    border: 2px solid var(--accent-gold);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    /* Clean middle spacing */
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-weight: 700;
}

/* Language Switch Morphing Effect */
body.lang-switching section,
body.lang-switching footer,
body.lang-switching .hero-frame {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.96) translateY(5px);
}

section,
footer,
.hero-frame {
    transition: opacity 0.25s ease-in-out, filter 0.25s ease-in-out, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: opacity, filter, transform;
}

.lang-switch-btn:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(181, 125, 13, 0.4);
    color: var(--accent-gold);
}

.lang-switch-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.lang-text {
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-cream);
    /* Unified BG */
    padding: 3rem 1rem;
    position: relative;
}

.hero::before {
    display: none;
    /* Remove outside border */
}

.hero-frame {
    padding: 6rem 3rem;
    position: relative;
    max-width: 1000px;
    width: 95%;
    background: #fffbf0;
    /* Lighter creme card */
    border-radius: 0;
    margin: 2rem auto;
    box-shadow:
        0 20px 50px rgba(120, 7, 64, 0.1),
        inset 0 0 100px rgba(255, 255, 255, 1);
    z-index: 5;
}

.decorative-flourish-left {
    position: absolute;
    right: calc(100% + 15px);
    /* Right edge just outside the border */
    top: 38%;
    /* Aligned with 'with' text */
    transform: translateY(-50%);
    width: 380px;
    height: auto;
    opacity: 0;
    /* Initially hidden for animation */
    filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%);
    /* Darker Pink/Red */
    pointer-events: none;
    z-index: 10;
    will-change: opacity, filter, transform;
}

.decorative-flourish-right {
    position: absolute;
    left: calc(100% + 15px);
    /* Left edge just outside the border on the right */
    top: 38%;
    /* Aligned with 'with' text */
    transform: translateY(-50%) scaleX(-1);
    /* Flipped */
    width: 380px;
    height: auto;
    opacity: 0;
    /* Initially hidden for animation */
    filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%);
    /* Darker Pink/Red */
    pointer-events: none;
    z-index: 10;
    will-change: opacity, filter, transform;
}

.decorative-flourish-left.venom-reveal {
    animation: venom-reveal 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.decorative-flourish-right.venom-reveal {
    animation: venom-reveal-right 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes venom-reveal {
    0% {
        opacity: 0;
        filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%) blur(15px);
        transform: translateY(-50%) scale(0.95);
    }

    20% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.8;
        /* Final specific opacity */
        filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%) blur(0px);
        transform: translateY(-50%) scale(1);
    }
}

@keyframes venom-reveal-right {
    0% {
        opacity: 0;
        filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%) blur(15px);
        transform: translateY(-50%) scaleX(-1) scale(0.95);
    }

    20% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.8;
        /* Final specific opacity */
        filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%) blur(0px);
        transform: translateY(-50%) scaleX(-1) scale(1);
    }
}

@media (max-width: 1400px) {
    .decorative-flourish-left {
        width: 300px;
        right: calc(100% + 10px);
    }

    .decorative-flourish-right {
        width: 300px;
        left: calc(100% + 10px);
    }
}

@media (max-width: 1200px) {
    .decorative-flourish-left {
        width: 220px;
        right: calc(100% + 5px);
    }

    .decorative-flourish-right {
        width: 220px;
        left: calc(100% + 5px);
    }
}

@media (max-width: 1024px) {

    .decorative-flourish-left,
    .decorative-flourish-right {
        display: none;
        /* Hide when space is too tight */
    }
}

.hero-frame::before,
.hero-frame::after {
    display: none;
    /* Clean up old symbols */
}

.hero-inner-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 4px double var(--accent-gold);
    pointer-events: none;
    z-index: 2;
}

.hero-inner-border::before {
    content: "✻";
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--bg-cream);
    color: var(--accent-gold);
    font-size: 2rem;
    padding: 5px;
}

.hero-inner-border::after {
    content: "✻";
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--bg-cream);
    color: var(--accent-gold);
    font-size: 2rem;
    padding: 5px;
}

.invocations {
    color: var(--accent-gold-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    font-family: var(--font-body);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: inline-block;
    padding-bottom: 0.5rem;
    /* Soft, diffused golden glow */
    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.3),
        0 0 20px rgba(212, 175, 55, 0.1);
    filter: none;
}

.main-symbols {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.thanks-wrap {
    position: relative;
}

.thanks-flourish-left {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: auto;
    opacity: 0;
    filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%);
    pointer-events: none;
    z-index: 0;
    will-change: opacity, filter, transform;
}

.thanks-flourish-right {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 250px;
    height: auto;
    opacity: 0;
    filter: invert(12%) sepia(95%) saturate(5000%) hue-rotate(335deg) brightness(65%) contrast(115%);
    pointer-events: none;
    z-index: 0;
    will-change: opacity, filter, transform;
}

.thanks-flourish-left.venom-reveal {
    animation: venom-reveal 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.thanks-flourish-right.venom-reveal {
    animation: venom-reveal-right 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@media (max-width: 1024px) {

    .thanks-flourish-left,
    .thanks-flourish-right {
        display: none;
    }
}



@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
        transform: scale(1.02);
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
        transform: scale(1);
    }
}

.ganesha-img {
    height: 140px;
    width: auto;
    animation: pulse-glow 3s infinite ease-in-out;
    filter: drop-shadow(0 0 30px rgba(255, 165, 0, 0.5));
}

.couple-name {
    font-family: var(--font-curvy);
    font-weight: 900;
    font-size: 9rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
    /* Restored breathing room */
    letter-spacing: 1px;
    text-shadow:
        1px 1px 0px var(--accent-gold),
        2px 2px 0px var(--accent-gold),
        3px 3px 15px rgba(0, 0, 0, 0.2),
        0 0 45px rgba(181, 125, 13, 0.5);
    line-height: 0.85;
    display: inline-block;
    transform: none !important;
}

.couple-name .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px) rotate(-5deg);
    transition: none;
}

.couple-name.writing .letter {
    animation: letter-reveal 0.4s ease-out forwards;
}

@keyframes letter-reveal {
    0% {
        opacity: 0;
        transform: translateY(10px) rotate(-5deg);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
        filter: blur(0);
    }
}

.groom-section,
.bride-section {
    text-align: center;
    width: 100%;
}

.groom-section .couple-name,
.bride-section .couple-name {
    transform: none !important;
}

.parents-info {
    color: var(--accent-gold);
    font-family: var(--font-luxury);
    font-style: italic;
    font-size: 1.4rem;
    /* Increased size */
    margin-top: 0.5rem;
}

.honorific {
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 5px;
    font-family: var(--font-luxury);
    letter-spacing: 1px;
}

.with {
    font-family: var(--font-script);
    color: var(--primary-color);
    font-size: 3.2rem;
    margin: 2rem 0 0.8rem 0;
    /* Slightly more top margin, less bottom margin to nudge it closer to Shyam Sundar */
    display: block;
    line-height: 1;
    z-index: 10;
    position: relative;
}

.info-block {
    margin-top: 3rem;
}

.schedule-line {
    font-size: 3.2rem;
    color: var(--primary-color);
    font-family: var(--font-curvy);
    line-height: 1.2;
    margin: 1rem 0;
    font-weight: 500;
}

.at {
    font-family: var(--font-script);
    font-size: 2.5rem;
    /* Increased size */
    color: var(--accent-gold);
    margin: 1.5rem 0 0.8rem 0;
}

.venue-name {
    font-size: 3rem;
    /* Reduced further */
    margin: 0.6rem 0;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 900;
    text-shadow:
        0 0 10px rgba(181, 125, 13, 0.5),
        0 0 20px rgba(181, 125, 13, 0.3);
    line-height: 1.2;
}

.venue-address {
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 0;
    /* Removed top margin */
    margin-bottom: 2rem;
    font-weight: 600;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: white;
    padding: 0.6rem 1.2rem;
    /* Reduced padding */
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 0.75rem;
    /* Smaller font */
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(181, 125, 13, 0.25);
    margin-top: 0.5rem;
}

.map-link-container {
    margin-bottom: 3rem;
    /* Ensure gap below button */
}

.map-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(181, 125, 13, 0.5);
    filter: brightness(1.1);
}

.muhurtham-wrap {
    margin-top: 5rem;
    /* Increased top margin to prevent overlap */
    padding: 2.5rem 3rem;
    /* Better padding */
    display: inline-block;
    position: relative;
    background: var(--primary-color);
    /* Maroon BG */
    border: 3px double var(--accent-gold);
    /* Double gold border like RSVP */
    border-radius: 20px;
    /* Matching RSVP corner */
    box-shadow: 0 10px 30px rgba(120, 7, 64, 0.3);
    transition: all 0.3s ease;
}

.muhurtham-wrap:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 40px rgba(181, 125, 13, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.muhurtham-wrap::before {
    display: none;
}

.muhurtham-title {
    color: var(--accent-gold-light);
    /* Light gold for title */
    font-family: var(--font-heading);
    font-size: 1.6rem;
    /* Slightly smaller */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.muhurtham-detail {
    font-size: 1.8rem;
    /* Smaller, cleaner */
    font-weight: 700;
    color: var(--bg-cream);
    /* Beige text */
    font-family: var(--font-heading);
    margin-top: 0.5rem;
    font-style: normal;
    /* Changed from italic to normal */
    letter-spacing: 1px;
}

/* New Sections */
.events-section-new,
.compliments-section-new {
    max-width: 900px;
    margin: 1.5rem auto;
    /* Significantly reduced margin to tighten layout */
    text-align: center;
    padding: 1rem;
    /* Reduced padding, removed border/bg */
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Itinerary Table Styles */
.itinerary-table-wrap {
    overflow-x: auto;
    padding: 1rem;
}

.itinerary-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    color: var(--text-dark);
    margin-top: 1rem;
}

.itinerary-table th {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.5rem 1rem;
    border-bottom: 2px solid var(--accent-gold);
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1.1rem;
    vertical-align: middle;
}

.itinerary-table td {
    padding: 1.5rem 1rem;
    border: none;
    font-size: 1.1rem;
    /* Standardized font size */
    vertical-align: middle !important;
    text-align: center;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.itinerary-table th:first-child,
.itinerary-table td:first-child {
    white-space: nowrap;
    width: 180px;
    /* Specific width for time column */
    min-width: 180px;
}




.itinerary-table tbody tr {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(181, 125, 13, 0.2);
    border-left: 6px solid transparent;
    /* Reserve space for hover effect with matching width */
}

.itinerary-table tbody tr:hover {
    background-color: #fffbf0;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.8), inset 0 0 10px rgba(255, 215, 0, 0.4);
    /* Dark Bright Golden Glow */
    transform: scale(1.02);
    z-index: 10;
    position: relative;
    border: 1px solid var(--accent-gold);
}

/* Standardized cell behavior */
.itinerary-table td {
    padding: 1.5rem 1rem;
    vertical-align: middle !important;
    text-align: center;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Ensure text colors change on hover for better contrast/effect */
.itinerary-table tbody tr:hover td {
    color: var(--text-dark);
}

.itinerary-table tbody tr:hover .ceremony-name {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(181, 125, 13, 0.5);
    transform: scale(1.05);
}

.ceremony-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.25rem !important;
    /* Uniform font size across all ceremonies */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center center;
    display: table-cell;
    /* Better for table alignment behavior */
    vertical-align: middle;
}

.itinerary-table tbody tr:hover .ceremony-name {
    transform: scale(1.08);
    /* Reduced scale to prevent jitter */
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    color: var(--primary-color);
}

/* Distinct Day Cards */
.day-section {
    background: #fffcf5;
    border: 1px solid rgba(181, 125, 13, 0.4);
    border-radius: 15px;
    padding: 2.5rem;
    /* Increased padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    /* Reduced margin */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.day-header {
    margin-bottom: 2rem;
    color: var(--accent-gold) !important;
    font-family: var(--font-heading);
    background: var(--primary-color) !important;
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 10px;
    /* Boxier appearance */
    border: 3px double var(--accent-gold);
    /* Matching RSVP style */
    box-shadow: 0 5px 20px rgba(120, 7, 64, 0.3);
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

/* Removed font size overrides to maintain standardization */
.row-highlight-light td:first-child,
.row-highlight-gold td:first-child {
    font-weight: 700;
    color: var(--primary-color);
}

/* Removing garbage lines */

.day-section:hover {
    box-shadow: 0 8px 25px rgba(181, 125, 13, 0.15);
    border-color: var(--accent-gold);
}

.day-section::before {
    content: "";
    /* Decorative top accent */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.6;
}

.event-item h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(120, 7, 64, 0.1);
}

.reception-tag {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-top: 0.5rem;
}

.thanks-wrap,
.remembrance-wrap {
    margin-bottom: 4rem;
}

.script-title {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.names-list p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Info Box Container */
.info-box-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.info-box {
    border: 2px solid var(--accent-gold);
    border-radius: 15px;
    padding: 1.5rem;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle fill */
    backdrop-filter: blur(2px);
    position: relative;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-box h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.box-date,
.box-venue-name {
    color: var(--text-dark);
    /* Changed from #fff to var(--text-dark) */
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.box-time,
.box-address {
    color: var(--text-dark);
    /* Changed from #e0e0e0 to var(--text-dark) */
    font-size: 1rem;
}

/* Compliments Section */
.compliments-section {
    margin-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 1.5rem;
    position: relative;
    width: 100%;
}

.compliments-title {
    color: var(--accent-gold);
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.compliments-names p {
    color: var(--text-dark);
    /* Changed from #e0e0e0 to var(--text-dark) */
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.remembrance-section p {
    font-size: 1.2rem;
    font-style: italic;
    letter-spacing: 1px;
}

.shehnai-icon {
    width: 50px;
    height: auto;
    position: absolute;
    bottom: 0;
    opacity: 0.8;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(-50deg);
    /* Gold-ish tint */
}

.shehnai-icon:not(.icon-right) {
    left: 10px;
    transform: rotate(-15deg);
}

.shehnai-icon.icon-right {
    right: 10px;
    transform: scaleX(-1) rotate(-15deg);
}

@media (max-width: 768px) {
    .info-box-container {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 100%;
    }

    .shehnai-icon {
        display: none;
        /* Hide icons on small mobile to avoid scatter */
    }
}

.and {
    font-family: var(--font-heading);
    color: var(--accent-gold-light);
    font-size: 2rem;
    margin: 1rem 0;
    position: relative;
}

.and::before,
.and::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background: var(--accent-gold);
    position: absolute;
    top: 50%;
}

.and::before {
    right: 150%;
}

.and::after {
    left: 150%;
}

.invite-line {
    color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 3rem;
    text-transform: uppercase;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.location-display {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 2rem;
    display: inline-block;
}

@media (min-width: 768px) {
    .couple-names-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        /* Added explicit gap */
    }

    .groom-section,
    .bride-section {
        flex: 1;
    }

    .and {
        margin-top: 1rem;
    }
}



/* Countdown */
.countdown-container {
    background: var(--primary-color);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    margin: 3.5rem auto;
    /* Standardized gap */
    max-width: 90%;
    border-radius: 20px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-val {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.time-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: var(--bg-cream);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
    font-family: var(--font-heading);
    text-shadow: 0 4px 10px rgba(120, 7, 64, 0.1);
    padding-bottom: 0.5rem;
}

h2::after {
    content: "";
    /* Removed swan decoration */
    display: block;
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Fusion Script Styling */
.fusion-script {
    margin-bottom: 2rem;
    text-align: center;
}

.sanskrit-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tamil-text {
    font-size: 1rem;
    color: var(--accent-gold);
}

/* Story Section Enhancement */
.story-section {
    padding: 4rem 1rem;
    text-align: center;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    position: relative;
    padding: 2.5rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: var(--font-body);
}

.story-content::after {
    display: none;
}

/* Events Section */
.events-section {
    padding: 8rem 2rem;
    background: var(--bg-cream);
    /* Unified BG */
    position: relative;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event Card Styling */
.event-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--accent-gold);
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* Event Icons Styling */

/* Event Icons instead of Images */
.card-icon-container {
    height: 120px;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--accent-gold);
}

.event-main-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.event-card:hover .event-main-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.card-body {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
}

.event-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-desc {
    font-family: var(--font-script);
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-info {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RSVP Section */
.rsvp-section {
    padding: 1.5rem 2rem;
    /* Reduced padding to bring it closer to Day 2 */
    background: var(--bg-cream);
    color: var(--primary-color);
    text-align: center;
    position: relative;
    z-index: 100;
    margin-bottom: 2rem;
}


.rsvp-card-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--primary-color);
    /* Maroon background to match theme */
    border: 3px double var(--accent-gold);
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: 0 15px 40px rgba(120, 7, 64, 0.3);
    position: relative;
    overflow: hidden;
}

.rsvp-inner-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(181, 125, 13, 0.2);
    pointer-events: none;
    border-radius: 15px;
}

.rsvp-section h2 {
    color: var(--accent-gold-light);
    background: none;
    -webkit-text-fill-color: initial;
    font-weight: 700;
}

.rsvp-section p {
    color: var(--bg-cream) !important;
}

.admin-panel {
    margin-top: 3rem;
    background: var(--primary-dark);
    padding: 2.5rem;
    border-radius: 20px;
    border: 3px solid var(--accent-gold);
    max-width: 950px;
    margin-inline: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
}

.admin-panel.hidden {
    display: none;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

#rsvp-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 0.9rem;
    text-align: left;
}

#rsvp-table th,
#rsvp-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(215, 175, 55, 0.2);
}

#rsvp-table th {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-small {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--accent-gold);
    color: white;
}

.rsvp-section h2 {
    color: var(--accent-gold);
}

.rsvp-form {
    max-width: 650px;
    margin: 2rem auto;
    background: #fff;
    padding: 3rem;
    border: 4px solid var(--accent-gold);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-bottom: 4px solid var(--accent-gold);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Footer */
footer {
    background: #8B1155;
    color: var(--accent-gold);
    text-align: center;
    padding: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 0 !important;
    position: relative;
    z-index: 10;
}

.hashtag {
    font-size: 2.2rem;
    letter-spacing: 6px;
    margin-bottom: 1rem;
    display: block;
    color: #B8860B;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

footer p {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Strong bold font for copyright (not curvy) */
p[data-key="footer_copyright"] {
    font-family: var(--font-body) !important;
    /* Lato / Sans-serif */
    font-weight: 900 !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    margin-top: 1.5rem !important;
    text-transform: none !important;
    /* Keep as provided */
}

@media (max-width: 480px) {
    .couple-name {
        font-size: 2.8rem;
        /* Ultra-small mobile */
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem;
    }

    .hero-frame {
        padding: 3rem 1.5rem;
        width: 95%;
        margin: 0 auto;
    }

    .couple-names-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .couple-name {
        font-size: 3.2rem;
        line-height: 1.2;
    }

    .and {
        margin: 0.5rem 0;
    }

    .and::before,
    .and::after {
        width: 40px;
    }

    .main-symbols {
        gap: 1.5rem;
    }

    .ganesha-img {
        height: 100px;
    }

    .info-box-container {
        flex-direction: column;
        gap: 1rem;
    }

    .info-box {
        max-width: 100%;
    }

    h2 {
        font-size: 2.2rem;
    }

    .countdown-container {
        width: 95%;
        padding: 2rem 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {

    /* Tablet & Small Laptops */
    .hero-frame {
        max-width: 90%;
        padding: 3rem 2rem;
    }

    .couple-name {
        font-size: 4rem;
    }
}

@media (min-width: 1101px) {

    /* Large Screens */
    .hero-frame {
        max-width: 1000px;
    }

    .couple-name {
        font-size: 5.5rem;
    }
}

/* Kannada Specific Typography Ratios */
.kannada-font .couple-name {
    font-size: 5rem !important;
    line-height: 1.2;
}

.kannada-font .invite-line {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.kannada-font h2 {
    font-size: 2rem;
}

.kannada-font .venue-name {
    font-size: 2.2rem;
    letter-spacing: 0px;
}

.kannada-font .schedule-line {
    font-size: 2rem;
}

.kannada-font .at {
    font-size: 1.8rem;
}

.kannada-font .parents-info {
    font-size: 1.1rem;
}

.kannada-font .with {
    font-size: 2rem;
}

.kannada-font .muhurtham-title {
    font-size: 1.4rem;
}

.kannada-font .muhurtham-detail {
    font-size: 1.5rem;
}

.kannada-font .itinerary-table th {
    font-size: 1rem;
    letter-spacing: 0;
}

.kannada-font .itinerary-table td {
    font-size: 0.95rem;
}

.kannada-font .ceremony-name {
    font-size: 1.1rem !important;
}

@media (max-width: 768px) {
    .kannada-font .couple-name {
        font-size: 3.5rem !important;
    }

    .kannada-font .schedule-line {
        font-size: 1.5rem;
    }

    .kannada-font .venue-name {
        font-size: 1.8rem;
    }
}

.kannada-font .hashtag {
    letter-spacing: 0 !important;
}

/* Muhurtham Box Sizing (Smaller) */
.muhurtham-wrap {
    padding: 1.5rem !important;
    max-width: 450px;
    margin: 0 auto;
}

.muhurtham-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.muhurtham-detail {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bg-cream);
}

/* Compliments Styling - Uniform */
/* Compliments Styling - Uniform */
.thanks-wrap,
.remembrance-wrap {
    border: 2px solid var(--accent-gold);
    /* Clean single border */
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fffcf5 0%, #fffbf0 100%);
    box-shadow: 0 10px 30px rgba(181, 125, 13, 0.15);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.thanks-wrap:hover,
.remembrance-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(181, 125, 13, 0.25);
}


.names-list p,
.remembrance-content p,
.remembrance-wrap p[data-key="remembrance_name"] {
    font-family: var(--font-body);
    font-size: 1.25rem !important;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Stylized PHOOL branding */
.phool-stylized {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight-title {
    letter-spacing: 2px !important;
    font-weight: 900 !important;
}

.box-glow {
    /* Base version for other uses if any, but we will override for titles */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 75%);
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific override for titles to obey "glow for text only" */
.highlight-events .box-glow {
    background: none !important;
    padding: 0 !important;
    text-shadow: none !important;
    /* Managed by text-glow-gold instead */
}

.text-glow-gold {
    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.9),
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4);
    color: var(--accent-gold-light) !important;
}

.title-divider {
    width: 100px;
    height: 1.5px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    margin: 0.5rem auto 1rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.linked-oo {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    margin-inline: 2px;
}

.ring-o {
    position: relative;
    display: inline-block;
    font-weight: 900;
}

.ring-o.second {
    margin-left: -0.45em;
    /* Deep interlock */
    z-index: 1;
}

.linked-oo::after {
    content: "O";
    position: absolute;
    left: -2px;
    /* Slight adjustment to align with the first O */
    top: 0;
    z-index: 2;
    pointer-events: none;
    clip-path: inset(0 50% 50% 0);
    /* Show only top-left quadrant of first O on top of second */
    display: inline-block;
    /* Enable the interlocking effect */
    color: inherit;
}

/* Let's try a simpler robust overlap first */
.ring-o.second {
    margin-left: -0.55em !important;
    /* Extremely aggressive overlap like reality logo */
    z-index: 1;
}

/* End of specialized branding */

/* Optional: Add a subtle clip or mask for true interlocking if needed, 
   but usually negative margin + Cinzel Decorative looks very close to the ref */
.kannada-font .linked-oo {
    letter-spacing: normal;
    margin-right: 0;
}