:root {
  --brand-navy: #0f2942;
  --brand-navy-dark: #0a1c2e;
  --brand-gold: #c9a44c;
  --brand-gold-light: #e2c581;
  --brand-cream: #f8f5ef;
  --text-muted-2: #6b7785;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #22303f;
  background-color: var(--brand-cream);
}

h1, h2, h3, .display-title {
  font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: linear-gradient(90deg, var(--brand-navy-dark), var(--brand-navy));
  padding-top: .8rem;
  padding-bottom: .8rem;
}
.main-navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}
.main-navbar .navbar-brand span { color: var(--brand-gold); }
.main-navbar .nav-link {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  padding: .5rem 1rem !important;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--brand-gold-light); }

.btn-brand {
  background-color: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #1a1a1a;
  font-weight: 600;
}
.btn-brand:hover {
  background-color: var(--brand-gold-light);
  border-color: var(--brand-gold-light);
  color: #1a1a1a;
}
.btn-outline-brand {
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold);
  font-weight: 600;
}
.btn-outline-brand:hover {
  background-color: var(--brand-gold);
  color: #1a1a1a;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at top right, #1c3c5c 0%, var(--brand-navy-dark) 70%);
  color: #fff;
  padding: 5.5rem 0 8rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,164,76,.15) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  font-size: .8rem;
  font-weight: 600;
}
.hero h1 { font-size: 3rem; font-weight: 700; }
.hero p.lead { color: rgba(255,255,255,.75); max-width: 560px; }

/* ---------- Search widget ---------- */
.search-widget {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(10,28,46,.35);
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
}
.search-widget label { font-weight: 600; font-size: .82rem; color: var(--text-muted-2); }

/* ---------- Section titles ---------- */
.section-eyebrow {
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  font-size: .8rem;
}
.section-title { font-weight: 700; color: var(--brand-navy); }

/* ---------- Cards ---------- */
.room-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,41,66,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,41,66,.15);
}
.room-card .room-card-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  background-color: #dde6ee;
}
.room-price {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.35rem;
}
.room-price small { font-size: .78rem; font-weight: 400; color: var(--text-muted-2); }

.amenity-badge {
  background: #eef2f6;
  color: var(--brand-navy);
  font-weight: 500;
  font-size: .74rem;
  padding: .35rem .6rem;
  border-radius: .5rem;
  display: inline-block;
}

.feature-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(201,164,76,.12);
  color: var(--brand-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* ---------- Stat cards (admin) ---------- */
.stat-card {
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), #1c3c5c);
}
.stat-card .stat-value { font-size: 2rem; font-weight: 700; }
.stat-card.gold { background: linear-gradient(135deg, #a9812f, var(--brand-gold)); color:#1a1a1a; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-navy-dark);
}
.footer-brand { font-family: 'Playfair Display', serif; color: #fff; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); }
.footer-links a:hover { color: var(--brand-gold-light); }

/* ---------- Misc ---------- */
.badge-status-pending { background-color: #f0ad4e; }
.badge-status-confirmed { background-color: #2f9e44; }
.badge-status-cancelled { background-color: #868e96; }
.badge-status-completed { background-color: #1c7ed6; }

.auth-card {
  max-width: 460px;
  margin: 3rem auto;
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(15,41,66,.12);
}

.table-admin thead { background-color: var(--brand-navy); color: #fff; }

.page-hero {
  background: linear-gradient(90deg, var(--brand-navy-dark), var(--brand-navy));
  color: #fff;
  padding: 3.5rem 0;
}

.spinner-wrap { padding: 3rem; text-align: center; color: var(--text-muted-2); }
