/* site.css — unified theme (Royelle-inspired) for the entire site
   - Single source of truth for fonts + colors + layout
   - Designed to work alongside Bootstrap (bootstrap.min.css)
*/

:root{
  --brand: #2A4D4A;
  --brand-2:#1F3B38;
  --accent:#C5A059;
  --ink:#1f2a2a;
  --muted:#6b7280;

  --bg:#f6f7f8;
  --card:#ffffff;
  --border: rgba(31, 42, 42, 0.12);
  --shadow: 0 18px 45px rgba(0,0,0,0.08);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --h1: clamp(28px, 3vw, 44px);
  --h2: clamp(22px, 2.2vw, 32px);
  --h3: 20px;
}

*{ box-sizing: border-box; }

html, body{ height:100%; }

body{
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--ink);
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--brand); }

.text-muted, .muted{ color: var(--muted) !important; }

/* =======================
   Top bar (like screenshot)
======================= */
.topbar{
  background: var(--brand);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 0;
  gap: 12px;
}
.topbar__left{
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
  align-items:center;
}
.topbar__left i{ margin-right: 8px; opacity: .95; }
.topbar__right{
  display:flex;
  gap: 10px;
  align-items:center;
}
.topbar__icon{
  width: 30px;
  height: 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}
.topbar__icon:hover{
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* =======================
   Header / Navbar
======================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.brand-mark{
  width: 34px; height: 34px;
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius: 12px;
  background: rgba(197,160,89,0.18);
  color: var(--brand);
}
.brand-name{
  font-weight: 600;
  letter-spacing: .2px;
}
.navbar .nav-link{
  font-weight: 500;
  color: rgba(31,42,42,0.80) !important;
  padding: 10px 12px;
  border-radius: 12px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active{
  background: rgba(42,77,74,0.08);
  color: var(--brand) !important;
}

/* Luxury buttons (used in base.html) */
.btn-luxury{
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(42,77,74,0.18);
}
.btn-luxury:hover{
  background: var(--brand-2);
  border-color: var(--brand-2);
}

/* =======================
   Page hero (banner image feel)
======================= */
.page-hero{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.page-hero__bg{
  height: 185px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.22)),
    radial-gradient(1200px 320px at 30% 10%, rgba(197,160,89,0.35), rgba(0,0,0,0)),
    linear-gradient(90deg, rgba(42,77,74,0.95), rgba(42,77,74,0.65));
}
.page-hero__inner{
  position: absolute;
  inset: 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  padding: 16px;
}
.page-hero__title{
  font-size: var(--h1);
  margin: 0 0 6px 0;
  color:#fff;
  text-shadow: 0 10px 20px rgba(0,0,0,0.18);
}
.page-hero__crumbs{
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.page-hero__crumbs a{ color: rgba(255,255,255,0.95); text-decoration: underline; }

/* =======================
   Cards / Surfaces
======================= */
.card-soft{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.section-title{
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--h2);
  margin: 0 0 10px 0;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(42,77,74,0.06);
  font-size: 13px;
  font-weight: 500;
}

/* =======================
   Home / Index Hero
   (matches existing index.html classes)
======================= */
.hotel{
  position: relative;
  border-radius: var(--radius-xl);
  overflow:hidden;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25)),
    linear-gradient(120deg, rgba(197,160,89,0.25), rgba(0,0,0,0));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hotel-content{
  max-width: 920px;
  padding: 42px 26px;
  color: rgba(255,255,255,0.92);
}
.hotel-content p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
}
.hotel-buttons{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap:wrap;
}
.hotel-buttons .btn{
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
}
.hotel-buttons .btn:hover{
  background: rgba(255,255,255,0.18);
}
.hotel-buttons .btn-login{
  background: var(--accent);
  border-color: var(--accent);
  color: #1b1b1b;
}
.hotel-buttons .btn-login:hover{
  filter: brightness(0.97);
}

/* Featured section */
.featured-hotels{
  margin-top: 26px;
}
.featured-container{
  background: transparent;
}
.featured-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.featured-header h2{
  font-size: var(--h2);
  margin: 0;
}
.featured-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 1200px){
  .featured-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px){
  .featured-grid{ grid-template-columns: 1fr; }
}
.featured-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow:hidden;
  box-shadow: 0 16px 35px rgba(0,0,0,0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.featured-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.10);
}
.featured-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display:block;
}
.featured-body{
  padding: 14px 14px 16px;
}
.featured-body h3{
  font-size: 18px;
  margin: 0 0 6px;
}
.featured-body .meta{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  color: var(--muted);
  font-size: 13px;
}
.featured-cta{
  margin-top: 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}
.featured-cta .price{
  font-weight: 600;
  color: var(--brand);
}
.featured-cta .btn-mini{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(42,77,74,0.08);
  font-weight: 600;
}
.featured-cta .btn-mini:hover{
  background: rgba(42,77,74,0.12);
}

/* =======================
   Explore / Search grid cards
======================= */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 992px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
}
.hotel-card-wrap{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow:hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.07);
  display:flex;
  flex-direction:column;
}
.hotel-img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}
.hotel-card-body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.hotel-city{
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}
.hotel-title{
  margin: 0;
  font-size: 20px;
}
.hotel-desc{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}
.card-footer-custom{
  margin-top: 6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.price-label{
  display:block;
  font-size: 12px;
  color: var(--muted);
}
.price-value{
  font-size: 18px;
  color: var(--brand);
}
.explore-btn{
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  font-weight: 600;
}
.explore-btn:hover{ background: var(--brand-2); border-color: var(--brand-2); color:#fff; }

/* Search form panel */
.search-form{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
}
.search-form .form-control,
.search-form .form-select{
  border-radius: 14px;
  border-color: rgba(31,42,42,0.16);
  padding: 12px 12px;
}
.search-form button{
  border-radius: 999px !important;
}

/* =======================
   Room details (hotel_detail.html)
======================= */
.thumb-rail img{
  width: 100%;
  max-width: 96px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: .9;
}
.thumb-rail img:hover{ opacity: 1; }
.room-main-img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
@media (max-width: 768px){
  .room-main-img{ height: 260px; }
  .thumb-rail img{ max-width: 70px; height: 58px; }
}

.amenities-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 768px){
  .amenities-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.amenity{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(42,77,74,0.05);
}
.amenity i{ color: var(--brand); }

/* =======================
   Booking / Tables (my_bookings)
======================= */
.table-wrap{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
}
.table{
  margin: 0;
}
.table thead th{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.table tbody td{
  vertical-align: middle;
}

/* =======================
   Alerts
======================= */
.dog-alert{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(42,77,74,0.06);
}
.dog-alert--success{ background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.24); }
.dog-alert--danger{ background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.24); }
.dog-alert--warning{ background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.24); }

/* =======================
   Footer
======================= */
.site-footer{
  padding: 22px 0 30px;
}
.footer-card{
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
}
.footer-brand{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  margin-bottom: 2px;
}
.footer-muted{
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 720px){
  .footer-card{ flex-direction: column; align-items:flex-start; }
}
