/* ==========================================================
   Kura Stay — Japandi luxury design system
   ========================================================== */

:root {
  --bg: #F5F0EA;
  --surface: #EDE8E0;
  --text: #2C2C2A;
  --muted: #7A7570;
  --accent: #8A8880;
  --accent-hover: #6B6965;
  --border: #D9D4CC;
  --max-width: 1100px;
  --section-pad: 100px;
  --section-pad-mobile: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

p { color: var(--text); }

.muted { color: var(--muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== Header ============== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(245, 240, 234, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 32px;
}

.site-header.hidden { transform: translateY(-100%); }

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.3s ease;
}

.site-header.scrolled .logo { color: var(--text); }

.nav-desktop { display: flex; gap: 32px; }

.nav-desktop a {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: color 0.3s ease, opacity 0.2s ease;
}

.nav-desktop a:hover { opacity: 0.7; }

.site-header.scrolled .nav-desktop a { color: var(--text); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

.site-header.scrolled .hamburger { color: var(--text); }

/* ============== Mobile menu ============== */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open { display: flex; opacity: 1; }

.mobile-menu .close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-menu nav a {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text);
}

/* ============== Hero ============== */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity, transform;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 42, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.hero-content h1 {
  color: #FAF6F0;
  margin-bottom: 32px;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  padding: 0;
}

.hero-dot.active { background: #fff; }

/* ============== Buttons ============== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  text-transform: uppercase;
}

.btn:hover { background: var(--accent-hover); }

.btn-light {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-light:hover { background: rgba(255, 255, 255, 0.1); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ============== Sections ============== */

section { padding: var(--section-pad) 0; }

.section-center { text-align: center; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Highlights — full-bleed photo + text */

.highlight-photo {
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
}

.highlight-text {
  max-width: 700px;
  margin: 80px auto 0;
  text-align: center;
  padding: 0 24px;
}

.highlight-text h2 { margin-bottom: 24px; }

.highlight-text p { color: var(--muted); margin-bottom: 40px; }

/* Reviews */

.reviews { background: var(--surface); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.review-card {
  background: var(--bg);
  padding: 36px;
  border: 1px solid var(--border);
}

.review-stars {
  color: #C9A961;
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.review-author {
  font-size: 0.9rem;
  color: var(--muted);
}

.review-more {
  background: none;
  border: none;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--accent);
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: block;
}
.review-more:hover { color: var(--accent-hover); }

.reviews-loading,
.reviews-error {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.reviews-cta { text-align: center; margin-top: 60px; }

/* Footer */

.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 60px 24px 40px;
  text-align: center;
}

.site-footer .logo { color: var(--bg); margin-bottom: 16px; }

.site-footer p {
  color: rgba(245, 240, 234, 0.6);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: rgba(245, 240, 234, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-footer nav a:hover { color: var(--bg); }

/* ============== Animations ============== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.review-card.fade-in:nth-child(1) { transition-delay: 0s; }
.review-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.review-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.review-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.review-card.fade-in:nth-child(5) { transition-delay: 0.4s; }
.review-card.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============== Mobile ============== */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  section { padding: var(--section-pad-mobile) 0; }

  .site-header { padding: 16px 24px; }

  .nav-desktop { display: none; }
  .hamburger { display: block; }

  .hero-content h1 { font-size: 2.4rem; }

  .highlight-photo { height: 50vh; }
  .highlight-text { margin-top: 48px; }

  .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
  .review-card { padding: 28px; }

  .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
}
