/* ================================================
   Royal City Guest House — Modern Clean Theme
   ================================================ */

:root {
  --white:    #ffffff;
  --grey-50:  #f8f9fa;
  --grey-100: #f1f3f5;
  --grey-200: #e9ecef;
  --grey-400: #adb5bd;
  --grey-600: #6c757d;
  --grey-800: #343a40;
  --dark:     #1a1a2e;
  --accent:   #2c3e50;
  --cta:      #c9a84c;
  --cta-dark: #a8863c;
  --text:     #2d2d2d;
  --text-muted: #6c757d;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius:   12px;
  --radius-sm: 6px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);

  --transition: 0.25s ease;
  --max-w: 1200px;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}
.btn-primary:hover { background: var(--cta-dark); border-color: var(--cta-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-nav {
  background: var(--cta);
  color: var(--white);
  padding: 9px 20px;
  font-size: 0.875rem;
}
.btn-nav:hover { background: var(--cta-dark); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

/* TYPOGRAPHY HELPERS */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 8px;
}
.section-eyebrow.center, .section-title.center, .section-desc.center { text-align: center; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* SECTIONS */
.section { padding: 96px 0; }
.section-alt { background: var(--grey-50); }

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.nav.scrolled .nav-logo { color: var(--dark); }
.nav.scrolled .nav-links li a { color: var(--grey-800); }
.nav.scrolled .nav-links li a:hover { color: var(--cta); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.logo-icon { color: var(--cta); font-size: 1.2rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all var(--transition);
}
.nav-links li a:hover { color: var(--cta); background: rgba(255,255,255,0.08); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--dark); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 30, 0.55) 0%,
    rgba(10, 14, 30, 0.45) 50%,
    rgba(10, 14, 30, 0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 24px;
  max-width: 760px;
  animation: fadeUp 0.9s ease both;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-weight: 300;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}
.star { color: #fbbf24; }
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--white); }

/* ================================================
   ABOUT
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--grey-200);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-images {
  position: relative;
  height: 500px;
}
.about-img {
  position: absolute;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-main {
  width: 78%;
  height: 85%;
  top: 0; left: 0;
}
.about-img-secondary {
  width: 48%;
  height: 50%;
  bottom: 0; right: 0;
  border: 4px solid var(--white);
}

/* ================================================
   ROOMS
   ================================================ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.room-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.room-card:hover .room-img-wrap img { transform: scale(1.05); }
.room-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--cta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.room-tag.popular { background: var(--accent); }
.room-body { padding: 24px; }
.room-body h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.room-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.room-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 20px;
}
.room-features li { font-size: 0.85rem; color: var(--grey-800); }
.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
}
.room-price { font-size: 0.9rem; color: var(--text-muted); }
.room-price strong { font-size: 1.1rem; color: var(--dark); }
.room-price span { font-size: 0.8rem; }
.rooms-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ================================================
   AMENITIES
   ================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.amenity-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  background: var(--white);
  transition: all var(--transition);
}
.amenity-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--grey-100); }
.amenity-icon { font-size: 2.2rem; margin-bottom: 12px; }
.amenity-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.amenity-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ================================================
   GALLERY
   ================================================ */
.gallery-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}
.gallery-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-tab.active,
.gallery-tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--grey-100);
  aspect-ratio: 4 / 3;
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item.hidden {
  display: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
  background: var(--grey-100);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,30,0.42);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
#lightboxImg {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  animation: fadeIn 0.2s ease;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background var(--transition);
}
.lightbox-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ================================================
   LOCATION
   ================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.location-map iframe { border-radius: var(--radius); box-shadow: var(--shadow); }
.location-address {
  margin-bottom: 32px;
}
.location-address h3, .location-info h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 12px;
}
.location-address p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.nearby-list { display: flex; flex-direction: column; gap: 10px; }
.nearby-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
}
.nearby-dist {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cta-dark);
  background: rgba(201, 168, 76, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.nearby-name { font-size: 0.9rem; color: var(--grey-800); }

/* ================================================
   EVENTS
   ================================================ */
.events-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.events-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; }
.events-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.events-features li { font-size: 0.95rem; color: var(--grey-800); }
.events-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); border-color: var(--grey-100); }
.contact-icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.booking-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.booking-link {
  display: block;
  padding: 7px 12px;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: all var(--transition);
}
.booking-link:hover { background: var(--accent); color: var(--white); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
}
.footer-brand p { font-size: 0.85rem; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cta); }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--cta); color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .about-grid, .events-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 320px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { color: var(--grey-800); padding: 10px 16px; }
  .nav-toggle { display: flex; }
  .nav.scrolled .nav-toggle span { background: var(--dark); }
  .hero-title { font-size: 2.8rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-badges { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── CONTACT CARD HIGHLIGHT ── */
.contact-card--highlight {
  border: 2px solid var(--gold, #c9a84c);
  background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
  position: relative;
}
.contact-card--highlight::before {
  content: "📲 Quick Contact";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold, #c9a84c);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-call {
  background: #1a73e8;
  color: #fff;
}
.btn-call:hover { background: #1558b0; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; }

/* ── FLOATING CALL / WHATSAPP BUTTONS ── */
.float-buttons {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.float-btn--whatsapp { background: #25d366; }
.float-btn--call     { background: #1a73e8; }
