:root {
    --maroon: #7a1330;
    --maroon-dark: #4d0c1e;
    --gold: #d4af37;
    --gold-light: #f6e2b8;
    --cream: #fff8ef;
    --ink: #2b1810;
}
* { box-sizing: border-box; }
body.public { font-family: 'Segoe UI', Arial, sans-serif; margin: 0; color: var(--ink); background: var(--cream); }
.public a { text-decoration: none; }
.public img { max-width: 100%; display: block; }

/* ---------------- Header ---------------- */
.site-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 32px; background: linear-gradient(90deg, var(--maroon-dark), var(--maroon));
    box-shadow: 0 2px 10px rgba(0,0,0,.15); position: sticky; top: 0; z-index: 50;
}
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.site-brand .brand-motif { width: 30px; height: 30px; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: #fdeedd; font-size: 15px; opacity: .9; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.site-nav .nav-cta { background: var(--gold); color: var(--maroon-dark); padding: 8px 18px; border-radius: 20px; font-weight: 600; opacity: 1; }
.site-nav .nav-cta:hover { background: var(--gold-light); text-decoration: none; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative; overflow: hidden; min-height: 560px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: radial-gradient(ellipse at top, #9c1c40 0%, var(--maroon-dark) 70%);
}
.hero-layer {
    position: absolute; inset: 0; background-repeat: repeat; background-size: 240px;
    animation: heroCrossfade 18s ease-in-out infinite;
    opacity: 0;
}
.hero-layer.layer-1 { background-image: url('../img/mehendi-pattern.svg'); background-size: 220px; animation-delay: 0s; }
.hero-layer.layer-2 { background-image: url('../img/mehendi-pattern.svg'); background-size: 340px; transform: rotate(8deg) scale(1.2); animation-delay: 6s; }
.hero-layer.layer-3 { background-image: url('../img/mehendi-pattern.svg'); background-size: 160px; transform: rotate(-6deg) scale(1.1); animation-delay: 12s; }
@keyframes heroCrossfade {
    0%   { opacity: 0; }
    8%   { opacity: 0.16; }
    30%  { opacity: 0.16; }
    38%  { opacity: 0; }
    100% { opacity: 0; }
}
.hero-mandap { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.hero-content .eyebrow { color: var(--gold-light); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.hero-content h1 { color: #fff; font-size: 42px; line-height: 1.25; margin: 0 0 16px; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-content h1 span { color: var(--gold); }
.hero-content p { color: #f6e6d8; font-size: 17px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-hero { padding: 13px 30px; border-radius: 26px; font-weight: 600; font-size: 15px; border: 2px solid transparent; }
.btn-hero.primary { background: var(--gold); color: var(--maroon-dark); }
.btn-hero.primary:hover { background: var(--gold-light); }
.btn-hero.secondary { border-color: var(--gold-light); color: #fff; }
.btn-hero.secondary:hover { background: rgba(255,255,255,.1); }
.hero-photo-note { margin-top: 26px; font-size: 12px; color: rgba(246,226,184,.6); }

/* ---------------- Sections ---------------- */
.public-section { padding: 64px 24px; max-width: 1100px; margin: 0 auto; }
.public-section.narrow { max-width: 780px; }
.public-section h2 { text-align: center; color: var(--maroon); font-size: 28px; margin-bottom: 8px; }
.public-section .section-sub { text-align: center; color: #8a6a55; margin-bottom: 40px; font-size: 15px; }
.section-alt { background: linear-gradient(180deg, #fff, #fbeee0); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card { background: #fff; border: 1px solid #f0dcc4; border-radius: 12px; padding: 26px 20px; text-align: center; box-shadow: 0 4px 14px rgba(122,19,48,.06); }
.feature-card .icon { font-size: 30px; margin-bottom: 12px; }
.feature-card h3 { margin: 0 0 8px; color: var(--maroon); font-size: 17px; }
.feature-card p { margin: 0; color: #6b5445; font-size: 14px; line-height: 1.5; }

.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: step; }
.step-item { text-align: center; padding: 10px; }
.step-item .step-num { counter-increment: step; width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 14px; }
.step-item .step-num::before { content: counter(step); }
.step-item h4 { margin: 0 0 6px; color: var(--maroon); }
.step-item p { margin: 0; color: #6b5445; font-size: 14px; }

.cta-band { background: linear-gradient(90deg, var(--maroon-dark), var(--maroon)); color: #fff; text-align: center; padding: 56px 24px; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: #f0dcc4; margin: 0 0 24px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--maroon-dark); color: #e8d3c4; padding: 40px 24px 20px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; }
.footer-col h4 { color: var(--gold-light); font-size: 15px; margin: 0 0 14px; }
.footer-col a { display: block; color: #e8d3c4; font-size: 14px; margin-bottom: 8px; opacity: .85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #c9ab99; }

/* ---------------- Simple content pages (About/Terms/Privacy/Refund) ---------------- */
.page-header { background: linear-gradient(90deg, var(--maroon-dark), var(--maroon)); color: #fff; padding: 48px 24px; text-align: center; }
.page-header h1 { margin: 0; font-size: 30px; }
.content-page { max-width: 820px; margin: 0 auto; padding: 48px 24px; line-height: 1.7; color: #4a3a30; }
.content-page h2 { color: var(--maroon); margin-top: 32px; }
.content-page ul { padding-left: 22px; }

/* ---------------- Contact page ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; padding: 48px 24px; }
.contact-info-card { background: #fff; border: 1px solid #f0dcc4; border-radius: 12px; padding: 28px; }
.contact-info-card h3 { color: var(--maroon); margin-top: 0; }
.contact-info-card .info-row { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.contact-form label { display: block; margin-bottom: 14px; font-size: 14px; color: #555; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-top: 4px; border: 1px solid #e0c8ae; border-radius: 6px; font-size: 14px; }
.contact-form textarea { min-height: 120px; }
.contact-form button { background: var(--maroon); color: #fff; border: none; padding: 12px 26px; border-radius: 24px; font-weight: 600; cursor: pointer; }
.contact-form button:hover { background: var(--maroon-dark); }

.public .alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.public .alert-success { background: #e8f5e9; color: #2e7d32; }
.public .alert-error { background: #ffebee; color: #c62828; }

/* ---------------- Auth pages (login/register) - same hero theme as home ---------------- */
.auth-hero {
    position: relative; overflow: hidden; min-height: 640px;
    display: flex; align-items: center; justify-content: center; padding: 60px 20px;
    background: radial-gradient(ellipse at top, #9c1c40 0%, var(--maroon-dark) 70%);
}
.auth-card {
    position: relative; z-index: 2; background: #fffdf9; border-radius: 16px;
    padding: 40px 36px; width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.auth-card .eyebrow { color: var(--maroon); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; margin-bottom: 6px; text-align: center; }
.auth-card h1 { color: var(--maroon-dark); font-size: 24px; margin: 0 0 24px; text-align: center; }
.auth-card label { display: block; margin-bottom: 16px; font-size: 14px; color: #5c4638; }
.auth-card input, .auth-card select { width: 100%; padding: 10px; margin-top: 4px; border: 1px solid #e0c8ae; border-radius: 6px; font-size: 14px; }
.auth-card button { width: 100%; background: var(--maroon); color: #fff; border: none; padding: 12px; border-radius: 24px; font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 6px; }
.auth-card button:hover { background: var(--maroon-dark); }
.auth-card .auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: #6b5445; }
.auth-card .auth-switch a { color: var(--maroon); font-weight: 600; }

@media (max-width: 720px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 30px; }
    .site-nav { gap: 12px; }
}
