/* ═══════════════════════════════════════════════
   KOT DUNARA — Shared Stylesheet
   Theme: Dark Luxury · Amber Gold · Warm Cream
   Color palette inspired by Ummed Hotels style
═══════════════════════════════════════════════ */

:root {
  /* Ummed Hotels style — Light & Elegant */
  --maroon-dark:  #2C1810;   /* footer only */
  --maroon:       #3D2010;
  --maroon-light: #5A3020;

  /* Amber Gold — Ummed #B7965B family */
  --gold:         #B7965B;
  --gold-light:   #C9A96E;
  --gold-pale:    #E2C98A;
  --gold-dark:    #8B6B35;

  /* Light / White sections — Ummed style */
  --cream:        #FFFFFF;   /* pure white — main section bg */
  --cream-dark:   #F7F3ED;   /* very light warm off-white */
  --cream-mid:    #F0EAE0;   /* light tan for alternating sections */

  /* Text — dark on light like Ummed */
  --brown:        #333333;
  --text-dark:    #222222;
  --text-mid:     #555555;
  --text-light:   #888888;
  --white:        #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── ORNAMENTS ── */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 0 auto 28px;
}
.orn-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold)); }
.orn-line.rev { background: linear-gradient(to left, transparent, var(--gold)); }
.orn-diamond { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.orn-dot { width: 5px; height: 5px; background: var(--gold-light); transform: rotate(45deg); flex-shrink: 0; }
.ornament.left { margin: 0 0 24px; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  transition: all 0.4s ease;
  background: rgba(255,255,255,0.0);
  backdrop-filter: blur(2px);
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.12);
  height: 68px;
}
nav.solid {
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  height: 68px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; transition: height 0.3s; }
nav.scrolled .nav-logo img, nav.solid .nav-logo img { height: 38px; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-text small {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 300;
  margin-top: 4px;
}

.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 6px 10px;
  transition: color 0.3s;
  font-family: 'Lato', sans-serif;
}
/* On hero pages nav starts transparent over image — white text */
.hero-nav .nav-links a { color: rgba(255,255,255,0.88); }
.hero-nav.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.nav-book {
  background: var(--gold);
  color: #fff !important;
  padding: 9px 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-left: 6px;
}
.nav-links a.nav-book:hover { background: var(--gold-dark); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--gold); transition: all 0.3s; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,0.98); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-dark); font-family: 'Playfair Display', serif;
  font-size: 1.8rem; text-decoration: none; letter-spacing: 2px; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none; color: var(--text-dark);
  font-size: 2rem; cursor: pointer; font-family: 'Lato', sans-serif;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative; height: 50vh; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,8,4,0.65) 0%, rgba(42,12,8,0.55) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
}
.page-hero-badge {
  display: inline-block; border: 1px solid var(--gold);
  color: var(--gold-light); font-size: 0.65rem; letter-spacing: 5px;
  text-transform: uppercase; padding: 7px 22px; margin-bottom: 20px;
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white); font-weight: 700;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 10px; letter-spacing: 2px;
}
.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.8); font-style: italic;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: #F7F3ED;
  border-bottom: 1px solid rgba(183,150,91,0.2);
  padding: 12px 40px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: #888888;
}
.breadcrumb a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: #cccccc; }

/* ── SECTIONS ── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 90px 40px; }
.section-label {
  font-family: 'Lato', sans-serif; font-size: 0.65rem;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; font-weight: 400;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #222222; line-height: 1.2;
  margin-bottom: 20px; font-weight: 700;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-body {
  font-size: 1rem; line-height: 1.85; color: #555555;
  max-width: 620px; font-weight: 300;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--gold); color: #fff;
  padding: 14px 42px; font-family: 'Lato', sans-serif; font-size: 0.78rem;
  letter-spacing: 3px; text-transform: uppercase; font-weight: 700;
  text-decoration: none; border: 2px solid var(--gold); transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline {
  display: inline-block; border: 2px solid var(--gold);
  color: var(--gold); padding: 13px 38px;
  font-family: 'Lato', sans-serif; font-size: 0.78rem;
  letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
  text-decoration: none; transition: all 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline.light { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.85); }
.btn-outline.light:hover { border-color: var(--gold); color: var(--gold-light); background: transparent; }

/* ── QUOTE BLOCK ── */
.quote-block {
  border-left: 3px solid var(--gold); padding: 20px 28px;
  background: var(--cream-dark); margin: 28px 0;
}
.quote-block p {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  font-style: italic; color: var(--text-mid); line-height: 1.7;
}

/* ── FOOTER ── */
footer { background: #D9CEBF url('../images/footer-texture.png') center/cover; color: var(--text-mid); padding: 60px 40px 36px; border-top: 1px solid rgba(183,150,91,0.2); position:relative; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { text-align: left; }
.footer-logo-img { height: 80px; width: auto; margin-bottom: 16px; display: block; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1rem; color: var(--text-mid); margin-bottom: 20px; line-height: 1.5;
}
.footer-contact { font-size: 0.85rem; line-height: 1.9; color: var(--text-mid); }
.footer-contact a { color: var(--gold-dark); text-decoration: none; }
.footer-col h4 {
  font-family: 'Lato', sans-serif; font-size: 0.68rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-mid); text-decoration: none; font-size: 0.85rem;
  transition: color 0.3s; letter-spacing: 0.5px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-social { display:flex; gap:12px; margin-top:20px; }
.footer-social a {
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border:1px solid rgba(183,150,91,0.4);
  color:var(--gold-dark); text-decoration:none; font-size:1rem;
  transition:all 0.3s;
}
.footer-social a:hover { background:var(--gold); color:#fff; border-color:var(--gold); }
.footer-social svg { width:18px; height:18px; fill:currentColor; }
.footer-divider { height: 1px; background: rgba(183,150,91,0.25); margin-bottom: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; flex-wrap: wrap; gap: 12px; color: var(--text-light);
}
.footer-bottom a { color: var(--gold-dark); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* Room detail layout */
  .room-detail,
  .room-detail.reverse { flex-direction: column; gap: 36px; }
  .room-img-grid { grid-template-columns: 1fr 1fr; }

  /* Experiences grid */
  .exp-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* ── NAV ── */
  nav { padding: 0 16px; height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 44px; }

  /* ── HERO ── */
  .page-hero { height: 44vh; min-height: 280px; }
  .page-hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .page-hero-sub   { font-size: 0.9rem; }
  .page-hero-badge { font-size: 0.55rem; letter-spacing: 3px; padding: 6px 14px; }

  /* ── SECTIONS ── */
  .section-inner { padding: 48px 16px; }
  .breadcrumb    { padding: 12px 16px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-body  { font-size: 0.88rem; }

  /* ── FOOTER ── */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 48px 16px 24px; }
  .footer-brand { text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-col h4 { font-size: 0.7rem; }

  /* ── ROOMS GRID (index) ── */
  .rooms-cards-row { grid-template-columns: 1fr !important; gap: 16px !important; }
  .room-cat-card img { height: 220px !important; }

  /* ── ROOM DETAIL (rooms.html) ── */
  .room-detail,
  .room-detail.reverse { flex-direction: column; gap: 28px; }
  .room-img-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .room-img-grid img { height: 220px; }
  .room-img-grid img:last-child { display: none; }
  .room-size { font-size: 2.4rem; }

  /* ── STATS BAND ── */
  .stats-band { grid-template-columns: 1fr 1fr !important; }
  .stat-block { padding: 36px 12px; }
  .stat-num   { font-size: 2.4rem; }

  /* ── FEATURES GRID ── */
  .features-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .feat-tile { padding: 28px 14px; }

  /* ── AMENITIES GRID (rooms.html) ── */
  .amenities-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .amenity-tile { padding: 20px 10px; }
  .amenity-tile-name { font-size: 0.62rem; }

  /* ── EXPERIENCES ── */
  .exp-row { grid-template-columns: 1fr; gap: 20px; }
  .exp-card-sm { flex-direction: column; }

  /* ── HISTORY / ABOUT (the-kot) ── */
  .history-inner,
  .about-inner { grid-template-columns: 1fr !important; gap: 36px; padding: 0 16px; }
  .history-photos { grid-template-rows: 180px 200px; }
  .about-photo { height: 320px; }

  /* ── CONTACT LAYOUT ── */
  .contact-layout { grid-template-columns: 1fr !important; gap: 36px; }
  .form-grid { grid-template-columns: 1fr !important; }
  .form-card { padding: 24px 16px; }

  /* ── GALLERY GRID ── */
  .gal-grid,
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }

  /* ── POOL BANNER ── */
  #pool-banner { height: 340px; }

  /* ── HERO SLIDER (index) ── */
  .slider-content { padding: 0 16px; }
  .slider-arrow   { display: none; }
  .slider-tagline { font-size: 0.9rem; }

  /* ── ORNAMENT ── */
  .ornament { width: 160px; }

  /* ── ROOM PAGES — sticky sidebar ── */
  .room-page-layout { grid-template-columns: 1fr !important; }
  .room-sticky-sidebar { position: static !important; }
  .room-highlights { grid-template-columns: 1fr !important; }
  .room-amenities-grid { grid-template-columns: repeat(3,1fr) !important; }

  /* ── DINING ── */
  .dining-grid { grid-template-columns: 1fr !important; }
  .full-dining-img { height: 240px; object-fit: cover; }

  /* ── LOCATION ── */
  .location-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
  .amenities-grid  { grid-template-columns: repeat(2,1fr) !important; }
  .features-grid   { grid-template-columns: 1fr 1fr !important; }
  .stats-band      { grid-template-columns: 1fr 1fr !important; }
  .history-photos  { grid-template-rows: 140px 160px; }
  .section-title   { font-size: 1.5rem; }
  .room-amenities-grid { grid-template-columns: repeat(2,1fr) !important; }
}
