/*
Theme Name: RAANVA
Author: RAANVA
Description: Premium dark-and-gold theme for RAANVA | रानवा. Pairs with the RAANVA Preorder plugin. Fonts: Playfair Display, Inter, Noto Sans Devanagari.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raanva
*/

:root {
	--ink: #2a1810;
	--brown: #3b1d12;
	--muted: #6f5a4d;
	--gold: #e2b96f;
	--gold-hover: #efc980;
	--gold-ink: #2a1a0c;
	--dark: #120d0a;
	--dark-2: #1b130e;
	--cream: #fbf5ea;
	--cream-2: #f5ebd9;
	--card: #fffdf8;
	--line: #eadfca;
	--maroon: #7a1618;
	--maroon-deep: #4e0d0f;
	--radius: 10px;
	--wrap: 1180px;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mr: "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Mukta", sans-serif;

	/* Names used by the RAANVA Preorder plugin's form. */
	--red: #8a1c1c;
	--red-deep: #4e0d0f;
	--haldi: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--brown); font-weight: 600; }
[lang="mr"] { font-family: var(--mr); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--gold-ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Buttons: gold, dark text */
.btn { display: inline-block; padding: .85rem 1.7rem; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: .92rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary, .btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover, .btn-gold:hover { background: var(--gold-hover); color: var(--gold-ink); }
.btn-sm { padding: .55rem 1.1rem; font-size: .78rem; }
.btn-red { background: var(--maroon); color: #fff; }
.btn-red:hover { background: var(--maroon-deep); color: #fff; }
.btn-ghost { border-color: var(--gold); color: var(--gold); }
.btn-ghost:hover { background: rgba(226, 185, 111, .12); color: var(--gold); }
.link-arrow { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-hover); }

/* Header */
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(226, 185, 111, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.brand:hover { color: var(--gold-hover); }
.brand-en { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; letter-spacing: .08em; color: var(--gold); }
.brand-mr { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-top: .1rem; }
.brand-mr::before, .brand-mr::after { content: ""; width: 1.1rem; height: 1px; background: var(--gold); opacity: .8; }
.custom-logo { max-height: 48px; width: auto; }

.nav-toggle { background: none; border: 1px solid rgba(226, 185, 111, .6); color: var(--gold); border-radius: 999px; padding: .4rem .95rem; font: inherit; font-weight: 600; cursor: pointer; }
.primary-nav { display: none; position: absolute; inset: 100% 0 auto 0; background: var(--dark); padding: .4rem 1.25rem 1.25rem; border-top: 1px solid rgba(226, 185, 111, .3); }
.site-header.is-open .primary-nav { display: block; }
.primary-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.primary-nav a { display: block; color: #f3e8d6; text-decoration: none; padding: .7rem 0; font-weight: 500; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav a[aria-current] { color: var(--gold); }
.header-cta { display: none; }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background:
	radial-gradient(circle at 78% 40%, rgba(150, 52, 20, .55), transparent 55%),
	radial-gradient(circle at 15% 80%, rgba(122, 22, 24, .45), transparent 50%), var(--dark); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 6, 4, .88) 0%, rgba(10, 6, 4, .72) 60%, rgba(10, 6, 4, .55) 100%); }
.hero-inner { padding: 3.2rem 0 3.6rem; max-width: 60rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before, .eyebrow::after { content: ""; height: 1px; width: 2.2rem; background: var(--gold); opacity: .8; }
.eyebrow::after { flex: 0 0 2.2rem; }
.hero h1 { margin: 0 0 1.2rem; color: #fff; }
.hero-mr { display: block; font-family: var(--mr); font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 800; line-height: 1.3; color: #f8ecd3; }
.hero-en { display: block; margin-top: .6rem; font-family: var(--serif); font-size: clamp(1.25rem, 3.6vw, 1.75rem); font-weight: 500; color: #fff; line-height: 1.4; }
.hero-sub { max-width: 34rem; color: #eadcc4; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }

/* Trust strip */
.trust { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 1rem 0; display: grid; gap: .9rem; }
.trust-list li { display: flex; align-items: center; justify-content: center; gap: .9rem; font-family: var(--serif); font-size: 1.05rem; color: var(--brown); }
.trust-list svg { color: #8a4b14; flex: 0 0 auto; }

/* Sections */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: .3rem; }
.section-head p { color: var(--muted); margin: 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .6rem; color: var(--maroon); margin-bottom: .5rem; }
.ornament::before, .ornament::after { content: ""; width: 3.4rem; height: 2px; background: var(--maroon); opacity: .8; }

/* Menu cards */
.menu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.menu-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(60, 30, 10, .06); display: flex; flex-direction: column; }
.menu-card-img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; background: linear-gradient(135deg, #3b1d12, #7a1618); }
.menu-card-ph { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #3b1d12, #7a1618); }
.menu-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.menu-card h3 { font-size: 1.3rem; margin: 0; }
.menu-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.menu-card-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.menu-price { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--maroon); }
.menu-note { text-align: center; margin-top: 1.6rem; }
.admin-hint { border: 2px dashed var(--gold); padding: 1rem; border-radius: var(--radius); text-align: center; color: var(--muted); }

/* How it works */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.steps span { padding-top: .4rem; }

/* Dates + area */
.two-col { display: grid; gap: 2rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.panel h3 { font-size: 1.35rem; }
.date-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.date-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.date-list li:last-child { border-bottom: 0; }
.date-left { color: var(--muted); font-size: .92rem; }
.date-full { color: #a11d1d; font-weight: 600; }
.areas { list-style: none; margin: .5rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { border: 1px solid var(--gold); background: #fff8e8; border-radius: 999px; padding: .25rem 1rem; font-weight: 600; font-size: .95rem; }
.checker-msg { margin: .8rem 0 0; font-weight: 600; min-height: 1.5em; }
.checker-msg.ok { color: #1a7f37; }
.checker-msg.bad { color: #a11d1d; }

/* Maroon call-to-action band */
.band { background: linear-gradient(120deg, var(--maroon-deep), var(--maroon)); color: #fff; padding: 2.4rem 0; text-align: center; }
.band-inner { display: grid; gap: 1.2rem; justify-items: center; }
.band h2 { color: #fff; margin: 0; font-size: clamp(1.8rem, 5vw, 2.5rem); }
.band p { margin: .3rem 0 0; color: #f3d9c7; }

/* Reviews */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 0; }
.review blockquote { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--brown); }
.review cite { font-style: normal; font-weight: 600; color: var(--muted); font-size: .92rem; }

/* FAQ + contact */
.faq details { border-bottom: 1px solid var(--line); padding: .95rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--brown); }
.faq details p { margin: .6rem 0 0; color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: .5rem; }

/* Generic content */
.content { padding: 2.5rem 0 3.5rem; }
.entry-content { max-width: 78ch; }
.entry-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }

/* Footer */
.site-footer { background: var(--dark); color: #d9cbb4; padding: 2.8rem 0 5.5rem; border-top: 1px solid rgba(226, 185, 111, .35); }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hover); text-decoration: underline; }
.site-footer h2 { font-size: 1.05rem; color: var(--gold); letter-spacing: .05em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); margin: 0 0 .3rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.legal { margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(226, 185, 111, .2); font-size: .85rem; color: #a99a85; }

/* Sticky mobile pre-order button */
.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 60; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--dark); border-top: 1px solid rgba(226, 185, 111, .45); }
.mobile-cta .btn { display: block; width: 100%; }

@media (min-width: 640px) {
	.menu-grid { grid-template-columns: repeat(2, 1fr); }
	.trust-list { grid-template-columns: repeat(3, 1fr); }
	.trust-list li + li { border-left: 1px solid rgba(60, 30, 10, .2); }
}

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.primary-nav { display: block; position: static; background: none; padding: 0; border: 0; }
	.primary-nav ul { display: flex; gap: 2rem; margin: 0; }
	.primary-nav a { padding: .3rem 0; border-bottom: 2px solid transparent; }
	.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav a[aria-current] { border-bottom-color: var(--gold); }
	.header-cta { display: inline-block; }
	.header-inner { gap: 2rem; }
	.hero::before { background: linear-gradient(90deg, rgba(10, 6, 4, .94) 0%, rgba(10, 6, 4, .78) 42%, rgba(10, 6, 4, .1) 100%); }
	.hero-inner { padding: 6rem 0 6.5rem; }
	.menu-grid { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
	.steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.two-col { grid-template-columns: 1fr 1fr; }
	.band-inner { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; gap: 2rem; }
	.band { text-align: left; }
	.reviews { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr; }
	.site-footer { padding-bottom: 2.5rem; }
	.mobile-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
