/* ============================================================
   THE ROYAL STAY INN — Design System
   Palette: Wine maroon, antique gold, deep ink, warm ivory, sage
   Type: Cormorant Garamond (display) + Jost (body/UI)
   Signature motif: the Mahal arch — used as photo frame, section
   divider and decorative border throughout (nods to Shahi Palace,
   the landmark next door).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root{
  --wine:        #6E1E36;
  --wine-dark:   #4A1425;
  --wine-light:  #8C3350;
  --gold:        #C6A15B;
  --gold-soft:   #E4D2A6;
  --ink:         #1F1B24;
  --ivory:       #FAF6EF;
  --ivory-deep:  #F1E8D8;
  --sage:        #6B8F71;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --radius-arch: 200px 200px 12px 12px;
  --shadow-soft: 0 20px 45px -20px rgba(31,27,36,0.35);
  --shadow-card: 0 10px 30px -12px rgba(31,27,36,0.25);

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.1;
  margin:0 0 .5em;
  color:var(--wine-dark);
}
p{ line-height:1.75; margin:0 0 1em; color:#4a4550; }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

::selection{ background:var(--gold-soft); color:var(--wine-dark); }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-body);
  font-size:13px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--wine);
  font-weight:600;
  margin-bottom:14px;
}
.eyebrow::before{
  content:'';
  width:28px; height:1px;
  background:var(--gold);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 32px;
  font-family:var(--font-body);
  font-size:14.5px;
  font-weight:600;
  letter-spacing:.03em;
  border-radius:6px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--wine);
  color:var(--ivory);
  box-shadow:var(--shadow-card);
}
.btn-primary:hover{ background:var(--wine-dark); transform:translateY(-2px); }
.btn-gold{
  background:var(--gold);
  color:var(--wine-dark);
}
.btn-gold:hover{ background:#d4b370; transform:translateY(-2px); }
.btn-outline{
  background:transparent;
  border-color:var(--gold-soft);
  color:var(--wine-dark);
}
.btn-outline:hover{ border-color:var(--gold); background:var(--ivory-deep); }
.btn-ghost-light{
  background:transparent;
  border-color:rgba(250,246,239,.5);
  color:var(--ivory);
}
.btn-ghost-light:hover{ background:rgba(250,246,239,.12); border-color:var(--ivory); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none !important; }

/* ---------- Jali pattern strip (signature decorative border) ---------- */
.jali-strip{
  height:14px;
  width:100%;
  background-image:
    radial-gradient(circle at 10px 7px, var(--gold) 0 3px, transparent 3.5px),
    radial-gradient(circle at 0px 7px, transparent 0 3px, transparent 3.5px);
  background-size:20px 14px;
  background-repeat:repeat-x;
  opacity:.55;
}
.jali-strip.dark{ opacity:.9; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,246,239,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(198,161,91,.3);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px;
  max-width:var(--container); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:44px; height:44px; flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-text .name{ font-family:var(--font-display); font-size:21px; font-weight:700; color:var(--wine-dark); letter-spacing:.01em; }
.brand-text .tag{ font-size:10px; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-top:4px; }

.nav-main{ display:flex; align-items:center; gap:34px; }
.nav-main a{
  font-size:14.5px; font-weight:500; color:var(--ink);
  position:relative; padding:6px 0;
  transition:color .2s ease;
}
.nav-main a::after{
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--gold); transition:width .25s ease;
}
.nav-main a:hover, .nav-main a.active{ color:var(--wine); }
.nav-main a:hover::after, .nav-main a.active::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:18px; }
.header-phone{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--wine-dark); }
.header-phone i{ color:var(--gold); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--wine-dark); border-radius:2px; }

@media (max-width: 980px){
  .nav-main{
    position:fixed; top:0; right:0; height:100vh; width:min(320px,80vw);
    background:var(--ivory); flex-direction:column; align-items:flex-start;
    padding:100px 32px 32px; gap:24px;
    box-shadow:-20px 0 40px rgba(0,0,0,.15);
    transform:translateX(100%); transition:transform .35s ease;
  }
  .nav-main.open{ transform:translateX(0); }
  .header-phone{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(160deg, var(--wine-dark) 0%, var(--wine) 55%, var(--wine-light) 100%);
  color:var(--ivory);
  overflow:hidden;
  padding:64px 0 0;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center;
  max-width:var(--container); margin:0 auto; padding:56px 28px 90px;
}
.hero h1{ color:var(--ivory); font-size:clamp(38px,5.2vw,64px); margin-bottom:22px; }
.hero h1 em{ font-style:italic; color:var(--gold-soft); }
.hero p.lead{ color:rgba(250,246,239,.82); font-size:17.5px; max-width:480px; }
.hero-actions{ display:flex; gap:16px; margin-top:30px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:36px; margin-top:52px; flex-wrap:wrap; }
.hero-stats .stat b{ display:block; font-family:var(--font-display); font-size:30px; color:var(--gold-soft); }
.hero-stats .stat span{ font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:rgba(250,246,239,.65); }

.hero-visual{ position:relative; }
.arch-frame{
  position:relative;
  border-radius:var(--radius-arch);
  overflow:hidden;
  border:8px solid rgba(250,246,239,.85);
  box-shadow:var(--shadow-soft);
  aspect-ratio:3/4;
}
.arch-frame img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:-28px; bottom:34px;
  background:var(--ivory); color:var(--wine-dark);
  border-radius:14px; padding:16px 20px;
  box-shadow:var(--shadow-card);
  display:flex; align-items:center; gap:12px;
  max-width:230px;
}
.hero-badge i{ color:var(--gold); font-size:22px; }
.hero-badge b{ display:block; font-family:var(--font-display); font-size:16px; }
.hero-badge span{ font-size:12px; color:#6b6570; }

.hero-decoration{
  position:absolute; inset:0; pointer-events:none; opacity:.16;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; padding-bottom:60px;}
  .hero-visual{ order:-1; max-width:360px; margin:0 auto; }
  .hero-badge{ left:8px; }
}

/* ---------- Section shell ---------- */
.section{ padding:96px 0; }
.section.tight{ padding:64px 0; }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.section-head.left{ margin:0 0 48px; text-align:left; }
.section.on-ivory-deep{ background:var(--ivory-deep); }
.section.on-ink{ background:var(--ink); color:var(--ivory); }
.section.on-ink h2{ color:var(--ivory); }
.section.on-ink p{ color:rgba(250,246,239,.72); }

/* ---------- Cards: rooms ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }
@media (max-width:980px){ .grid-3{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .grid-3, .grid-2{ grid-template-columns:1fr;} }

.room-card{
  background:var(--white);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-card);
  transition:transform .3s ease, box-shadow .3s ease;
  display:flex; flex-direction:column;
}
.room-card:hover{ transform:translateY(-6px); box-shadow:0 26px 50px -20px rgba(31,27,36,.4); }
.room-media{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.room-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.room-card:hover .room-media img{ transform:scale(1.06); }
.room-price-tag{
  position:absolute; top:16px; right:16px;
  background:rgba(31,27,36,.82); color:var(--gold-soft);
  padding:8px 14px; border-radius:20px; font-size:13px; font-weight:600;
  backdrop-filter:blur(4px);
}
.room-body{ padding:24px; flex:1; display:flex; flex-direction:column; }
.room-body h3{ font-size:23px; margin-bottom:6px; }
.room-meta{ display:flex; gap:16px; font-size:12.5px; color:#8a8390; margin-bottom:14px; text-transform:uppercase; letter-spacing:.06em; }
.room-meta span{ display:flex; align-items:center; gap:6px; }
.room-meta i{ color:var(--gold); }
.room-body p{ font-size:14.5px; flex:1; }
.room-actions{ display:flex; gap:10px; margin-top:14px; }
.room-actions .btn{ flex:1; padding:12px 16px; font-size:13.5px; }

.room-amenities{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 6px; }
.room-amenities .pill{
  font-size:11.5px; padding:5px 10px; border-radius:20px;
  background:var(--ivory-deep); color:var(--wine-dark); font-weight:600;
}

/* ---------- Feature / icon grid ---------- */
.feature{
  text-align:center; padding:32px 22px;
  background:var(--white); border-radius:14px; box-shadow:var(--shadow-card);
}
.feature .icon-wrap{
  width:60px; height:60px; margin:0 auto 18px;
  border-radius:50%; background:var(--ivory-deep);
  display:flex; align-items:center; justify-content:center;
  color:var(--wine); font-size:24px;
}
.feature h3{ font-size:19px; margin-bottom:8px; }
.feature p{ font-size:14px; margin:0; }

/* ---------- Testimonials ---------- */
.testi-track{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .testi-track{ grid-template-columns:1fr; } }
.testi-card{
  background:var(--white); border-radius:14px; padding:28px; box-shadow:var(--shadow-card);
  position:relative;
}
.testi-card .stars{ color:var(--gold); margin-bottom:14px; font-size:14px; letter-spacing:2px; }
.testi-card p{ font-style:italic; font-size:15px; color:#524d59; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.testi-person img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.testi-person b{ display:block; font-size:14px; color:var(--wine-dark); }
.testi-person span{ font-size:12px; color:#948e99; }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--wine-dark), var(--wine));
  border-radius:22px; padding:56px; color:var(--ivory);
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  box-shadow:var(--shadow-soft);
}
.cta-band h2{ color:var(--ivory); margin-bottom:8px; }
.cta-band p{ color:rgba(250,246,239,.75); margin:0; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:rgba(250,246,239,.75); padding:72px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:56px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{ color:var(--gold-soft); font-size:16px; margin-bottom:18px; letter-spacing:.02em; }
.site-footer .brand-text .name{ color:var(--ivory); }
.site-footer p{ color:rgba(250,246,239,.6); font-size:14px; }
.footer-links li{ margin-bottom:10px; }
.footer-links a{ font-size:14px; color:rgba(250,246,239,.68); transition:color .2s; }
.footer-links a:hover{ color:var(--gold-soft); }
.footer-contact li{ display:flex; gap:10px; margin-bottom:14px; font-size:14px; color:rgba(250,246,239,.7); align-items:flex-start; }
.footer-contact i{ color:var(--gold); margin-top:3px; }
.footer-bottom{
  border-top:1px solid rgba(250,246,239,.12);
  padding:22px 0; font-size:12.5px; color:rgba(250,246,239,.5);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(250,246,239,.25);
  display:flex; align-items:center; justify-content:center; transition:.2s;
}
.social-row a:hover{ background:var(--gold); color:var(--ink); border-color:var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:linear-gradient(160deg, var(--wine-dark), var(--wine));
  color:var(--ivory); padding:64px 0 84px; position:relative; overflow:hidden;
}
.page-hero h1{ color:var(--ivory); font-size:clamp(32px,4.5vw,48px); }
.breadcrumb{ font-size:13px; color:rgba(250,246,239,.65); margin-bottom:14px; }
.breadcrumb a{ color:var(--gold-soft); }

/* ---------- Forms ---------- */
.form-card{
  background:var(--white); border-radius:18px; padding:36px; box-shadow:var(--shadow-soft);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--wine-dark); margin-bottom:8px; letter-spacing:.02em; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 14px; border-radius:8px; border:1.5px solid #e6dfd0;
  font-family:var(--font-body); font-size:14.5px; background:var(--ivory);
  transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); background:var(--white);
}
.field textarea{ resize:vertical; min-height:110px; }
.field small.hint{ display:block; margin-top:6px; font-size:12px; color:#9a94a0; }
.field small.err{ display:none; margin-top:6px; font-size:12px; color:#b3302f; font-weight:600; }
.field.has-error input, .field.has-error select{ border-color:#b3302f; }
.field.has-error small.err{ display:block; }

.stepper{ display:flex; gap:0; margin-bottom:44px; }
.stepper .step{
  flex:1; text-align:center; position:relative; padding-bottom:14px;
  font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; font-weight:600; color:#b9b2be;
}
.stepper .step::after{ content:''; position:absolute; left:0; bottom:0; width:100%; height:3px; background:#e9e2d3; }
.stepper .step.active, .stepper .step.done{ color:var(--wine); }
.stepper .step.active::after, .stepper .step.done::after{ background:var(--gold); }
.stepper .step b{ display:block; font-family:var(--font-display); font-size:22px; margin-bottom:4px; }

.summary-card{
  background:var(--ivory-deep); border-radius:16px; padding:26px; position:sticky; top:100px;
}
.summary-card h3{ font-size:19px; }
.summary-line{ display:flex; justify-content:space-between; font-size:14px; padding:10px 0; border-bottom:1px dashed #ddd0b8; color:#524d59; }
.summary-line.total{ border-bottom:none; font-weight:700; color:var(--wine-dark); font-size:17px; padding-top:16px; }
.summary-room-thumb{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.summary-room-thumb img{ width:64px; height:64px; border-radius:10px; object-fit:cover; }
.summary-room-thumb b{ display:block; font-size:15px; color:var(--wine-dark); }
.summary-room-thumb span{ font-size:12px; color:#8a8390; }

.alert-success{
  background:#eaf4ec; border:1px solid #bfe0c4; color:#2c5a34; padding:18px 22px; border-radius:12px;
  display:flex; gap:12px; align-items:flex-start; margin-bottom:20px; font-size:14.5px;
}
.alert-success i{ font-size:20px; color:#3a8046; margin-top:2px; }

/* Availability badge */
.avail-badge{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; }
.avail-badge.ok{ color:#2c8a45; }
.avail-badge.low{ color:#c07a1a; }
.avail-badge.full{ color:#b3302f; }
.avail-badge .dot{ width:8px; height:8px; border-radius:50%; background:currentColor; }

/* ---------- Gallery ---------- */
.gallery-grid{
  columns:3 260px; column-gap:20px;
}
@media (max-width:700px){ .gallery-grid{ columns:2 200px; } }
.gallery-grid figure{
  margin:0 0 20px; break-inside:avoid; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-card);
  position:relative;
}
.gallery-grid img{ width:100%; display:block; transition:transform .4s ease; }
.gallery-grid figure:hover img{ transform:scale(1.05); }
.gallery-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:34px; }
.gallery-filters button{
  padding:9px 18px; border-radius:22px; border:1.5px solid var(--gold-soft); background:transparent;
  font-family:var(--font-body); font-size:13px; font-weight:600; color:var(--wine-dark); cursor:pointer; transition:.2s;
}
.gallery-filters button.active, .gallery-filters button:hover{ background:var(--wine); color:var(--ivory); border-color:var(--wine); }

/* ---------- Amenity list icons row ---------- */
.amenity-row{ display:flex; align-items:flex-start; gap:16px; padding:20px 0; border-bottom:1px solid #ece4d3; }
.amenity-row .icon-wrap{ width:46px; height:46px; border-radius:12px; background:var(--ivory-deep); color:var(--wine); display:flex; align-items:center; justify-content:center; flex:none; }
.amenity-row h4{ margin:0 0 4px; font-family:var(--font-body); font-weight:700; font-size:15.5px; color:var(--wine-dark); }
.amenity-row p{ margin:0; font-size:13.5px; }

/* ---------- Map / location ---------- */
.map-frame{ border-radius:18px; overflow:hidden; box-shadow:var(--shadow-card); border:6px solid var(--white); }
.map-frame iframe{ width:100%; height:380px; border:0; display:block; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

.toast{
  position:fixed; bottom:26px; right:26px; z-index:999;
  background:var(--ink); color:var(--ivory); padding:16px 22px; border-radius:12px;
  box-shadow:var(--shadow-soft); display:flex; align-items:center; gap:12px;
  transform:translateY(20px); opacity:0; pointer-events:none; transition:.3s ease;
  font-size:14px; max-width:320px;
}
.toast.show{ transform:translateY(0); opacity:1; }
.toast i{ color:var(--gold); }

.badge-ribbon{
  position:absolute; top:16px; left:16px; background:var(--gold); color:var(--wine-dark);
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:6px 12px; border-radius:20px; z-index:2;
}
