/* ==========================================================================
   The O2 Hotels & Restaurant — public website
   White + cream, orange accent, Playfair Display headings, dark footer
   ========================================================================== */
:root {
  --o2-accent: #e8820e;
  --o2-accent-dark: #c96c05;
  --o2-accent-soft: #fdf0e1;
  --o2-burgundy: #5a0f14;
  --o2-burgundy-2: #2b0a0c;
  --o2-ink: #161012;
  --o2-gold: #c9a045;
  --o2-cream: #faf6f1;
  --o2-border: #f0e5d8;
  --o2-muted: #6f6461;
  --o2-text: #2a2224;
  --bs-body-font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--o2-text);
  --bs-link-color: var(--o2-accent-dark);
  --bs-link-hover-color: var(--o2-burgundy);
  --bs-primary: var(--o2-accent);
  --bs-primary-rgb: 232, 130, 14;
  --nav-h: 86px;
}
body { font-size: .95rem; background: #fff; -webkit-tap-highlight-color: transparent; }
main, .site-footer { overflow-x: clip; }
h1, h2, h3, h4, .serif { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--o2-ink); }
a { text-decoration: none; }
img { max-width: 100%; }

/* buttons */
.btn { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; border-radius: 10px; padding: .75rem 1.4rem; }
.btn-sm { padding: .45rem .9rem; font-size: .72rem; }
.btn-o2 { background: linear-gradient(135deg, #f0921f, var(--o2-accent-dark)); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(232,130,14,.3); }
.btn-o2:hover, .btn-o2:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(232,130,14,.4); }
.btn-ink { background: var(--o2-ink); color: #fff; border: 0; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-ghost { background: var(--o2-accent-soft); color: var(--o2-accent-dark); border: 1px solid #f6d6b2; }
.btn-ghost:hover { background: #fbe1c3; color: var(--o2-burgundy); }
.btn-pill { border-radius: 40px; }
.form-control, .form-select { border-radius: 10px; border-color: #eadfd2; padding: .7rem .9rem; background-color: #fffdfa; }
.form-control:focus, .form-select:focus { border-color: var(--o2-accent); box-shadow: 0 0 0 .2rem rgba(232,130,14,.14); }
.form-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--o2-muted); }
.form-check-input:checked { background-color: var(--o2-accent); border-color: var(--o2-accent); }

/* header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid #f3ece4; height: var(--nav-h); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header .brand img { height: 58px; width: auto; }
.site-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.site-nav > a { color: var(--o2-ink); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; border-radius: 8px; }
.site-nav > a:hover, .site-nav > a.active { color: var(--o2-accent-dark); }
.site-nav .pill { border: 1px solid #f1d3ae; background: var(--o2-accent-soft); color: var(--o2-burgundy); padding: 10px 16px; margin-left: 6px; }
.site-nav .pill:hover { background: #fbe1c3; }
.cart-btn { position: relative; }
.cart-btn .n { position: absolute; top: -4px; right: -4px; background: var(--o2-accent); color: #fff; border-radius: 20px; font-size: .62rem; min-width: 18px; text-align: center; padding: 1px 5px; letter-spacing: 0; }
.mobile-top-actions { display: none; }

/* hero */
.hero { position: relative; height: min(78vh, 720px); min-height: 460px; background: var(--o2-burgundy-2); overflow: hidden; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero .slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); }
.hero .cap { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 2; color: #fff; text-align: center; padding: 0 16px; }
.hero .cap h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero .cap p { font-size: 1.05rem; opacity: .95; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero .nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; background: rgba(0,0,0,.45); color: #fff; border: 0;
  display: grid; place-items: center; font-size: 1.3rem; border-radius: 6px; }
.hero .nav-arrow.prev { left: 20px; } .hero .nav-arrow.next { right: 20px; }
.hero-default { background: radial-gradient(circle at 30% 30%, rgba(232,130,14,.35), transparent 50%), linear-gradient(135deg, #3b0a0d, #120a0b); display: grid; place-items: center; height: 100%; }
.hero-default img { width: min(520px, 80vw); filter: drop-shadow(0 10px 40px rgba(0,0,0,.5)); }

/* quick reservation */
.quick-res { position: relative; z-index: 5; margin-top: -60px; }
.quick-res .box { background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(40,20,10,.15); border-top: 3px solid var(--o2-accent); padding: 18px 22px 22px; }
.quick-res .ttl { color: var(--o2-accent-dark); font-size: .7rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 10px; }
.stepper { display: flex; border: 1px solid #eadfd2; border-radius: 10px; overflow: hidden; background: #fffdfa; }
.stepper button { border: 0; background: transparent; width: 42px; font-size: 1.1rem; font-weight: 700; }
.stepper input { border: 0; text-align: center; width: 100%; font-weight: 700; background: transparent; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--o2-cream); }
.eyebrow { color: var(--o2-accent-dark); font-size: .72rem; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--o2-accent); }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 10px 0 6px; }
.sec-title em { font-style: normal; color: var(--o2-accent); }
.sec-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--o2-gold), var(--o2-accent)); border-radius: 3px; margin: 14px auto 16px; }
.sec-sub { color: var(--o2-muted); max-width: 620px; margin: 0 auto; line-height: 1.8; }

/* room card */
.room-card { background: #fff; border: 1px solid var(--o2-border); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.room-card:hover { box-shadow: 0 18px 40px rgba(60,20,10,.1); transform: translateY(-3px); }
.room-card.popular { border: 2px solid #f3b36a; }
.room-card .img { position: relative; height: 260px; background: var(--o2-burgundy-2); }
.room-card .img img { width: 100%; height: 100%; object-fit: cover; }
.room-card .badge-tag { position: absolute; top: 14px; right: 14px; background: var(--o2-accent); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; }
.room-card .bed { position: absolute; bottom: 14px; left: 14px; background: rgba(0,0,0,.65); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; }
.room-card .body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.room-card h3 { font-size: 1.45rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chips span { font-size: .72rem; border: 1px solid var(--o2-border); background: #fffaf4; border-radius: 20px; padding: 4px 10px; color: var(--o2-muted); }
.chips span::before { content: '✓ '; color: var(--o2-accent); }
.price-row { border-top: 1px solid var(--o2-border); padding-top: 14px; margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-row s { color: #b4a9a2; font-size: .8rem; display: block; }
.price-row .p { font-size: 1.45rem; font-weight: 800; color: var(--o2-accent); }
.price-row .p.ac { color: #2f6fd6; }
.price-row small { color: var(--o2-muted); font-weight: 600; font-size: .72rem; }

/* service cards */
.svc-card { background: #fff; border: 1px solid var(--o2-border); border-radius: 18px; padding: 32px 28px; height: 100%; transition: box-shadow .2s; }
.svc-card:hover { box-shadow: 0 16px 36px rgba(60,20,10,.08); }
.svc-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--o2-accent-soft); border: 1px solid #f6d6b2; display: grid; place-items: center; color: var(--o2-accent); font-size: 1.5rem; margin-bottom: 20px; }
.svc-card h4 { font-size: 1.15rem; }
.svc-card p { color: var(--o2-muted); font-size: .88rem; line-height: 1.7; margin: 0; }
.svc-card .ln { width: 36px; height: 2px; background: var(--o2-accent); margin-top: 18px; }
.venue-card { text-align: center; padding: 28px 18px; }
.venue-card .svc-ico { margin: 0 auto 16px; }
.time-card { border-radius: 16px; padding: 22px 26px; display: flex; gap: 18px; align-items: center; color: #fff; }
.time-card.in { background: linear-gradient(135deg, #2a0f08, #3d1408); box-shadow: 0 14px 30px rgba(232,130,14,.18); }
.time-card.out { background: linear-gradient(135deg, #1e1606, #2d2208); }
.time-card .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(232,130,14,.18); color: var(--o2-accent); border: 1px solid rgba(232,130,14,.4); }
.time-card .lbl { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.time-card .t { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; line-height: 1.1; }

/* about */
.about-img { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(40,20,10,.18); min-height: 380px; background: var(--o2-burgundy-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.feat { display: flex; gap: 14px; margin-bottom: 18px; }
.feat .svc-ico { width: 44px; height: 44px; font-size: 1rem; margin: 0; flex-shrink: 0; }
.feat h6 { font-weight: 700; margin: 0 0 2px; font-family: Montserrat, sans-serif; }
.feat p { font-size: .84rem; color: var(--o2-muted); margin: 0; }

/* reviews */
.review-card { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--o2-border); height: 100%; }
.review-card .stars { color: #f2a516; letter-spacing: 2px; }
.review-card .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; }
.review-card .av { width: 38px; height: 38px; border-radius: 50%; background: var(--o2-accent); color: #fff; display: grid; place-items: center; }
.g-rating { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--o2-border); border-radius: 50px; padding: 10px 22px; }

/* restaurant */
.r-hero { position: relative; min-height: 340px; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; background: var(--o2-burgundy-2); }
.r-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.r-hero .in { position: relative; padding: 40px 16px; }
.r-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.open-pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(0,0,0,.45); padding: 6px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.open-pill .d { width: 8px; height: 8px; border-radius: 50%; background: #3ccf70; } .open-pill.closed .d { background: #ff5a5a; }
.menu-bar { position: sticky; top: var(--nav-h); z-index: 1020; background: #fff; border-bottom: 1px solid var(--o2-border); padding: 10px 0; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button { white-space: nowrap; border: 1px solid var(--o2-border); background: #fff; border-radius: 30px; padding: 8px 16px; font-weight: 700; font-size: .78rem; color: var(--o2-text); }
.cat-tabs button.on { background: var(--o2-ink); color: #fff; border-color: var(--o2-ink); }
.dish { background: #fff; border: 1px solid var(--o2-border); border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.dish .img { height: 150px; background: linear-gradient(135deg, #3b0a0d, #161012); display: grid; place-items: center; color: var(--o2-gold); font: 700 2.4rem 'Playfair Display', serif; position: relative; }
.dish .img img { width: 100%; height: 100%; object-fit: cover; }
.dish .img .bdg { position: absolute; top: 10px; left: 10px; background: var(--o2-accent); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.dish .bd { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.dish h5 { font-family: Montserrat, sans-serif; font-size: .92rem; font-weight: 700; margin: 0; display: flex; gap: 6px; }
.dish p { font-size: .76rem; color: var(--o2-muted); margin: 4px 0 8px; }
.dish .ft { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.dish .pr { font-weight: 800; color: var(--o2-burgundy); }
.dish .pr s { color: #aaa; font-weight: 400; font-size: .75rem; margin-left: 4px; }
.dish.na { opacity: .5; }
.add-btn { border: 1.5px solid var(--o2-accent); color: var(--o2-accent-dark); background: #fff; font-weight: 800; font-size: .74rem; border-radius: 10px; padding: 6px 16px; letter-spacing: .06em; }
.add-btn:hover { background: var(--o2-accent); color: #fff; }
.qty-ctl { display: inline-flex; align-items: center; background: var(--o2-accent); color: #fff; border-radius: 10px; overflow: hidden; }
.qty-ctl button { border: 0; background: transparent; color: #fff; width: 30px; height: 32px; font-weight: 800; }
.qty-ctl span { min-width: 22px; text-align: center; font-weight: 800; }
.veg-dot, .nonveg-dot, .egg-dot { display: inline-block; width: 14px; height: 14px; border: 2px solid; border-radius: 3px; position: relative; flex-shrink: 0; margin-top: 2px; }
.veg-dot { border-color: #1d8a3e; } .nonveg-dot { border-color: #b4232f; } .egg-dot { border-color: #c98a00; }
.veg-dot::after, .nonveg-dot::after, .egg-dot::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; }
.veg-dot::after { background: #1d8a3e; } .nonveg-dot::after { background: #b4232f; } .egg-dot::after { background: #c98a00; }
.cart-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 1040; width: min(560px, calc(100% - 24px)); background: var(--o2-ink); color: #fff;
  border-radius: 16px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 14px 36px rgba(0,0,0,.35); }
.cart-bar a { color: #fff; font-weight: 800; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--o2-burgundy-2), #161012); color: #fff; padding: 56px 0 46px; text-align: center; }
.page-hero h1 { color: #fff; margin: 6px 0 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-hero .eyebrow { color: var(--o2-gold); } .page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--o2-gold); }
.crumbs { font-size: .78rem; opacity: .75; margin-top: 8px; } .crumbs a { color: #fff; }
.card-o2 { background: #fff; border: 1px solid var(--o2-border); border-radius: 18px; padding: 24px; }
.summary-line { display: flex; justify-content: space-between; padding: 4px 0; font-size: .9rem; }
.summary-line.total { font-size: 1.2rem; font-weight: 800; color: var(--o2-burgundy); border-top: 1px dashed #e6d7c4; margin-top: 8px; padding-top: 10px; }
.status-track { display: flex; justify-content: space-between; position: relative; margin: 26px 0; }
.status-track::before { content: ''; position: absolute; top: 15px; left: 6%; right: 6%; height: 3px; background: #eee3d6; }
.status-track .st { position: relative; text-align: center; flex: 1; font-size: .7rem; font-weight: 700; color: var(--o2-muted); }
.status-track .st .c { width: 32px; height: 32px; border-radius: 50%; background: #eee3d6; margin: 0 auto 6px; display: grid; place-items: center; color: #fff; }
.status-track .st.done .c { background: var(--o2-accent); } .status-track .st.done { color: var(--o2-ink); }
.gallery-grid { columns: 3 260px; column-gap: 14px; }
.gallery-grid a { display: block; margin-bottom: 14px; border-radius: 14px; overflow: hidden; break-inside: avoid; }
.gallery-grid img { width: 100%; display: block; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.prose h5 { font-family: 'Playfair Display', serif; margin-top: 1.4rem; }
.prose { line-height: 1.9; color: #3c3234; }

/* footer */
.site-footer { background: #1d1a1b; color: #b8b0ab; padding: 70px 0 0; font-size: .9rem; }
.site-footer h5 { color: #fff; font-size: 1.15rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid #353031; }
.site-footer a { color: #b8b0ab; } .site-footer a:hover { color: var(--o2-accent); }
.site-footer ul { list-style: none; padding: 0; } .site-footer li { margin-bottom: 10px; } .site-footer li a::before { content: '› '; color: var(--o2-accent); }
.site-footer .logo { height: 70px; margin-bottom: 16px; }
.social a { width: 40px; height: 40px; border: 1px solid #444; border-radius: 50%; display: inline-grid; place-items: center; margin-right: 8px; color: #ddd; }
.social a:hover { border-color: var(--o2-accent); color: var(--o2-accent); }
.copy { border-top: 1px solid #353031; padding: 18px 0; text-align: center; font-size: .82rem; margin-top: 40px; }
.copy a { color: var(--o2-accent); }
.to-top { position: fixed; right: 22px; bottom: 26px; width: 44px; height: 44px; background: var(--o2-accent); color: #fff; border: 0; border-radius: 6px; z-index: 1030; display: none; }
.wa-float { position: fixed; left: 22px; bottom: 26px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; z-index: 1030; box-shadow: 0 8px 22px rgba(37,211,102,.4); }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* app-like mobile bottom nav */
.app-nav { display: none; }
@media (max-width: 991.98px) {
  :root { --nav-h: 64px; }
  .site-header .brand img { height: 42px; }
  .site-nav { display: none; }
  .mobile-top-actions { display: flex; gap: 8px; margin-left: auto; }
  .mobile-top-actions a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--o2-border); display: grid; place-items: center; color: var(--o2-ink); position: relative; }
  .mobile-top-actions .n { position: absolute; top: -4px; right: -4px; background: var(--o2-accent); color: #fff; border-radius: 20px; font-size: .6rem; padding: 0 5px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .app-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--o2-border);
    height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgba(40,20,10,.08); }
  .app-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #8b7f79; font-size: .64rem; font-weight: 700; letter-spacing: .02em; position: relative; }
  .app-nav a i { font-size: 1.32rem; }
  .app-nav a.on { color: var(--o2-accent-dark); }
  .app-nav a.on::before { content: ''; position: absolute; top: 0; width: 30px; height: 3px; border-radius: 0 0 4px 4px; background: var(--o2-accent); }
  .app-nav a.book { color: #fff; }
  .app-nav a.book .bub { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #f0921f, var(--o2-accent-dark)); display: grid; place-items: center;
    margin-top: -26px; box-shadow: 0 8px 18px rgba(232,130,14,.45); border: 4px solid #fff; }
  .app-nav a.book span { color: var(--o2-accent-dark); }
  .wa-float { bottom: calc(82px + env(safe-area-inset-bottom)); left: auto; right: 14px; width: 48px; height: 48px; font-size: 1.4rem; }
  .to-top { display: none !important; }
  .cart-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hero { height: 62vh; min-height: 380px; }
  .hero .cap { bottom: 80px; }
  .hero .nav-arrow { display: none; }
  .quick-res { margin-top: -40px; }
  .section { padding: 54px 0; }
  .room-card .img { height: 210px; }
  .gallery-grid { columns: 2 140px; }
}
