/* =====================================================================
   Oxford Hotel & Apartments — public site styles
   ===================================================================== */
:root {
  --navy: #13213c;
  --navy-2: #1d3157;
  --gold: #c39a3e;
  --gold-dark: #a8822c;
  --cream: #f8f5ef;
  --ink: #23262d;
  --muted: #6b7280;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 33, 60, .08);
}

body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: #fff; }
h1, h2, h3, .hero-title, .room-title, .brand-text { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
a { color: var(--gold-dark); }
.bg-cream { background: var(--cream); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--gold); margin-bottom: .5rem; }

/* Buttons */
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 500; }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-gold:disabled { background: #d7c18f; border-color: #d7c18f; }

/* Top bar + nav */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.75); text-decoration: none; }
.topbar a:hover { color: #fff; }
.site-nav { background: rgba(255,255,255,.97); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(0,0,0,.06); padding: .7rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; border: 2px solid var(--gold); }
.brand-text { font-size: 1.55rem; line-height: 1; color: var(--navy); }
.site-footer .brand-text { color: #fff; }
.brand-text small { display: block; font-family: 'Inter', sans-serif; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .5rem .9rem !important; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--gold-dark); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--navy); }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 6rem 0 7.5rem;
  background:
    linear-gradient(115deg, rgba(19,33,60,.94) 0%, rgba(19,33,60,.75) 55%, rgba(195,154,62,.55) 100%),
    var(--hero-img, none) center/cover no-repeat, var(--navy);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(to top, rgba(0,0,0,.12), transparent); }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.05; margin-bottom: 1rem; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-search { margin-top: 2.5rem; }

.search-bar { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.bg-cream .search-bar { box-shadow: var(--shadow); }
.search-bar .form-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: .25rem; }
.search-bar .form-control, .search-bar .form-select { border-radius: 10px; padding: .6rem .8rem; }
.search-btn { padding: .62rem 1.4rem; border-radius: 10px; }

.page-hero { background: linear-gradient(115deg, var(--navy), var(--navy-2)); color: #fff; padding: 3.5rem 0; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-hero p { color: rgba(255,255,255,.75); }
.page-hero-sm { padding: 2.25rem 0; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* Features */
.feature-icon { width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-dark); font-size: 1.6rem; }
.feature h5 { font-weight: 600; font-size: 1rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }

/* Room cards */
.room-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.room-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(19,33,60,.14); }
.room-card.sold-out { opacity: .7; }
.room-card-img { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.placeholder-img { display: grid; place-items: center; color: rgba(255,255,255,.35); font-size: 4rem; }
.placeholder-img.cat-room { background: linear-gradient(135deg, #1d3157, #34507f 60%, #c39a3e); }
.placeholder-img.cat-apartment { background: linear-gradient(135deg, #2b3a2f, #4d6b55 60%, #c39a3e); }
.room-cat, .room-avail { position: absolute; top: 12px; font-size: .72rem; font-weight: 600; padding: .3rem .65rem; border-radius: 30px; letter-spacing: .04em; }
.room-cat { left: 12px; background: rgba(255,255,255,.92); color: var(--navy); text-transform: uppercase; }
.room-avail { right: 12px; color: #fff; }
.room-card-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.room-title { font-size: 1.6rem; margin-bottom: .5rem; color: var(--navy); }
.room-meta { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .85rem; color: var(--muted); }
.room-meta i { color: var(--gold-dark); margin-right: .25rem; }
.room-desc { font-size: .92rem; color: #4b5563; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.amenity-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.amenity-chips span { font-size: .75rem; background: var(--cream); padding: .3rem .6rem; border-radius: 30px; color: #4b5563; }
.amenity-chips span i { color: var(--gold-dark); }
.amenity-chips .more { background: transparent; border: 1px dashed #d1d5db; }
.room-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 1rem; }
.price { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price small { font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 400; color: var(--muted); margin-left: .25rem; }

.category-filter .btn { border-radius: 30px !important; margin-right: .4rem; padding: .4rem 1.1rem; border-color: #d1d5db; }
.category-filter .btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.stay-summary { background: var(--cream); border-left: 4px solid var(--gold); padding: .8rem 1rem; border-radius: 8px; font-size: .92rem; }
#roomResults { transition: opacity .2s; }
#roomResults.loading { opacity: .4; pointer-events: none; }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state i { font-size: 3rem; color: var(--gold); }

/* Steps / CTA */
.steps .step { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.steps .step span { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; }
.steps h6 { font-weight: 600; margin-bottom: .2rem; }
.steps p { color: var(--muted); margin: 0; font-size: .92rem; }
.cta-card { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 2.5rem; }
.cta-card p { color: rgba(255,255,255,.75); }

/* Booking page */
.card-form { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid #f0ece3; }
.form-section-title { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.form-section-title span { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.card-form .form-control, .card-form .form-select { border-radius: 10px; padding: .6rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(195,154,62,.2); }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.booking-summary { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); top: 100px; }
.quote-box { background: var(--cream); border-radius: 10px; padding: 1rem; }
.quote-box strong { font-size: 1.15rem; color: var(--navy); }

/* Confirmation / ticket */
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ec; color: #198754; font-size: 2.4rem; display: grid; place-items: center; margin: 0 auto; }
.booking-ticket { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ticket-head { background: var(--navy); color: #fff; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.ticket-ref { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--gold); letter-spacing: .05em; }
.ticket-body { padding: 1.5rem; border-bottom: 2px dashed #e5e7eb; }
.tlabel { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tval { font-weight: 600; }
.ticket-foot { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ticket-total { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); }

/* Footer */
.site-footer { background: #0e182c; color: #fff; padding: 3.5rem 0 1.5rem; }
.site-footer h6 { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--gold); margin-bottom: 1rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }


/* Responsive */
@media (max-width: 991.98px) {
  .hero { padding: 3.5rem 0 4rem; }
  .site-nav .navbar-collapse { padding: 1rem 0; }
  .booking-summary { position: static !important; }
}
@media (max-width: 575.98px) {
  .card-form { padding: 1.25rem; }
  .search-bar { padding: .9rem; }
  .ticket-ref { font-size: 1.6rem; }
  .ticket-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .category-filter { width: 100%; display: flex; }
  .category-filter .btn { flex: 1; padding: .4rem .5rem; }
}
@media print {
  .topbar, .site-nav, .site-footer, .no-print, .toast-container { display: none !important; }
  .booking-ticket { box-shadow: none; border: 1px solid #ccc; }
}
