:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gold-dark: #8b6f3e;
  --deep: #0d1b2a;
  --deep2: #1a2d42;
  --teal: #2a7c8a;
  --teal-light: #e0f4f7;
  --cream: #fdf8f0;
  --cream2: #f5edd9;
  --text-muted-custom: #7a8a99;
  --white: #ffffff;
  --border: rgba(201,169,110,0.25);
  --shadow: 0 8px 40px rgba(13,27,42,0.12);
  --shadow-lg: 0 20px 60px rgba(13,27,42,0.18);
}

/* ===== DARK MODE VARIABLES ===== */
[data-theme="dark"] {
  --cream: #0f1923;
  --cream2: #1a2535;
  --white: #1e2d3d;
  --deep: #e8ddd0;
  --deep2: #111e2b;
  --text-muted-custom: #8fa3b8;
  --border: rgba(201,169,110,0.2);
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* JS handles smooth scroll for speed control */

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* ===== DARK MODE TOGGLE ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,169,110,0.35);
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.theme-toggle:hover {
  background: var(--gold);
  color: #0d1b2a;
  border-color: var(--gold);
}

/* ===== DARK MODE SECTION OVERRIDES ===== */
[data-theme="dark"] .rooms-section { background: var(--cream); }
[data-theme="dark"] .room-card { background: var(--white); }
[data-theme="dark"] .room-title { color: var(--deep); }
[data-theme="dark"] .section-title { color: var(--deep); }
[data-theme="dark"] .booking-bar { background: var(--white); }
[data-theme="dark"] .booking-bar h5 { color: var(--deep); }
[data-theme="dark"] .booking-bar .form-control,
[data-theme="dark"] .booking-bar .form-select {
  color: var(--deep);
  background: transparent;
  color-scheme: dark;
}
[data-theme="dark"] .btn-book-now { background: var(--gold); color: #0d1b2a; }
[data-theme="dark"] .btn-book-now:hover { background: var(--gold-dark); color: #fff; }
[data-theme="dark"] .gallery-section { background: var(--cream2); }
[data-theme="dark"] .testimonials-section { background: var(--cream); }
[data-theme="dark"] .testimonial-card { background: var(--white); }
[data-theme="dark"] .testimonial-text { color: #a0b4c8; }
[data-theme="dark"] .testimonial-author-name { color: var(--deep); }
[data-theme="dark"] .contact-section { background: var(--cream2); }
[data-theme="dark"] .contact-form-wrap { background: var(--white); }
[data-theme="dark"] .form-control-custom {
  color: var(--deep);
  border-bottom-color: rgba(201,169,110,0.2);
}
[data-theme="dark"] .contact-info-text p { color: var(--deep); }
[data-theme="dark"] .map-frame { background: var(--cream2); }
[data-theme="dark"] .modal-content { background: #1a2535; }
[data-theme="dark"] .modal-body { background: #1a2535; }
[data-theme="dark"] .modal-feature-list li { color: #a0b4c8; border-bottom-color: rgba(201,169,110,0.15); }
[data-theme="dark"] .modal-body > .row > .col-md-6 > div[style] { background: #111e2b !important; }
[data-theme="dark"] .modal-body #modalPrice,
[data-theme="dark"] .modal-body #modalSize,
[data-theme="dark"] .modal-body #modalGuests { color: var(--gold) !important; }
[data-theme="dark"] .navbar-custom.scrolled { background: #0b111a; }
[data-theme="dark"] .scroll-top { background: #0b111a; }
[data-theme="dark"] .room-meta span { color: #8fa3b8; }
[data-theme="dark"] p.text-muted { color: #8fa3b8 !important; }

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

/* ===== NAVBAR ===== */
.navbar-custom {
  background: transparent;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.navbar-custom.scrolled {
  background: var(--deep);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-brand-custom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white) !important;
  letter-spacing: 2px;
  text-decoration: none;
}
.navbar-brand-custom span { color: var(--gold); }
.nav-link-custom {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1rem !important;
  transition: color 0.3s;
  text-decoration: none;
}
.nav-link-custom:hover { color: var(--gold) !important; }
.btn-nav-book {
  background: var(--gold);
  color: var(--deep) !important;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.45rem 1.4rem !important;
  transition: all 0.3s;
}
.btn-nav-book:hover { background: var(--gold-dark); color: var(--white) !important; }

.navbar-toggler { border: 1px solid rgba(255,255,255,0.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0d1b2a 0%, #1a2d42 40%, #1e3a4a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=1600&q=80') center/cover no-repeat;
  opacity: 0.35;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.5) 0%, rgba(13,27,42,0.2) 50%, rgba(13,27,42,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.btn-hero-primary {
  background: var(--gold);
  color: var(--deep);
  border: none;
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.btn-hero-primary:hover { background: var(--white); color: var(--deep); }
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.btn-hero-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== BOOKING BAR ===== */
.booking-bar {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  margin-top: -3rem;
}
.booking-bar h5 {
  color: var(--deep);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.booking-bar .form-control, .booking-bar .form-select {
  border: none;
  border-bottom: 1.5px solid var(--cream2);
  border-radius: 0;
  padding: 0.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--deep);
  background: transparent;
}
.booking-bar .form-control:focus, .booking-bar .form-select:focus {
  box-shadow: none;
  border-color: var(--gold);
}
.booking-divider {
  width: 1px;
  background: var(--cream2);
  align-self: stretch;
  margin: 0 1rem;
}
.btn-book-now {
  background: var(--deep);
  color: var(--gold);
  border: none;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  width: 100%;
  transition: all 0.3s;
}
.btn-book-now:hover { background: var(--gold); color: var(--deep); }

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.section-label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.section-title { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--deep); line-height: 1.2; }
.section-title em { color: var(--gold); font-style: italic; }

/* ===== ROOMS ===== */
.rooms-section { background: var(--cream); }
.room-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-img-wrap { position: relative; overflow: hidden; height: 240px; }
.room-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-img-wrap img { transform: scale(1.05); }
.room-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--deep);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}
.room-body { padding: 1.6rem; }
.room-title { font-size: 1.4rem; color: var(--deep); margin-bottom: 0.5rem; }
.room-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted-custom);
  margin-bottom: 1rem;
}
.room-meta span { display: flex; align-items: center; gap: 5px; }
.room-price { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--deep); font-weight: 600; }
.room-price small { font-size: 0.75rem; color: var(--text-muted-custom); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.btn-room {
  background: transparent;
  border: 1px solid var(--deep);
  color: var(--deep);
  padding: 0.55rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-room:hover { background: var(--deep); color: var(--gold); }

/* ===== AMENITIES ===== */
.amenities-section { background: var(--deep); }
.amenity-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 4px;
  transition: all 0.3s;
}
.amenity-item:hover { border-color: var(--gold); background: rgba(201,169,110,0.05); }
.amenity-icon {
  width: 60px;
  height: 60px;
  background: rgba(201,169,110,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: all 0.3s;
}
.amenity-item:hover .amenity-icon { background: var(--gold); color: var(--deep); }
.amenity-title { font-size: 1.1rem; color: var(--white); margin-bottom: 0.4rem; }
.amenity-desc { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ===== GALLERY ===== */
.gallery-section { background: var(--cream2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item:nth-child(1) { grid-column: 1 / -1; height: 200px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: 1; }
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}
.gallery-item:nth-child(1) { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-overlay { background: rgba(13,27,42,0.35); }
.gallery-overlay i { color: var(--gold); font-size: 2rem; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay i { opacity: 1; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--cream); }
.testimonial-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold-light);
  position: absolute;
  top: -10px;
  left: 24px;
  line-height: 1;
}
.testimonial-text { font-size: 1rem; color: #4a5568; line-height: 1.85; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; font-size: 0.85rem; }
.testimonial-author-name { font-size: 1rem; font-weight: 500; color: var(--deep); }
.testimonial-author-loc { font-size: 0.78rem; color: var(--text-muted-custom); }

/* ===== OFFERS ===== */
.offers-section { background: var(--deep2); }
.offer-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
}
.offer-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.offer-img { height: 180px; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 1.4rem; }
.offer-tag {
  background: var(--gold);
  color: var(--deep);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.8rem;
}
.offer-title { color: var(--white); font-size: 1.25rem; margin-bottom: 0.5rem; }
.offer-desc { color: rgba(255,255,255,0.55); font-size: 0.83rem; line-height: 1.7; margin-bottom: 1rem; }
.offer-price { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; }
.btn-offer {
  background: var(--gold);
  color: var(--deep);
  border: none;
  padding: 0.5rem 1.3rem;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-offer:hover { background: var(--white); color: var(--deep); }

/* ===== CONTACT ===== */
.contact-section { background: var(--cream2); }
.contact-form-wrap {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-label-custom {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted-custom);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.form-control-custom {
  border: none;
  border-bottom: 1.5px solid var(--cream2);
  border-radius: 0;
  padding: 0.6rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--deep);
  background: transparent;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
}
.form-control-custom:focus { border-color: var(--gold); }
.btn-submit {
  background: var(--deep);
  color: var(--gold);
  border: none;
  padding: 0.9rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-submit:hover { background: var(--gold); color: var(--deep); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,169,110,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text h6 { font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted-custom); font-family: 'DM Sans', sans-serif; font-weight: 500; margin-bottom: 0.2rem; }
.contact-info-text p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--deep); margin: 0; }

/* ===== MAP ===== */
.map-frame {
  border-radius: 4px;
  overflow: hidden;
  height: 280px;
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-muted-custom);
  font-size: 1.2rem;
  border: 1px solid var(--border);
}

/* ===== FOOTER ===== */
footer {
  background: var(--deep);
  padding: 4rem 0 0;
}
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--white); letter-spacing: 2px; margin-bottom: 1rem; }
.footer-brand span { color: var(--gold); }
.footer-desc { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.8; max-width: 280px; }
.footer-heading { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  text-decoration: none; transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 0;
  margin-top: 3rem;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; margin: 0; }

/* ===== MODAL ===== */
.modal-room { font-family: 'DM Sans', sans-serif; }
.modal-content { border-radius: 4px; border: none; }
.modal-header { background: var(--deep); border: none; padding: 1.5rem 2rem; }
.modal-title-custom { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--white); }
.modal-body { padding: 2rem; }
.btn-close-custom { background: transparent; border: none; color: var(--gold); font-size: 1.2rem; cursor: pointer; }
.modal-feature-list { list-style: none; padding: 0; }
.modal-feature-list li { padding: 0.4rem 0; font-size: 0.9rem; color: #4a5568; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--cream2); }
.modal-feature-list li:last-child { border-bottom: none; }
.modal-feature-list li i { color: var(--gold); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--deep);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  text-decoration: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--gold); color: var(--deep); }

/* ===== DIVIDER ===== */
.gold-divider { width: 60px; height: 2px; background: var(--gold); margin: 1rem 0 1.5rem; }

/* ===== ALERT ===== */
.alert-booking { background: var(--teal-light); border: 1px solid var(--teal); color: var(--teal); border-radius: 2px; }
/* ===== LIGHTBOX ===== */
.gallery-item { cursor: pointer; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.96);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 92vw;
  max-height: 82vh;
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 80px;
}

.lightbox-img {
  max-width: min(80vw, 960px);
  max-height: 78vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease;
  object-fit: contain;
}
.lightbox-img.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Loader */
.lightbox-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.lightbox-loader.hidden { display: none; }
.lightbox-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(201,169,110,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: lb-spin 0.7s linear infinite;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }

/* Nav buttons */
.lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,169,110,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  z-index: 3;
}
.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d1b2a;
  transform: scale(1.08);
}
.lightbox-nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: rotate(90deg);
}

/* Footer: caption + counter */
.lightbox-footer {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}
.lightbox-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  min-height: 1.4em;
}
.lightbox-counter {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

/* Dot indicators */
.lightbox-dots {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.lightbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  padding: 0;
}
.lightbox-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-container { gap: 0.75rem; }
  .lightbox-img { max-width: 88vw; }
  .lightbox-caption { font-size: 0.95rem; }
}

/* ===================================================
   AZURA — ANIMATION SYSTEM
   =================================================== */

/* ── Scroll-reveal base states ── */
.az-reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2) var(--az-delay, 0ms),
              transform 0.65s cubic-bezier(.22,.68,0,1.2) var(--az-delay, 0ms);
}
.az-reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.6s ease var(--az-delay, 0ms),
              transform 0.6s ease var(--az-delay, 0ms);
}
.az-reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.55s ease var(--az-delay, 0ms),
              transform 0.55s ease var(--az-delay, 0ms);
}
.az-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Hero entrance ── */
.az-hero-in {
  opacity: 0;
  transform: translateY(28px);
  animation: azHeroIn 0.8s cubic-bezier(.22,.68,0,1.1) var(--az-delay, 0ms) forwards;
}
@keyframes azHeroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Active nav link ── */
.az-nav-active {
  color: var(--gold) !important;
  position: relative;
}
.az-nav-active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  animation: azNavLine 0.3s ease forwards;
}
@keyframes azNavLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── Gold shimmer on italic section titles ── */
.az-shimmer-text {
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold)      30%,
    #f5e0aa          50%,
    var(--gold)      70%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: azShimmer 3.5s linear infinite;
}
@keyframes azShimmer {
  to { background-position: 200% center; }
}

/* ── Booking bar field focus glow ── */
.az-field-active label {
  color: var(--gold) !important;
}
.az-field-active .form-control,
.az-field-active .form-select {
  border-color: var(--gold) !important;
}

/* ── Room card tilt — smooth reset already handled via JS ── */
.room-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  will-change: transform;
}
.room-card:hover {
  box-shadow: 0 24px 60px rgba(13,27,42,0.22) !important;
}

/* ── Gallery items zoom on hover ── */
.gallery-item img {
  transition: transform 0.5s cubic-bezier(.22,.68,0,1.1), filter 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1.08) saturate(1.1);
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
}

/* ── Amenity icon bounce on hover ── */
.amenity-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.amenity-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,27,42,0.14);
}
.amenity-item:hover .amenity-icon,
.amenity-item:hover [class*="amenity"] i {
  animation: azBounce 0.5s ease;
}
@keyframes azBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25) rotate(-8deg); }
  70%  { transform: scale(0.95) rotate(4deg); }
  100% { transform: scale(1); }
}

/* ── Testimonial card subtle float ── */
.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(13,27,42,0.15);
}

/* ── Offer badge pulse ── */
.az-pulse {
  animation: azPulse 0.6s ease;
}
@keyframes azPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ── Button ripple ── */
.btn-hero-primary,
.btn-hero-outline,
.btn-nav-book,
.btn-book-now,
.btn-room,
.btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::after,
.btn-hero-outline::after,
.btn-nav-book::after,
.btn-book-now::after,
.btn-room::after,
.btn-submit::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}
.btn-hero-primary:active::after,
.btn-hero-outline:active::after,
.btn-nav-book:active::after,
.btn-book-now:active::after,
.btn-room:active::after,
.btn-submit:active::after {
  width: 280px; height: 280px; opacity: 0;
  transition: 0s;
}

/* ── Hero parallax via CSS variable (set by JS) ── */
.hero::before {
  transform: translateY(var(--hero-parallax, 0px));
}

/* ── Scroll-top bounce in ── */
.scroll-top.visible {
  animation: azScrollIn 0.4s cubic-bezier(.22,.68,0,1.3) forwards;
}
@keyframes azScrollIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Footer links stagger hover ── */
.footer-links a {
  display: inline-block;
  transition: color 0.25s, transform 0.25s;
}
.footer-links a:hover {
  transform: translateX(5px);
}

/* ── Gold divider expand on reveal ── */
.gold-divider {
  transform-origin: left;
  transition: transform 0.7s ease 0.2s, opacity 0.6s ease 0.2s;
}
.gold-divider.az-revealed {
  transform: scaleX(1) !important;
  opacity: 1 !important;
}
.az-reveal-up.gold-divider {
  transform: scaleX(0);
  opacity: 0;
}
