/* Newa Home Hotel — custom theme styles */
:root {
  --bg: #faf7f2;
  --bg-dark: #1b1b1b;
  --surface: #ffffff;
  --muted: #f1ece4;
  --foreground: #1f1b16;
  --muted-fg: #6b6257;
  --primary: #b4532a;      /* terracotta / brick */
  --primary-dark: #8f3d1d;
  --accent: #c9a227;       /* brass gold */
  --border: #e7dfd3;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(31, 27, 22, 0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--font-serif); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 700; letter-spacing: .5px;
  color: #fff;
  transition: color .3s ease;
}
.site-header.scrolled .brand { color: var(--foreground); }
.brand span { color: var(--accent); }
.main-nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
.main-nav a {
  font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.9);
  letter-spacing: .3px; transition: color .2s;
}
.site-header.scrolled .main-nav a { color: var(--foreground); }
.main-nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--foreground); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,.55) 0%, rgba(20,15,10,.35) 50%, rgba(20,15,10,.7) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 120px 0 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: 999px;
  font-size: .82rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700; line-height: 1.08; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(180,83,42,.35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--muted); padding: 7px 16px; border-radius: 999px;
  font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.section-head p { color: var(--muted-fg); font-size: 1.05rem; }

/* ===== Rooms ===== */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(31,27,22,.14); }
.room-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room-card:hover .room-media img { transform: scale(1.06); }
.room-price {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(20,15,10,.82); backdrop-filter: blur(6px);
  color: #fff; padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
}
.room-price small { font-weight: 400; opacity: .8; }
.room-price em { display: block; font-style: normal; font-size: .78rem; font-weight: 500; color: var(--accent); margin-top: 2px; }
.room-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 8px; }
.room-meta { display: flex; gap: 16px; color: var(--muted-fg); font-size: .85rem; margin-bottom: 14px; flex-wrap: wrap; }
.room-meta span { display: inline-flex; align-items: center; gap: 5px; }
.room-body p { color: var(--muted-fg); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.room-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.room-amenities li {
  list-style: none; font-size: .78rem; background: var(--muted);
  padding: 5px 12px; border-radius: 999px; color: var(--foreground);
}
.room-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: .95rem;
}
.room-link:hover { color: var(--primary-dark); }

/* ===== Amenities ===== */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.amenity {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amenity-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.amenity h3 { font-size: 1.05rem; margin-bottom: 6px; }
.amenity p { color: var(--muted-fg); font-size: .88rem; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid .g-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid .g-item:hover img { transform: scale(1.07); }
.g-item.tall { grid-row: span 2; aspect-ratio: auto; }

/* ===== About / split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
.split-body p { color: var(--muted-fg); margin-bottom: 16px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ===== Contact / booking ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .ci-icon { font-size: 1.3rem; }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item p { color: var(--muted-fg); }
.booking-form {
  background: var(--surface); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.booking-form h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-family: var(--font-sans); font-size: .95rem;
  background: var(--bg); transition: border .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(180,83,42,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; border: none; }
.form-note { margin-top: 14px; font-size: .88rem; text-align: center; }
.form-note.success { color: #1a7f37; }
.form-note.error { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--accent); }
.footer-grid p { font-size: .92rem; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; font-size: .85rem; flex-wrap: wrap; gap: 12px;
}

/* ===== Floating WhatsApp button ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }

/* ===== Map section ===== */
.map-section { line-height: 0; }
.map-section iframe { filter: grayscale(15%); }

/* ===== Scroll reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .rooms-grid, .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); padding: 20px 24px; box-shadow: var(--shadow); }
  .main-nav.open ul { flex-direction: column; gap: 16px; }
  .main-nav.open a { color: var(--foreground); }
  .nav-toggle { display: block; }
}
@media (max-width: 600px) {
  .rooms-grid, .amenities-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 2.4rem; }
}
