/* ═══════════════════════════════════════════════════════════
   UNIQUE HAVEN HOMES STAY — "Rumi Nights" design system
   Inspired by Lucknow's Awadhi arches (Rumi Darwaza / Imambara
   domes), chikankari embroidery, and brass evening-lamp light.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500;1,9..144,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --dusk-deep: #131f36;
  --dusk: #1e3252;
  --dusk-soft: #2c4468;
  --brass: #bf8f34;
  --brass-light: #e6c274;
  --maroon: #8a2e39;
  --chikan: #f6f1e6;
  --chikan-dark: #ece2cd;
  --ink: #221d17;
  --mist: #756c5d;
  --border-soft: #e4d9c3;

  /* keep old variable names working with existing markup */
  --dark: var(--ink);
  --muted: var(--mist);
  --card: #fffdf8;
  --bg: var(--chikan);
  --border: var(--border-soft);
  --primary: var(--maroon);
  --primary-dark: #6f232c;

  --shadow-soft: 0 10px 30px rgba(20, 28, 45, 0.10);
  --shadow-lift: 0 18px 42px rgba(20, 28, 45, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--chikan);
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ─── ARCH MOTIF (signature element) ───────────────────────
   A CSS-only mask shaped like an Awadhi dome arch — used on
   the hero image and every property photo. No markup changes
   needed; it's applied purely through mask-image.           */
.arch-frame,
.hero-frame,
.property-img {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,100 L0,46 C0,14 20,0 50,0 C80,0 100,14 100,46 L100,100 Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,100 L0,46 C0,14 20,0 50,0 C80,0 100,14 100,46 L100,100 Z'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Jaali scallop border — used as a hairline divider between
   sections, echoing carved brass cornices.                  */
.jaali-divider {
  height: 16px;
  background-image: radial-gradient(circle at 11px 0, transparent 10px, var(--brass) 10.5px, transparent 11px);
  background-size: 22px 16px;
  background-repeat: repeat-x;
  background-position: center top;
  opacity: 0.85;
}

/* ─── NAVBAR ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: var(--chikan);
  border-bottom: 1px solid var(--border-soft);
}

.site-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.site-nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

.site-nav-logo span {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.site-nav-links { display: flex; gap: 26px; align-items: center; }

.site-nav-links a {
  text-decoration: none;
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.site-nav-links a:hover { color: var(--maroon); }

.site-nav-cta {
  background: var(--maroon);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
}
.site-nav-cta:hover { background: var(--primary-dark); color: #fff !important; }

/* ─── HERO ─── */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 50% -10%, var(--dusk-soft) 0%, var(--dusk) 45%, var(--dusk-deep) 100%);
  color: #fff;
  padding: 96px 20px 64px;
  text-align: center;
  overflow: hidden;
}

/* faint chikankari dot texture */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--brass-light) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(230,194,116,0.35);
  padding: 10px;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 44px;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
  position: relative; z-index: 1;
}

.hero p {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin: 0 auto 30px;
  max-width: 560px;
  line-height: 1.6;
  position: relative; z-index: 1;
}

.hero-badges {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 36px; position: relative; z-index: 1;
}

.hero-badge {
  background: rgba(230,194,116,0.10);
  border: 1px solid rgba(230,194,116,0.4);
  color: var(--brass-light);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-stats {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(230,194,116,0.25);
  padding-top: 28px;
  max-width: 520px;
  margin: 0 auto;
}

.hero-stats > div {
  padding: 0 26px;
  border-right: 1px solid rgba(230,194,116,0.2);
}
.hero-stats > div:last-child { border-right: none; }

.hero-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--brass-light);
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ─── SECTION ─── */
.section { max-width: 1200px; margin: 0 auto; padding: 64px 20px; }

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 6px;
}

.section-sub {
  font-size: 15.5px;
  color: var(--mist);
  margin-bottom: 42px;
}

/* ─── PROPERTY GRID ─── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--card);
  border-radius: 14px;
  overflow: visible;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border-soft);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.property-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: linear-gradient(160deg, var(--dusk-soft), var(--dusk));
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: var(--brass-light);
}

.property-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.property-img-link { display: block; text-decoration: none; }

.property-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.property-name-link:hover { color: var(--maroon); }

.property-body { padding: 22px 20px 20px; }

.property-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--maroon);
  margin-bottom: 8px;
}

.property-name {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.property-location {
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 4px;
}

.property-amenities { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }

.amenity-tag {
  background: var(--chikan);
  border: 1px solid var(--border-soft);
  color: var(--mist);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.property-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-soft);
}

.property-guests { font-size: 13px; color: var(--mist); }

.property-btns { display: flex; gap: 8px; }

.btn-airbnb {
  background: var(--ink);
  color: #fff;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: background 0.15s;
}
.btn-airbnb:hover { background: #3a3226; }

.btn-whatsapp {
  background: var(--maroon);
  color: #fff;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: background 0.15s;
}
.btn-whatsapp:hover { background: var(--primary-dark); }

/* ─── FILTERS ─── */
.filter-section {
  background: var(--chikan);
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 20px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center;
  position: sticky; top: 72px; z-index: 99;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

/* ─── CONTACT SECTION ─── */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, var(--dusk-deep), #0e1728);
  color: #fff;
  padding: 72px 20px;
  text-align: center;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--brass-light) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.06;
}

.contact-section h2 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  margin: 0 0 12px;
  position: relative; z-index: 1;
}

.contact-section p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  font-size: 15.5px;
  position: relative; z-index: 1;
}

.contact-cards {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px;
  position: relative; z-index: 1;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(230,194,116,0.25);
  border-radius: 12px;
  padding: 22px 26px;
  min-width: 200px;
}

.contact-card-name { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 4px; }
.contact-card-phone { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 600; color: var(--brass-light); }
.contact-card-role { font-size: 11.5px; color: rgba(255,255,255,0.45); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.6px; }

.whatsapp-btn-large {
  background: var(--maroon);
  color: #fff;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s, transform 0.15s;
  position: relative; z-index: 1;
}
.whatsapp-btn-large:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ─── USP SECTION ─── */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }

.usp-card {
  background: var(--card);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--border-soft);
}

.usp-icon { font-size: 34px; margin-bottom: 14px; }
.usp-title { font-family: 'Fraunces', serif; font-size: 16.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.usp-desc { font-size: 13px; color: var(--mist); line-height: 1.55; }

/* ─── FOOTER ─── */
.site-footer { background: #0e1728; color: rgba(255,255,255,0.5); padding: 44px 20px; text-align: center; }
.site-footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .hero { padding: 64px 16px 44px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-stats { gap: 0; }
  .hero-stats > div { padding: 0 14px; }
  .hero-stat-num { font-size: 22px; }
  .section { padding: 44px 16px; }
  .section-title { font-size: 23px; }
  .property-grid { grid-template-columns: 1fr; }
  .site-nav { padding: 0 16px; }
  .site-nav-logo span { font-size: 12px; max-width: 140px; }
  .site-nav-links { display: none; }
  .filter-section { padding: 12px 16px; gap: 8px; top: 64px; }
  .filter-btn { padding: 7px 14px; font-size: 12.5px; }
  .contact-cards { flex-direction: column; align-items: center; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 52px 16px 40px; }
  .usp-grid { grid-template-columns: 1fr; }
  .property-footer { flex-direction: column; align-items: flex-start; }
  .property-btns { width: 100%; }
  .property-btns a { flex: 1; justify-content: center; }
}
