/* ─── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-brand:    #1a6b4a;
  --clr-brand-lt: #22855d;
  --clr-accent:   #f5a623;
  --clr-bg:       #f7f8fa;
  --clr-card:     #ffffff;
  --clr-text:     #1c1c2e;
  --clr-muted:    #6b7280;
  --radius:       12px;
  --shadow:       0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow-hover: 0 8px 28px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.08);
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Site Header ─────────────────────────────────────────────────────────── */
.site-header {
  background: var(--clr-brand);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.site-header .logo-icon { font-size: 1.6rem; line-height: 1; }

.site-header h1 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-header a:hover h1 { opacity: .85; }

/* ─── Hero Banner (homepage) ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--clr-brand) 0%, #0f4a32 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.hero p {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Grid Container ──────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ─── Hotel Card ──────────────────────────────────────────────────────────── */
.hotel-card {
  background: var(--clr-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hotel-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hotel-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.hotel-card:hover .hotel-card__img-wrap img { transform: scale(1.04); }

.hotel-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.hotel-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.hotel-card__phone {
  font-size: .875rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.hotel-card__phone::before { content: "📞"; font-size: .8rem; }

.hotel-card__cta {
  margin-top: auto;
  padding-top: .75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--clr-brand);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .18s ease, transform .12s ease;
  width: 100%;
}

.btn-primary:hover { background: var(--clr-brand-lt); transform: scale(1.01); }

/* ─── Hotel Detail Page ───────────────────────────────────────────────────── */
.detail-layout {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1.25rem 4rem;
}

.breadcrumb {
  font-size: .82rem;
  color: var(--clr-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--clr-brand); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .35rem; }

.detail-card {
  background: var(--clr-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-card__hero {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.detail-card__body {
  padding: 2rem;
}

.detail-card__name {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: .75rem;
  line-height: 1.2;
}

.detail-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.75rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f0f4f1;
  color: var(--clr-brand);
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 100px;
}

.detail-card__book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--clr-accent);
  color: var(--clr-text);
  font-size: 1.1rem;
  font-weight: 700;
  padding: .9rem 2.5rem;
  border-radius: 10px;
  transition: filter .18s ease, transform .12s ease;
  margin-bottom: 2rem;
  box-shadow: 0 3px 12px rgba(245,166,35,.4);
}

.detail-card__book-btn:hover { filter: brightness(1.07); transform: scale(1.02); }

.detail-card__book-btn .icon { font-size: 1.2rem; }

.section-label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-muted);
  margin-bottom: .75rem;
}

/* ─── Leaflet Map ─────────────────────────────────────────────────────────── */
#hotel-map {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-brand);
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: .82rem;
  padding: 1.25rem 1rem;
  margin-top: auto;
}

/* ─── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .detail-card__body { padding: 1.25rem; }
  .detail-card__book-btn { width: 100%; }
}
