/*
Theme Name: Manurashi Holidays Trip
Theme URI: https://manurashi.com
Author: Manurashi Global India Pvt Ltd
Description: Rajasthan travel theme — exact conversion of the Lovable "Manurashi Holidays Trip" site (home, destinations, hotels & camps, contact) with WhatsApp enquiry forms.
Version: 1.6.0
Requires at least: 5.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: manurashi-holidays
*/

/* ---------- Design tokens (from the Lovable project) ---------- */
:root {
  --hero-foreground: oklch(1 0 0);
  --hero-muted: oklch(0.93 0.015 250);
  --highlight: oklch(0.82 0.14 80);
  --overlay: oklch(0.17 0.025 255);
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 250);
  --foreground: oklch(0.25 0.025 255);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.129 0.042 264.695);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.129 0.042 264.695);
  --primary: oklch(0.49 0.19 258);
  --primary-foreground: oklch(0.984 0.003 247.858);
  --secondary: oklch(0.968 0.007 247.896);
  --secondary-foreground: oklch(0.208 0.042 265.755);
  --muted: oklch(0.968 0.007 247.896);
  --muted-foreground: oklch(0.5 0.022 255);
  --accent: oklch(0.968 0.007 247.896);
  --accent-foreground: oklch(0.208 0.042 265.755);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border: oklch(0.929 0.013 255.508);
  --input: oklch(0.929 0.013 255.508);
  --ring: oklch(0.704 0.04 256.788);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.984 0.003 247.858);
  --sidebar-foreground: oklch(0.129 0.042 264.695);
  --sidebar-primary: oklch(0.208 0.042 265.755);
  --sidebar-primary-foreground: oklch(0.984 0.003 247.858);
  --sidebar-accent: oklch(0.968 0.007 247.896);
  --sidebar-accent-foreground: oklch(0.208 0.042 265.755);
  --sidebar-border: oklch(0.929 0.013 255.508);
  --sidebar-ring: oklch(0.704 0.04 256.788);
}

:root {
  --font-sans: "Figtree", sans-serif;
  --font-display: "Outfit", sans-serif;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

/* ---------- Reset (Tailwind preflight equivalent) ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var(--font-sans); scroll-behavior: smooth; }
body { margin: 0; background-color: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; font-family: var(--font-display); letter-spacing: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; background: transparent; border-radius: 0; }
button { cursor: pointer; }
select { appearance: auto; }
[hidden] { display: none !important; }
.screen-reader-text, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.admin-bar .m-dialog { top: 0; }

/* ---------- Site components (from the Lovable project) ---------- */
.page-width { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: var(--hero-foreground); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--overlay) 75%, transparent), color-mix(in oklab, var(--overlay) 20%, transparent)), linear-gradient(0deg, color-mix(in oklab, var(--overlay) 40%, transparent), transparent 50%); }
.hero-content { position: relative; z-index: 1; padding-block: 64px 125px; }
.hero h1 { font-size: 64px; line-height: 1.08; font-weight: 500; max-width: 720px; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.section-title { font-size: 36px; line-height: 1.15; font-weight: 500; }
.booking-bar { position: relative; z-index: 2; margin-top: -58px; background: var(--card); border-radius: 8px; box-shadow: 0 10px 40px color-mix(in oklab, var(--overlay) 9%, transparent); }
.destination-image { height: 255px; width: 100%; object-fit: cover; transition: transform .5s; }
.destination-card:hover .destination-image { transform: scale(1.04); }
.image-shade { background: linear-gradient(0deg, color-mix(in oklab, var(--overlay) 85%, transparent), transparent 75%); }
.field { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; background: var(--background); color: var(--foreground); }
.field:focus { outline: 2px solid var(--ring); outline-offset: 2px; }
.video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; }
@media(max-width: 767px) { .page-width { width: calc(100% - 36px); } .hero { min-height: 570px; } .hero h1 { font-size: 42px; } .hero-content { padding-block: 55px 125px; } .section-title { font-size: 29px; } .booking-bar { margin-top: -70px; } .destination-image { height: 240px; } }
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons (shadcn Button variants) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; border-radius: 6px; font-size: .875rem; line-height: 1.4286; font-weight: 500; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; text-decoration: none; }
.btn svg { pointer-events: none; width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:focus-visible { outline: 1px solid var(--ring); }
.btn-sz { height: 2.25rem; padding: .5rem 1rem; }
.btn-sz-lg { height: 2.5rem; padding: .5rem 2rem; }
.btn-icon { height: 2.25rem; width: 2.25rem; }
.btn-hero { background: var(--hero-foreground); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-hero:hover { background: var(--hero-muted); }
.btn-glass { border: 1px solid color-mix(in oklab, var(--hero-foreground) 50%, transparent); color: var(--hero-foreground); background: color-mix(in oklab, var(--hero-foreground) 10%, transparent); }
.btn-glass:hover { background: color-mix(in oklab, var(--hero-foreground) 20%, transparent); }
.btn-default { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow); }
.btn-default:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn-outline { border: 1px solid var(--input); background: var(--background); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-link { color: var(--primary); text-underline-offset: 4px; }
.btn-link:hover { text-decoration: underline; }

/* ---------- Dialogs ---------- */
.m-dialog { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.m-overlay { position: absolute; inset: 0; background: color-mix(in oklab, var(--overlay) 80%, transparent); }
.m-content { position: relative; display: grid; gap: 1rem; width: 100%; max-width: 32rem; border: 1px solid var(--border); background: var(--background); padding: 1.5rem; box-shadow: var(--shadow-lg); outline: none; }
@media (min-width: 640px) { .m-content { border-radius: var(--radius); } }
.m-close { position: absolute; right: 1rem; top: 1rem; opacity: .7; border-radius: 2px; transition: opacity .15s; }
.m-close:hover { opacity: 1; }
.m-title { font-size: 1.125rem; font-weight: 600; line-height: 1; letter-spacing: -.025em; }

/* ---------- Home slider ---------- */
.hero-slide { opacity: 0; transition: opacity 1s ease; }
.hero-slide.on { opacity: 1; }
.hero-dots { position: absolute; z-index: 2; left: 50%; bottom: 100px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots span { width: 8px; height: 8px; border-radius: 9999px; background: color-mix(in oklab, var(--hero-foreground) 45%, transparent); }
.hero-dots span.on { background: var(--hero-foreground); }

/* ---------- FAQ, floating buttons, page text ---------- */
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--primary); }
.faq[open] summary::after { content: "\2013"; }
.faq p { margin-top: 12px; font-size: .875rem; color: var(--muted-foreground); line-height: 1.65; }
.entry p { margin-bottom: 1rem; }
.float-btns { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.float-btns a { width: 52px; height: 52px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-lg); }
.float-wa { background: #25d366; }
.float-call { background: var(--primary); }
