/* Hotel Malhar Empire homepage */
.home {
  --paper: #faf8f3;
  --surface: #f1ede5;
  --ink: #27251f;
  --muted: #5e594f;
  --line: #d8d2c6;
  --accent: #854721;
  --booking-surface: var(--surface);
  --gold: var(--line);
  --saffron: #f1b982;
  --saffron-hover: #fac999;
  --panel: #fffdfa;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
}
.home .mast {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .home .mast { background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(12px); }
}
.home .skip { color: #211c17; }
.home :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.home :is(section, input, button, a) { scroll-margin-top: 7rem; }
.home .property-hero {
  display: grid;
  grid-template-areas: "title" "photo";
  width: min(92%, 84rem);
  margin: auto;
  padding-block: clamp(1.5rem, 4vw, 4rem);
  gap: clamp(1.25rem, 3vw, 3rem);
  color: var(--ink);
  background: var(--paper);
}
.home .property-hero::after { content: none; }
.home .property-title {
  grid-area: title;
  position: static;
  align-self: center;
  width: 100%;
  margin: 0;
}
.home .property-title h1 {
  color: var(--ink);
  font: 500 clamp(2.55rem, 5.3vw, 5rem)/1.03 var(--serif);
  letter-spacing: -.045em;
  text-shadow: none;
  margin: 0;
}
.home .hero-line { display: block; }
.home .hero-line:last-child { color: var(--muted); font-style: italic; }
.home .property-title br { display: none; }
.home .slides {
  grid-area: photo;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow-y: hidden;
}
.home .slide .photo img { object-position: center; }
.home .carousel-ui {
  grid-area: photo;
  position: relative;
  inset: auto;
  align-self: end;
  width: calc(100% - 1.25rem);
  margin: 0 auto .65rem;
  color: white;
}
.home :is(.slide-dots, .slide-controls) { background: #29251ff0; border-radius: 2rem; }
.home .booking-strip { border-block: 1px solid var(--line); background: var(--surface); }
.home .booking-strip input { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: .5rem; }
.home .section { padding-block: clamp(2.75rem, 6vw, 6rem); }
.home .section-heading { margin-bottom: 1.5rem; }
.home .section-heading h2 { font: 500 clamp(2rem, 4vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.035em; }
.home .home-option-cards .room-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.5rem 0; background: transparent; box-shadow: none; }
.home :is(.home-option-photos, .gallery-preview, .welcome-photo) img { border-radius: .6rem; }
.home :is(.button, .mast-action) { border-radius: 2rem; }
.home .booking-strip .button, .home .mast-action { color: #291d13; background: var(--saffron); }
.home .room-card, .home :is(.mast-action, .button, .text-link, .slide-controls button, .footer-social-icon) { transition-property: transform, opacity; }
@media (min-width: 54rem) {
  .home .property-hero { grid-template-areas: "title photo"; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
}
@media (prefers-color-scheme: dark) {
  .home {
    color-scheme: dark;
    --paper: #201f1c;
    --surface: #292722;
    --panel: #34312b;
    --ink: #faf6ee;
    --muted: #d3c8b9;
    --accent: #efb986;
    --line: #61594d;
    --accent-dark: #35261c;
  }
  .home .mast nav a, .home .section-heading h2, .home .card-copy h2, .home .booking-inner h2 { color: var(--ink); }
  .home .mast nav a[aria-current], .home .text-link { color: var(--accent); }
  .home .mast nav, .home .guide-grid article { background: var(--paper); }
}
@media (prefers-reduced-motion: no-preference) {
  .home :is(.button, .mast-action):active { transform: translateY(1px); }
  @supports (animation-timeline: view()) {
    .home .welcome-photo img { animation: malhar-photo-pan linear both; animation-timeline: view(); }
    @keyframes malhar-photo-pan { from { transform: translateY(3px); } to { transform: translateY(-3px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none; transition: none; scroll-behavior: auto; }
}
