/* ═══════════════════════════════════════════════════════════
   PRAGATI HOTEL — Digital Minimalism Stylesheet
   Mobile-First · Kirat Heritage Palette · Zero Frameworks
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens (Kirat Heritage) ── */
:root {
  --terracotta: #A52A2A;
  --terracotta-dark: #8B1A1A;
  --ochre: #D4AF37;
  --ochre-soft: rgba(212, 175, 55, 0.15);
  --forest: #228B22;
  --forest-soft: rgba(34, 139, 34, 0.12);
  --cream: #F4F4F2;
  --cream-dark: #E8E6E1;
  --ink: #1A1A1A;
  --muted: #5A5650;
  --white: #FFFFFF;
  --wa-green: #25D366;
  --wa-dark: #1DA851;
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 16px 40px rgba(26, 26, 26, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
  overflow-x: hidden;
  /* space for bottom bar */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--terracotta-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

ul {
  list-style: none;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-wa {
  background: var(--wa-green);
  color: var(--white);
}

.btn-wa:hover {
  background: var(--wa-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.desktop-nav {
  display: none;
  gap: 28px;
}

.desktop-nav a {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.9rem;
}

.desktop-nav a:hover {
  color: var(--terracotta);
}

/* Center logo ONLY on mobile */
@media (max-width: 600px) {
  .header-inner {
    justify-content: center;
  }
}

.header-cta {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--wa-green);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.header-cta:hover {
  background: var(--wa-dark);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Dhaka fabric diamond texture */
    repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(165, 42, 42, 0.08) 10px,
      rgba(165, 42, 42, 0.08) 20px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 10px,
      rgba(34, 139, 34, 0.06) 10px,
      rgba(34, 139, 34, 0.06) 20px),
    /* Base gradient overlay */
    linear-gradient(to bottom, rgba(26, 26, 26, 0.25), rgba(26, 26, 26, 0.65)),
    linear-gradient(135deg, rgba(165, 42, 42, 0.45), rgba(34, 139, 34, 0.25));
}

.hero-content {
  position: relative;
  color: var(--white);
  padding: 80px 0 90px;
  animation: fadeUp 0.8s ease both;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ochre);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 16px;
  max-width: 600px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════ */
.trust-strip {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.trust-item span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   DHAKA WEAVE DIVIDER
   ═══════════════════════════════════════════════════════════ */
.dhaka-divider {
  overflow: hidden;
  line-height: 0;
  padding: 8px 0;
  max-width: 100%;
}

.dhaka-divider svg {
  width: 100%;
  height: 24px;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: 56px 0;
  scroll-margin-top: 64px;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--terracotta);
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   ROOMS
   ═══════════════════════════════════════════════════════════ */
.seasonal-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ochre-soft);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
}

.rooms-grid {
  display: grid;
  gap: 24px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.room-img-wrap {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

/* ── Snap-Scroll Gallery ── */
.room-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.room-scroll::-webkit-scrollbar {
  display: none;
}

.room-scroll img {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 220px;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.room-card:hover .room-scroll img {
  transform: scale(1.03);
}

/* ── Dot Indicators ── */
.scroll-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dot.active {
  background: var(--white);
  transform: scale(1.25);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.room-badge-season {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ochre);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.15s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

.lightbox.is-open .lb-img-wrap img {
  animation: lbZoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.lb-fade {
  opacity: 0.3 !important;
}

@keyframes lbZoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s, transform 0.2s;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  color: var(--white);
  transform: scale(1.15);
}

.lb-close {
  top: 16px;
  right: 20px;
  font-size: 2.2rem;
  line-height: 1;
}

.lb-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}

.lb-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}

.lb-prev:hover {
  transform: translateY(-50%) scale(1.15);
}

.lb-next:hover {
  transform: translateY(-50%) scale(1.15);
}

.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.room-body {
  padding: 20px;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.room-header h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.room-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--terracotta);
  white-space: nowrap;
}

.room-price small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
}

.room-desc {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.room-capacity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.room-amenities li {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ═══════════════════════════════════════════════════════════
   DINING
   ═══════════════════════════════════════════════════════════ */
.dining-grid {
  display: grid;
  gap: 32px;
}

.dining-info h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.dining-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.dining-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ── Food Photo Gallery (2×2 grid) ── */
.food-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.food-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.food-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.food-card:hover img {
  transform: scale(1.05);
}

.food-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: var(--white);
  padding: 20px 10px 8px;
  font-weight: 600;
  font-size: 0.82rem;
  text-align: center;
  letter-spacing: 0.3px;
}

.dining-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dining-pattern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dining-pattern-text {
  position: absolute;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   EXPLORE CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.explore-wrap {
  position: relative;
}

.explore-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}

.explore-scroll::-webkit-scrollbar {
  display: none;
}

.explore-card {
  flex: 0 0 72%;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
}

.explore-card:hover {
  box-shadow: var(--shadow-md);
  color: var(--ink);
  transform: translateY(-2px);
}

.explore-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.explore-card:hover img {
  transform: scale(1.05);
}

.explore-body {
  padding: 14px 16px 16px;
}

.explore-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(165, 42, 42, 0.08);
  margin-bottom: 6px;
}

.explore-card h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.explore-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* Arrow buttons */
.explore-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.explore-arrow:hover {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
}

.explore-prev {
  left: -20px;
}

.explore-next {
  right: -20px;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--terracotta);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  text-align: center;
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: var(--ochre);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand h3 .logo-mark {
  font-size: 1rem;
}

.footer-brand p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-brand a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand a:hover {
  color: var(--white);
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   STICKY BOTTOM BAR (Mobile)
   ═══════════════════════════════════════════════════════════ */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

.bb-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.bb-link:hover {
  color: var(--terracotta);
}

.bb-wa {
  background: var(--wa-green);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  flex-direction: row;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.bb-wa:hover {
  background: var(--wa-dark);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATION
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   TABLET (≥ 600px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .container {
    padding: 0 28px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dining-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .explore-card {
    flex: 0 0 45%;
  }

  .explore-card img {
    height: 160px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .room-scroll img {
    height: 200px;
  }

  .food-card img {
    height: 160px;
  }
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP (≥ 992px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }

  .header-inner {
    justify-content: space-between;
    position: static;
  }

  .logo {
    margin: 0;
  }

  .desktop-nav {
    display: flex;
    position: static;
  }

  .header-cta {
    display: inline-flex;
  }

  .bottom-bar {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding: 80px 0 100px;
  }

  .section {
    padding: 80px 0;
  }

  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .room-scroll img {
    height: 240px;
  }

  .explore-card {
    flex: 0 0 30%;
  }

  .explore-card img {
    height: 180px;
  }

  .explore-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}