/* ================================================================
   Wedding Invite — Kiran & Vishal
   Physical-card inspired: ivory base, colourful florals, maroon text
   ================================================================ */

/* ---------- design tokens ---------- */
:root {
    color-scheme: only light;   /* force light mode regardless of OS dark mode */
    --page-bg:           #f8f0e7;
    --theme-bg:          #6b2d3b;
    --theme-card:        rgba(255, 251, 245, 0.97);
    --theme-gold:        #bb8a3c;
    --theme-gold-light:  #a8721e;   /* darkened for contrast on ivory bg */
    --theme-gold-dark:   #7a5010;
    --text-light:        #5b2733;
    --text-muted:        #7f5d67;
    --text-contrast:     #fffdfa;
    --button-text:       #4c2230;
    --rose-accent:       rgba(145, 84, 100, 0.08);
    --rose-shadow:       rgba(108, 62, 76, 0.12);
    --gold-gradient:     linear-gradient(135deg, #8a5e1a, #c49030, #9a6b22, #c49030, #7a4e14);
}

/* ---------- resets ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* prevent any element from overflowing its container horizontally */
img, video, iframe, svg { max-width: 100%; height: auto; }
p, h1, h2, h3, h4, h5, h6, span, li, a { overflow-wrap: break-word; word-break: break-word; }

body, html {
    margin: 0;
    padding: 0;
    color-scheme: only light;   /* belt-and-suspenders for older engines */
    background: linear-gradient(180deg, #fbf7f0 0%, #f5ede2 52%, #efe3d7 100%);
    color: var(--text-light);
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body > * { position: relative; z-index: 1; }

/* ---------- subtle background trellis ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23BB8A3C' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M60 0 C60 30, 90 60, 120 60 C90 60, 60 90, 60 120 C60 90, 30 60, 0 60 C30 60, 60 30, 60 0 Z'/%3E%3Ccircle cx='60' cy='60' r='15' stroke-dasharray='2, 4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 156px;
    opacity: 0.4;
    animation: pattern-drift 28s linear infinite;
}
@keyframes pattern-drift {
    0%   { transform: translate3d(0,    0,   0); }
    50%  { transform: translate3d(-18px,-12px,0); }
    100% { transform: translate3d(-36px,-24px,0); }
}

/* ---------- falling petals (hero section only) ---------- */
#petal-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.petal {
    position: absolute;
    top: -40px;
    pointer-events: none;
    border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
    opacity: 0;
    animation: petalFall linear infinite;
    will-change: transform, opacity;
}
@keyframes petalFall {
    0%   { transform: translateY(-40px) translateX(0) rotate(0deg) scale(0.7);  opacity: 0; }
    8%   { opacity: 0.45; }
    85%  { opacity: 0.38; }
    100% { transform: translateY(110vh) translateX(var(--sway)) rotate(var(--spin)) scale(1); opacity: 0; }
}

/* ---------- ambient specks (rest of page, fixed layer) ---------- */
#particle-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: ambientDrift linear infinite;
    will-change: transform, opacity;
}
@keyframes ambientDrift {
    0%   { transform: translateY(0) translateX(0);          opacity: 0; }
    15%  { opacity: 0.55; }
    85%  { opacity: 0.48; }
    100% { transform: translateY(-150px) translateX(var(--drift)); opacity: 0; }
}

/* ---------- scroll progress bar ---------- */
#scroll-progress {
    position: fixed;
    right: 18px;
    top: 16vh;
    height: 60vh;
    width: 4px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.15);
    overflow: hidden;
    z-index: 40;
}
#scroll-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--gold-gradient);
    box-shadow: 0 0 15px rgba(200, 154, 70, 0.55);
    transition: height 0.15s linear;
}

/* ================================================================
   FLORAL SIDE VINES  (match physical card colourful edge flowers)
   ================================================================ */
#main-content {
    margin-left: 320px;
    min-height: 100vh;
    position: relative;
}

#main-content::before,
#main-content::after {
    content: '';
    position: fixed;
    top: 0; bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
    background-image: url('../img/rose-vine-vertical.svg');
    background-repeat: repeat-y;
    background-size: 80px 320px;
    opacity: 0.92;
}
#main-content::before { left: 320px; }
#main-content::after  { right: 0; transform: scaleX(-1); }

/* ================================================================
   SECTION FLORAL TOP / BOTTOM BORDERS
   ================================================================ */
section {
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

/* family section gets extra horizontal padding so content clears the floral side vines */
#family {
    padding-left: 100px;
    padding-right: 100px;
}
@media (max-width: 992px) {
    #family { padding-left: 30px; padding-right: 30px; }
}
@media (max-width: 600px) {
    #family { padding-left: 16px; padding-right: 16px; }
}

section:not(#home)::before,
section:not(#home)::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 70px;
    pointer-events: none;
    z-index: 1;
    background-image: url('../img/rose-vine-horizontal.svg');
    background-repeat: repeat-x;
    background-size: 500px 70px;
}
section:not(#home)::before { top: 0; }
section:not(#home)::after  { bottom: 0; transform: scaleY(-1); }

/* ================================================================
   FONTS & TYPOGRAPHY
   ================================================================ */
body:not(.lang-en) {
    font-family: 'Gotu', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}
body.lang-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    line-height: 1.8;
}
.font-heading-hi, .font-cursive-hi {
    font-family: 'Yatra One', cursive;
    font-weight: 400;
}
.font-shloka-hi  { font-family: 'Gotu', sans-serif; font-weight: 400; }
.font-heading-en { font-family: 'Cormorant Garamond', serif; font-weight: 700; letter-spacing: 1px; }
.font-cursive-en { font-family: 'Great Vibes', cursive; font-size: 3.2em; font-weight: 400; letter-spacing: 2px; }
.font-sans-en    { font-family: 'Montserrat', sans-serif; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- gold gradient text ---------- */
.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 0.3em 0.15em;
    margin: -0.3em -0.15em;
    line-height: normal;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 3px 8px rgba(187, 138, 60, 0.18));
}

/* ---------- ampersand uses maroon ---------- */
.ampersand-light {
    color: var(--theme-bg) !important;
    background: none !important;
    -webkit-text-fill-color: var(--theme-bg) !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    text-shadow: none;
}

.text-shadow { text-shadow: 0 1px 3px rgba(91, 39, 51, 0.18); }

/* ================================================================
   SIDEBAR / NAV
   ================================================================ */
body.lang-en .hi  { display: none !important; }
body:not(.lang-en) .en { display: none !important; }

#sidebar {
    width: 320px;
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    background: linear-gradient(180deg, rgba(252,247,240,0.99), rgba(246,238,227,0.98));
    border-right: 2px solid;
    border-image: var(--gold-gradient) 1;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 34px rgba(108, 62, 76, 0.1);
}
.nav-link {
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 15px 0;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 4px 15px;
    font-weight: 500;
}
body:not(.lang-en) .nav-link {
    font-family: 'Gotu', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--theme-bg); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ================================================================
   MOBILE HEADER
   ================================================================ */
#mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 75px;
    background: linear-gradient(180deg, rgba(252,247,240,0.97), rgba(244,235,225,0.96));
    z-index: 60;
    border-bottom: 2px solid var(--theme-gold-dark);
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(108,62,76,0.08);
}
#sidebar-backdrop {
    position: fixed; inset: 0;
    background: rgba(75,38,48,0.18);
    backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 45;
}
#sidebar-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }

.hamburger { cursor: pointer; display: flex; flex-direction: column; gap: 6px; background: transparent; border: 0; padding: 6px; }
.hamburger span { display: block; width: 28px; height: 2px; background: var(--theme-gold); transition: 0.3s; }

/* ================================================================
   HOME / HERO
   ================================================================ */
#home {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-arch-container {
    position: relative;
    padding: 80px 30px 80px 30px;
    background: linear-gradient(180deg, rgba(255,252,247,0.97), rgba(248,241,232,0.95));
    backdrop-filter: blur(10px);
    border-top-left-radius: 350px;
    border-top-right-radius: 350px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 2px solid;
    border-image: var(--gold-gradient) 1;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(108,62,76,0.1), inset 0 0 0 1px rgba(255,255,255,0.3);
    max-width: 550px;
    width: 100%;
    z-index: 10;
}

/* inner arc hairline */
.hero-arch-container::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-top-left-radius: 340px;
    border-top-right-radius: 340px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid rgba(147, 103, 37, 0.5);
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

/* sheen sweep */
.hero-arch-container::after {
    content: '';
    position: absolute;
    inset: -20% -45%;
    background: linear-gradient(115deg, transparent 38%, rgba(255,248,236,0.44) 50%, transparent 62%);
    transform: translateX(-120%) rotate(10deg);
    pointer-events: none;
    z-index: 2;
    animation: hero-sheen 8.5s ease-in-out infinite;
}
@keyframes hero-sheen {
    0%, 68% { transform: translateX(-120%) rotate(10deg); opacity: 0; }
    76%      { opacity: 0.45; }
    100%     { transform: translateX(115%) rotate(10deg); opacity: 0; }
}

/* arc entry animation */
#home .hero-arch-container {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
}
body.page-ready #home .hero-arch-container {
    animation: hero-card-enter 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes hero-card-enter { to { opacity: 1; transform: translateY(0) scale(1); } }

/* stagger children */
.hero-stagger { opacity: 0; transform: translateY(24px); }
body.page-ready .hero-stagger { animation: hero-stagger-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-stagger-1 { animation-delay: 0.2s; }
.hero-stagger-2 { animation-delay: 0.45s; }
.hero-stagger-3 { animation-delay: 0.7s; }
.hero-stagger-4 { animation-delay: 0.95s; }
.hero-stagger-5 { animation-delay: 1.15s; }
@keyframes hero-stagger-in { to { opacity: 1; transform: translateY(0); } }

.hero-content { position: relative; z-index: 10; }

/* ================================================================
   SECTION UTILITIES
   ================================================================ */
.section-title { text-align: center; margin-bottom: 60px; }

.divider {
    width: 150px; height: 2px;
    background: var(--gold-gradient);
    margin: 30px auto 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divider::before {
    content: '✦';
    background: var(--page-bg);
    padding: 0 15px;
    color: var(--theme-gold);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(200,154,70,0.35);
    animation: divider-glow 3.6s ease-in-out infinite;
}
.bg-royal-card .divider::before { background: rgba(249,241,233,0.97); }

@keyframes divider-glow {
    0%, 100% { transform: scale(1);    opacity: 0.9; }
    50%       { transform: scale(1.12); opacity: 1;   }
}

.bg-royal-card {
    background: linear-gradient(180deg, rgba(147,103,117,0.05), rgba(255,250,245,0.78));
}

/* ================================================================
   CARDS
   ================================================================ */
.elegant-card {
    background: rgba(255, 252, 247, 0.97);
    border: 1px solid var(--theme-gold-dark);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 12px 30px rgba(108,62,76,0.07);
    word-break: break-word;
}
.elegant-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    pointer-events: none;
    border: 1px solid rgba(147,103,37,0.22);
    border-radius: 6px;
}
.elegant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(108,62,76,0.12);
    border-color: var(--theme-gold);
}

.card-ornament-tl, .card-ornament-br {
    position: absolute;
    width: 50px; height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M0 0 L25 0 Q0 25 0 50 Z' fill='%23BB8A3C' opacity='0.65'/%3E%3Cpath d='M5 5 C14 5 12 15 5 24 Z' fill='%23936725' opacity='0.4'/%3E%3Ccircle cx='12' cy='10' r='2.2' fill='%23e8654a' opacity='0.7'/%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
}
.card-ornament-tl { top: 0; left: 0; }
.card-ornament-br { bottom: 0; right: 0; transform: rotate(180deg); }

.event-date-line {
    width: 60px; height: 2px;
    background: var(--gold-gradient);
    margin: 15px auto;
}

/* ================================================================
   PHOTO FRAMES
   ================================================================ */
.royal-frame-wrapper {
    padding: 4px;
    background: var(--gold-gradient);
    border-radius: 200px 200px 10px 10px;
    max-width: 320px;
    margin: 0 auto 2rem auto;
    box-shadow: 0 18px 45px rgba(108,62,76,0.09);
    transition: transform 0.4s ease;
}
.royal-frame-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(212,175,55,0.2);
}
.royal-frame-inner {
    background: rgba(255,252,247,0.98);
    border-radius: 196px 196px 6px 6px;
    padding: 8px;
}
.photo-crop {
    width: 100%; height: 380px;
    border-radius: 190px 190px 4px 4px;
    overflow: hidden; position: relative;
    background: linear-gradient(180deg, rgba(244,232,217,0.56), rgba(255,250,245,0.84));
}
.photo-crop img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.royal-frame-wrapper:hover .photo-crop img { transform: scale(2.05); }
.bride-sprite { object-position: 25% 100%; transform-origin: 0 80px; transform: scale(2); }
.groom-sprite { object-position: 75% 100%; transform-origin: 296px 72px; transform: scale(2); }

/* ================================================================
   COUNTDOWN
   ================================================================ */
.countdown { display: flex; justify-content: center; gap: 15px; margin-top: 50px; flex-wrap: wrap; position: relative; z-index: 10; }
.cd-box {
    display: flex; flex-direction: column; align-items: center;
    min-width: 55px;
    background: rgba(255,255,255,0.92);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(200,154,70,0.28);
}
.cd-number {
    font-size: 2.5rem;
    color: var(--theme-bg);       /* maroon — high contrast on white */
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.gold-btn {
    background: var(--gold-gradient);
    border: none;
    color: var(--button-text);
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(200,154,70,0.22);
    text-decoration: none;
}
.gold-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,154,70,0.3); color: var(--button-text); }

.gold-outline-btn {
    background: transparent;
    border: 1.5px solid var(--theme-gold-dark);
    color: var(--theme-gold-dark);  /* dark gold = good contrast on ivory */
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center; justify-content: center;
}
.gold-outline-btn:hover { background: var(--theme-gold); color: var(--button-text); border-color: var(--theme-gold); }

.rsvp-actions { align-items: stretch; }
.rsvp-actions a { min-height: 50px; flex: 1 1 0; }

.gold-btn i, .gold-outline-btn i { font-size: 1rem; line-height: 1; }

/* ================================================================
   MUSIC BUTTON
   ================================================================ */
#music-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 55px; height: 55px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--button-text);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(200,154,70,0.26);
    border: none;
    transition: transform 0.3s ease;
}
#music-btn:hover { transform: scale(1.1); }
.playing-pulse { animation: pulse-music 2s infinite; }
@keyframes pulse-music {
    0%   { box-shadow: 0 0 0 0   rgba(200,154,70,0.45); }
    70%  { box-shadow: 0 0 0 15px rgba(200,154,70,0);   }
    100% { box-shadow: 0 0 0 0   rgba(200,154,70,0);    }
}

/* ================================================================
   REVEAL
   ================================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
    background: linear-gradient(180deg, rgba(255,252,247,0.9), rgba(246,236,223,0.9)) !important;
    border-top: 2px solid var(--theme-gold-dark) !important;
    position: relative;
    overflow: hidden;
}
footer::after {
    content: '';
    position: absolute;
    inset: 8px 18px;
    border: 1px solid rgba(178,125,49,0.2);
    pointer-events: none;
}

/* ================================================================
   FOCUS STYLES
   ================================================================ */
.nav-link:focus-visible,
.gold-btn:focus-visible,
.gold-outline-btn:focus-visible,
#music-btn:focus-visible,
.hamburger:focus-visible {
    outline: 2px solid var(--theme-gold-light);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(200,154,70,0.22);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 992px) {
    #sidebar { transform: translateX(-100%); }
    #sidebar.open { transform: translateX(0); }
    #main-content { margin-left: 0; }
    #mobile-header { display: flex; }
    /* vine widths are 48px each side — padding must exceed them */
    section { padding: 100px 56px 60px 56px; }
    #home   { padding: 80px 56px 40px 56px; }
    #family { padding-left: 56px; padding-right: 56px; }

    #main-content::before { width: 48px; left: 0; }
    #main-content::after  { width: 48px; }

    .hero-arch-container {
        border-top-left-radius: 200px;
        border-top-right-radius: 200px;
        padding: 60px 20px 40px 20px;
    }
    .hero-arch-container::before {
        border-top-left-radius: 190px;
        border-top-right-radius: 190px;
        inset: 8px;
    }

    #music-btn { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}

@media (max-width: 480px) {
    /* vine widths are 30px each side at this breakpoint */
    section { padding: 88px 38px 50px 38px; }
    #home   { padding: 80px 38px 30px 38px; }
    #family { padding-left: 38px; padding-right: 38px; }

    .hero-arch-container { padding: 50px 14px 30px 14px; }
    .cd-number { font-size: 2rem; }
    .countdown { gap: 10px; }
    .cd-box { min-width: 50px; padding: 8px; }
    #scroll-progress { right: 10px; width: 3px; top: 14vh; height: 56vh; }
    .rsvp-actions a { width: 100%; }

    #main-content::before { width: 30px; }
    #main-content::after  { width: 30px; }

    /* Great Vibes at 3.2em × 1.3rem base = ~4rem — too wide on mobile */
    .font-cursive-en { font-size: 2em; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .hero-stagger, #home .hero-arch-container {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ================================================================
   FORCE LIGHT MODE
   Samsung Internet (≤14) and other browsers that apply a "force
   dark" layer will still honour an explicit @media dark block with
   !important.  We reassert every surface here so nothing turns dark.
   ================================================================ */
@media (prefers-color-scheme: dark) {
    html {
        background: #f8f0e7 !important;
    }
    body {
        background: linear-gradient(180deg, #fbf7f0 0%, #f5ede2 52%, #efe3d7 100%) !important;
        background-color: #f8f0e7 !important;
        color: #5b2733 !important;
    }
    #sidebar,
    #mobile-header {
        background: linear-gradient(180deg, rgba(252,247,240,0.99), rgba(246,238,227,0.98)) !important;
        background-color: #f9f3ea !important;
        color: #5b2733 !important;
    }
    .hero-arch-container {
        background: linear-gradient(180deg, rgba(255,252,247,0.97), rgba(248,241,232,0.95)) !important;
        background-color: #fffcf7 !important;
    }
    .elegant-card {
        background: rgba(255, 252, 247, 0.97) !important;
        background-color: #fffcf7 !important;
        color: #5b2733 !important;
    }
    .bg-royal-card {
        background: linear-gradient(180deg, rgba(147,103,117,0.05), rgba(255,250,245,0.78)) !important;
        background-color: #fffaf5 !important;
    }
    .cd-box {
        background: rgba(255,255,255,0.92) !important;
        background-color: #ffffff !important;
        color: #5b2733 !important;
    }
    footer {
        background: linear-gradient(180deg, rgba(255,252,247,0.9), rgba(246,236,223,0.9)) !important;
        background-color: #fffcf7 !important;
    }
    .nav-link        { color: #7f5d67 !important; }
    .nav-link.active { color: #6b2d3b !important; }
    .cd-number       { color: #6b2d3b !important; }
    /* gold gradient text — keep transparent fill so clip shows */
    .text-gold { -webkit-text-fill-color: transparent !important; }
}
