/* ============================================================
   HOTEL KING STAR — PUBLIC WEBSITE STYLES
   Fully Mobile Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── RESET & ROOT ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg:       #F5F3EF;
  --surface:  #FFFFFF;
  --primary:  #2C3E50;
  --primary2: #3D5166;
  --accent:   #A45449;
  --gold:     #D2B076;
  --gold2:    #C9A660;
  --text:     #1A1A1A;
  --muted:    #6B7280;
  --border:   #E5E0D8;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 8px 40px rgba(0,0,0,0.13);
  --font-d:   'Cormorant Garamond', Georgia, serif;
  --font-b:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:    64px;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: var(--font-b); }

/* ── NAVBAR ──────────────────────────────────────────────── */
.pub-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(245,243,239,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 16px;
}

.nav-brand {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-brand .star { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-pub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-outline-pub {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-pub:hover { background: var(--primary); color: #fff; }

.btn-gold-pub {
  background: var(--gold);
  color: var(--primary);
}
.btn-gold-pub:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(210,176,118,0.4); }

.btn-hero {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 10px;
}
.btn-hero-outline {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 10px;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); }

/* Hamburger */
.hamburger-pub {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--primary);
  line-height: 1;
  padding: 4px;
  flex-shrink: 0;
}

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 998;
  padding: 20px 5%;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: block;
  transition: background 0.15s;
}
.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active { background: var(--bg); color: var(--primary); }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-nav-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mobile-nav-btns .btn-pub { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #1E2D3D 0%, #2C3E50 50%, #344F64 100%);
  color: #fff;
  padding: 80px 5% 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(210,176,118,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(210,176,118,0.15);
  border: 1px solid rgba(210,176,118,0.35);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 6.5vw, 68px);
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 em { color: var(--gold); font-style: italic; }

.hero p {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--font-d); font-size: 36px; font-weight: 600; color: var(--gold); line-height: 1; }
.hero-stat .lbl { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ── SECTIONS ────────────────────────────────────────────── */
section { padding: 72px 5%; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 46px);
  color: var(--primary);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}
.section-header { margin-bottom: 44px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── ROOMS GRID ──────────────────────────────────────────── */
.rooms-pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.room-pub-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.room-pub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Room image area */
.room-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  flex-shrink: 0;
}
.room-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.room-pub-card:hover .room-visual img { transform: scale(1.05); }
.room-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2C3E50 0%, #3D5166 100%);
}
.room-num-big {
  font-family: var(--font-d);
  font-size: 72px;
  font-weight: 600;
  color: rgba(255,255,255,0.07);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}
.room-icon-big {
  font-size: 52px;
  position: relative;
  z-index: 1;
}
.room-label-big {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.room-badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(210,176,118,0.9);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.room-pub-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.room-pub-num  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 5px; }
.room-pub-name { font-family: var(--font-d); font-size: 22px; color: var(--primary); margin-bottom: 8px; }
.room-pub-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; flex: 1; }

.room-pub-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
.amenity-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11.5px;
  color: var(--muted);
}
.room-pub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 10px;
}
.room-price-pub { font-family: var(--font-d); font-size: 22px; font-weight: 600; color: var(--primary); }
.room-price-pub span { font-size: 13px; color: var(--muted); font-family: var(--font-b); font-weight: 400; }

/* ── AMENITIES ───────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.amenity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.amenity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.amenity-card .icon { font-size: 34px; margin-bottom: 10px; }
.amenity-card h4 { font-size: 15px; margin-bottom: 5px; color: var(--primary); font-family: var(--font-d); }
.amenity-card p  { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section { background: var(--primary); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial-stars { color: var(--gold); font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text  { font-family: var(--font-d); font-size: 17px; color: rgba(255,255,255,0.88); margin-bottom: 18px; font-style: italic; line-height: 1.6; }
.testimonial-author strong { display: block; color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 2px; font-family: var(--font-b); }
.testimonial-author span   { font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── BOOKING FORM ────────────────────────────────────────── */
.booking-section { background: var(--surface); }
.booking-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-pub-group { margin-bottom: 16px; }
.form-pub-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-pub-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-pub-group input,
.form-pub-group select,
.form-pub-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-pub-group input:focus,
.form-pub-group select:focus,
.form-pub-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,62,80,0.08);
}

.btn-book-whatsapp {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-b);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-book-whatsapp:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(210,176,118,0.4); }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  border-radius: 20px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  color: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '★';
  position: absolute;
  font-family: var(--font-d);
  font-size: 260px;
  color: rgba(210,176,118,0.05);
  line-height: 1;
  pointer-events: none;
}
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature .icon-wrap {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(210,176,118,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.about-feature h4 { font-size: 15px; margin-bottom: 3px; font-family: var(--font-b); font-weight: 600; }
.about-feature p  { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 36px;
}
.contact-info-card h3 { font-family: var(--font-d); font-size: 26px; color: #fff; margin-bottom: 6px; }
.contact-item { display: flex; gap: 14px; margin-top: 22px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(210,176,118,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-item h5 { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-b); }
.contact-item p  { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(145deg, #1E2D3D 0%, #2C3E50 100%);
  padding: 56px 5% 52px;
  color: #fff;
  text-align: center;
}
.page-hero .section-label { color: var(--gold); }
.page-hero h1 { font-size: clamp(28px, 5vw, 52px); color: #fff; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.68); font-size: 15.5px; max-width: 480px; margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #1A2533;
  color: rgba(255,255,255,0.55);
  padding: 52px 5% 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { font-family: var(--font-d); font-size: 22px; color: #fff; margin-bottom: 10px; }
.footer-brand p  { font-size: 13.5px; max-width: 260px; line-height: 1.7; }
.footer-links h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 14px; font-family: var(--font-b); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a  { font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--primary);
  text-align: center;
}
.stats-band-item {
  padding: 32px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats-band-item:last-child { border-right: none; }
.stats-band-item .snum { font-family: var(--font-d); font-size: 40px; color: var(--gold); line-height: 1; }
.stats-band-item .slbl { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--primary);
  text-align: center;
  padding: 60px 5%;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 42px); color: #fff; margin-bottom: 10px; }
.cta-band p  { color: rgba(255,255,255,0.65); margin-bottom: 28px; font-size: 15.5px; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ── ALERT BOXES ─────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 14px;
  display: none;
}
.alert.show { display: block; }
.alert-error   { background: rgba(164,84,73,0.1); border: 1px solid var(--accent); color: var(--accent); }
.alert-success { background: rgba(45,106,79,0.1); border: 1px solid #2D6A4F; color: #2D6A4F; }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-6  { margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Tablet - 900px */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger-pub { display: block; }

  .about-grid    { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .about-visual  { height: 240px; }

  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band-item:nth-child(2) { border-right: none; }
  .stats-band-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-band-item:nth-child(3),
  .stats-band-item:nth-child(4) { border-bottom: none; }
}

/* Mobile - 640px */
@media (max-width: 640px) {
  :root { --nav-h: 58px; }

  section { padding: 52px 4%; }

  .pub-nav { padding: 0 4%; }

  .hero { padding: 52px 4% 48px; }
  .hero-stats { margin-top: 40px; padding-top: 28px; gap: 0; }
  .hero-stat  { padding: 8px 16px; flex: 1; min-width: 80px; }
  .hero-stat .num { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-pub,
  .hero-actions .btn-hero-outline { width: 100%; max-width: 320px; }

  .rooms-pub-grid { grid-template-columns: 1fr; gap: 18px; }

  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .amenity-card   { padding: 18px 14px; }
  .amenity-card .icon { font-size: 28px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .booking-card { padding: 22px 18px; border-radius: 14px; }
  .form-pub-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-band { grid-template-columns: repeat(2, 1fr); }

  .contact-info-card { padding: 24px 20px; }
  .contact-form-card { padding: 24px 18px; }

  .page-hero { padding: 44px 4% 40px; }

  .section-header { margin-bottom: 28px; }
}

/* Mobile - 400px */
@media (max-width: 400px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .hero-stat .num { font-size: 24px; }
  .nav-brand { font-size: 19px; }
}
