/* Aangan House: a quiet Alwar palette with carved arch and brass details. */
:root {
  --green: #21473a;
  --deep: #17372d;
  --cream: #f8f4eb;
  --sand: #eadfc9;
  --terracotta: #a7654a;
  --ink: #283a31;
  --muted: #69766b;
  --line: #d9d4c5;
  --brass: #b69358;
}

body {
  background: radial-gradient(circle at 12% 9%, #fefaf0 0, transparent 28%), var(--cream);
}

h1, h2, h3 { letter-spacing: -.035em; }
.eyebrow { color: var(--brass); letter-spacing: .2em; }
.section h2::after, .photo-categories h2::after {
  content: '◆';
  display: block;
  width: 70px;
  margin-top: 17px;
  border-top: 1px solid var(--brass);
  color: var(--brass);
  font: 11px Georgia, serif;
  text-align: center;
  line-height: 0;
}

/* Repeat one set of radii throughout the public site and dashboard. */
.btn, .hamburger, .password-toggle, .sidebar a, .sidebar button,
.gallery-nav a, .modal-arrow, .modal-close, .table-wrap, .stat,
.step, .empty, .message, .booking-box, .admin-form, .search-wrap,
.filter-form, .card, .mosaic-tile, .category-grid button,
.field input, .field select, .field textarea, table select, table input {
  border-radius: 14px;
}
.btn, .gallery-nav a { border-radius: 999px; }
.card, .booking-box, .stat, .step, .search-wrap, .admin-form {
  border: 1px solid #d6cab72e;
  box-shadow: 0 12px 32px #263d2a0d;
}
.card img, .editorial img, .destination img { border-radius: 18px; }
.card img { transition: transform .35s ease; }
.card:hover img { transform: scale(1.025); }
.card { border-radius: 19px; }
.card-body { background: #fffdf8; }
.card-bottom { gap: 12px; flex-wrap: wrap; }
.price small { display: block; margin-top: 5px; line-height: 1.35; }

header { border-bottom-color: #d7bd8340; }
.brand-mark { border-color: var(--brass); color: #ead1a0; }
header nav a { transition: color .2s ease; }
header nav a:hover { color: #f3d6a4; text-decoration: none; }
.hero {
  background-image: linear-gradient(90deg, #0d2c26d9, #0b271b50), url('/hero.jpg');
}
.hero::after, .page-head::after {
  content: '';
  position: absolute;
  right: 5%;
  bottom: 35px;
  width: 105px;
  height: 175px;
  border: 1px solid #d6b87973;
  border-radius: 90px 90px 10px 10px;
  pointer-events: none;
}
.hero::after { opacity: .65; }
.page-head { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--deep), #265345); }
.page-head::after { bottom: -70px; width: 190px; height: 260px; opacity: .45; }
.page-head .container, .hero-inner { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
.search-wrap { border-radius: 20px; }
.editorial { background: var(--deep); }
.editorial img, .destination img {
  border: 3px solid #b6935860;
  border-radius: 160px 160px 18px 18px;
}
.light-band { background: linear-gradient(160deg, #eee3ce, #f5eddb); }
.cta {
  background: linear-gradient(135deg, #895441ef, #a7654aee),
    repeating-linear-gradient(45deg, #e8c390 0 1px, transparent 1px 24px);
  border-top: 4px double #e4c897;
}
footer { border-top: 5px solid var(--brass); }
.gallery-intro .photo-mosaic { border-radius: 20px; }
.gallery-show { border-radius: 999px; }
.gallery-category { border-top: 1px solid var(--line); padding-top: 18px; }
.category-grid button { border-radius: 17px; }
.modal-stage img { border-radius: 12px; }
.gallery-modal [hidden] { display: none !important; }
.modal-back { border: 1px solid #b99b6a; background: transparent; color: #fff; padding: 9px 15px; border-radius: 999px; }
.modal-collection { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #f8f3e9; color: #233b30; }
.modal-categories { display: flex; gap: 8px; overflow-x: auto; padding: 14px 4%; border-bottom: 1px solid #dbcdb5; background: #f8f3e9; flex: none; }
.modal-categories a { white-space: nowrap; padding: 9px 14px; border: 1px solid #b8a686; border-radius: 999px; }
.modal-categories a:hover, .modal-categories a:focus { background: #234438; color: white; }
.modal-scroll { overflow-y: auto; padding: 18px 4% 70px; scroll-behavior: smooth; }
.modal-area { scroll-margin-top: 15px; padding: 20px 0 30px; border-bottom: 1px solid #dbcdb5; }
.modal-area h3 { margin: 0 0 18px; font-family: 'Playfair Display', serif; }
.modal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.modal-grid button { border: 0; padding: 0; height: 190px; overflow: hidden; border-radius: 16px; cursor: pointer; background: #ddd; }
.modal-grid img { width: 100%; height: 100%; object-fit: cover; }
.modal-stage { position: relative; }
.modal-count { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); }
.booking-box { border-radius: 20px; }
.sidebar { border-right: 2px solid var(--brass); }
.sidebar { scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.admin-main { background: #f6f1e8; }
.table-wrap { overflow: auto; }
.calendar-tools { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 22px 0; }
.calendar-tools .field { min-width: 230px; }
.calendar-month { display: flex; align-items: center; gap: 22px; }
.calendar-month a { border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.reservation-calendar { border: 1px solid #d8c9b1; border-radius: 20px; overflow: hidden; background: #fffdf8; margin-bottom: 26px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { text-align: center; padding: 12px 2px; background: #27483b; color: white; }
.calendar-day { min-height: 105px; padding: 9px; border-top: 1px solid #e8dfd1; border-right: 1px solid #e8dfd1; }
.calendar-day.occupied { background: #f6eee1; }
.calendar-day strong { display: block; margin-bottom: 7px; }
.calendar-chip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .7rem; padding: 4px 6px; margin: 3px 0; border-radius: 8px; background: #d3e5d7; }
.calendar-chip.external { background: #ebd7b9; }
.calendar-chip.block { background: #e5d2c9; }
.feed-list { margin-top: 14px; }
.feed-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e3d7c7; }
.feed-row span { flex: 1; min-width: 180px; }
.photo-uploader { border: 1px dashed #aa9877; border-radius: 16px; padding: 18px; }
.photo-uploader h3 { margin: 0; }
.uploaded-photos { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 12px; margin: 18px 0; }
.uploaded-photos > div { border-radius: 14px; padding: 7px; background: #fffdf8; }
.uploaded-photos img { width: 100%; height: 95px; object-fit: cover; border-radius: 10px; }
.uploaded-photos small { display: block; }
th:first-child { border-top-left-radius: 14px; }
th:last-child { border-top-right-radius: 14px; }

@media (max-width: 900px) {
  header { gap: 12px; }
  header nav { gap: 14px; }
  .admin-shell { display: block; }
  .sidebar { border-right: 0; border-bottom: 2px solid var(--brass); }
}

@media (max-width: 650px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .brand { font-size: 1.1rem; }
  header { padding: 16px 5%; }
  .hamburger { width: 44px; height: 44px; font-size: 1.55rem; }
  header nav { top: 72px; border-radius: 0 0 18px 18px; box-shadow: 0 15px 25px #0b251c40; }
  header nav a { display: block; padding: 12px 8px; }
  header nav .btn { text-align: center; }
  .hero { min-height: 690px; }
  .hero::after, .page-head::after { display: none; }
  .hero-inner { margin: 105px auto 125px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .search-wrap { margin-top: -95px; padding: 19px; }
  .section { padding: 62px 0; }
  .editorial img, .destination img { border-radius: 120px 120px 18px 18px; }
  .card img { height: 230px; }
  .card-body { padding: 20px; }
  .detail { gap: 26px; padding-top: 32px; }
  .photo-mosaic { grid-template-rows: 220px 105px 105px; }
  .gallery-show { right: 12px; bottom: 12px; font-size: .82rem; padding: 10px 13px; }
  .gallery-nav { flex-wrap: nowrap; width: 100%; }
  .category-grid { gap: 8px; }
  .category-grid button { height: 145px; }
  .modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .modal-grid button { height: 145px; }
  .modal-bar strong { font-size: .8rem; }
  .booking-box { padding: 21px; }
  .admin-main { padding: 18px; }
  .admin-form { padding: 18px; }
  .table-wrap { margin-inline: -4px; }
  .calendar-day { min-height: 75px; padding: 4px; font-size: .75rem; }
  .calendar-chip { font-size: .58rem; padding: 3px; }
  .footer-grid { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
