/* ============================================================
   BLUEDAWS PRIVATE HOTEL — Global Stylesheet
   ============================================================ */

/* ---------- Promotion Banner (all pages, injected by main.js) ---------- */
.promo-banner {
  background: linear-gradient(135deg, #1a1208 0%, #2d1f0a 50%, #1a1208 100%);
  border-bottom: 2px solid rgba(201,169,110,0.3);
  padding: 10px 0;
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.promo-left  { display: flex; align-items: center; gap: 16px; }
.promo-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.promo-badge-pill {
  display: inline-block;
  background: var(--gold);
  color: #1a1208;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 3px;
}
.promo-desc   { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.4; }
.promo-expiry { font-size: 0.78rem; color: var(--gold-light); margin: 0; white-space: nowrap; }

/* Booking summary promo card */
.promo-summary-card {
  background: linear-gradient(135deg, #1a1208, #2d1f0a);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.promo-summary-card .promo-badge-pill { font-size: 0.68rem; padding: 3px 9px; margin-bottom: 6px; display: inline-block; }
.promo-summary-card strong { color: var(--white); font-size: 0.88rem; }
.promo-summary-card small  { color: var(--gold-light); font-size: 0.75rem; }

@media (max-width: 640px) {
  .promo-inner  { flex-direction: column; align-items: flex-start; }
  .promo-right  { flex-wrap: wrap; gap: 10px; }
}

/* ---------- Announcement Banner ---------- */
.site-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}
.ann-info    { background: #1e40af; color: #fff; }
.ann-warning { background: #b45309; color: #fff; }
.ann-success { background: #166534; color: #fff; }
.ann-text    { flex: 1; }
.ann-close {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  flex-shrink: 0;
  padding: 0 4px;
  transition: opacity 0.2s;
}
.ann-close:hover { opacity: 1; }

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

:root {
  --gold:       #c9a96e;
  --gold-light: #e8d5a3;
  --dark:       #0d0d0d;
  --dark-mid:   #1a1a1a;
  --dark-card:  #111111;
  --off-white:  #f8f5f0;
  --white:      #ffffff;
  --muted:      #888888;
  --body:       #555555;
  --border:     rgba(201,169,110,0.25);
  --shadow:     0 20px 60px rgba(0,0,0,0.15);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --pad:        100px;
  --radius:     4px;
  --ease:       0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
ul { list-style: none; }
button { cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
}

.section-header { text-align: center; margin-bottom: 64px; }

.section-subtitle {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--body);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-sm { padding: 11px 24px; font-size: 0.7rem; }
.btn-full { width: 100%; text-align: center; }

/* ============================================================
   SITE HEADER WRAPPER (fixed container — holds bars + navbar)
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}
.navbar.scrolled {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.navbar.dark-bg {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
  transition: color var(--ease);
}
.nav-logo:hover { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links li a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--ease);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  border-bottom: none !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta.active { color: var(--dark) !important; border-bottom: none !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: center center / cover no-repeat;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.45) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  padding-top: 80px;
}
.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-hero-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  margin-bottom: 16px;
}
.footer-description { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li,
.footer-col address p { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.footer-col ul li a { transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.3); transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }

/* ============================================================
   ANIMATIONS & REVEAL
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Shared
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad: 64px; }
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
    gap: 24px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
