/* Armella Hill Hotel & Spa - Modern Luxury Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --hotel-navy: #0b1325;
  --hotel-dark: #0f172a;
  --hotel-gold: #c5a880;
  --hotel-gold-light: #e5d5be;
  --hotel-gold-dark: #9e7f55;
  --hotel-sand: #fbf9f5;
  --hotel-slate: #334155;
  --hotel-gray: #64748b;
  --hotel-border: rgba(197, 168, 128, 0.25);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--hotel-slate);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--hotel-navy);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Utility Colors & Accents */
.text-gold { color: var(--hotel-gold) !important; }
.bg-gold { background-color: var(--hotel-gold) !important; }
.border-gold { border-color: var(--hotel-gold) !important; }
.bg-hotel-navy { background-color: var(--hotel-navy) !important; }
.bg-hotel-dark { background-color: var(--hotel-dark) !important; }
.bg-hotel-sand { background-color: var(--hotel-sand) !important; }

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d8bc95 0%, #b89358 100%);
  color: #0b1325;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(184, 147, 88, 0.3);
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 147, 88, 0.45);
  color: #000000;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--hotel-gold);
  border: 1px solid var(--hotel-gold);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline-gold:hover {
  background: var(--hotel-gold);
  color: #0b1325;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--hotel-navy);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
.btn-white:hover {
  background: var(--hotel-sand);
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 19, 37, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(11, 19, 37, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.header-topbar {
  background: rgba(6, 11, 22, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 0;
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 48px;
}

.site-header.scrolled .header-topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom: none;
}

.header-main {
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled .header-main {
  padding: 0.65rem 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--hotel-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--hotel-gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #0b1325;
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.625rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(197, 168, 128, 0.15);
  color: var(--hotel-gold);
  padding-left: 1.5rem;
}

/* Mobile Sidebar Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #0b1325;
  border-left: 1px solid rgba(197, 168, 128, 0.2);
  z-index: 2001;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--hotel-gold);
}

/* Floating Booking Bar */
.modern-booking-bar {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 19, 37, 0.15);
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 1.25rem 2rem;
  position: relative;
  z-index: 20;
}

.booking-field {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.booking-field:hover {
  background: #f8fafc;
}

.booking-field label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hotel-gold-dark);
  margin-bottom: 0.25rem;
}

.booking-field input, .booking-field select {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hotel-navy);
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  padding: 0;
}

/* Luxury Room Card */
.room-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(11, 19, 37, 0.12);
  border-color: var(--hotel-gold);
}

.room-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.room-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-image-wrapper img {
  transform: scale(1.08);
}

.room-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 19, 37, 0.85);
  backdrop-filter: blur(8px);
  color: var(--hotel-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(197, 168, 128, 0.4);
}

.room-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

/* Feature Experience Card */
.exp-card {
  position: relative;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.exp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.exp-card:hover img {
  transform: scale(1.1);
}

.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 37, 0.1) 0%, rgba(11, 19, 37, 0.85) 80%, #0b1325 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: all 0.3s ease;
}

.exp-card:hover .exp-card-overlay {
  background: linear-gradient(180deg, rgba(11, 19, 37, 0.2) 0%, rgba(11, 19, 37, 0.95) 70%, #0b1325 100%);
}

/* Gallery Grid & Filter Tabs */
.gallery-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-tab:hover, .gallery-tab.active {
  background: var(--hotel-navy);
  color: var(--hotel-gold);
  border-color: var(--hotel-gold);
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-hover {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 37, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-hover {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-btn:hover {
  background: var(--hotel-gold);
  color: #0b1325;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Floating WhatsApp & Contact Button (Positioned at bottom-right, keeping bottom-left clear for Tawk.to Live Chat) */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto !important;
  background: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 900;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive Grid Helpers */
.container-luxury {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 768px) {
  .room-image-wrapper { height: 220px; }
  .modern-booking-bar { padding: 1rem; }
  .lightbox-btn { width: 40px; height: 40px; }
  .floating-whatsapp { bottom: 1.5rem; right: 1.5rem; left: auto !important; width: 50px; height: 50px; font-size: 1.5rem; }
}

/* Mobile Fixed Bottom Action Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(11, 19, 37, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) 1rem;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.4);
  display: block;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

.mobile-bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.mobile-bar-call {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.mobile-bar-call i {
  color: #d4af37;
  font-size: 0.95rem;
}

.mobile-bar-call:active {
  background: rgba(212, 175, 55, 0.25);
  transform: scale(0.98);
}

.mobile-bar-book {
  background: linear-gradient(135deg, #d4af37 0%, #b89728 100%);
  color: #0b1325 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.mobile-bar-book i {
  color: #0b1325;
  font-size: 0.95rem;
}

.mobile-bar-book:active {
  opacity: 0.9;
  transform: scale(0.98);
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .floating-whatsapp {
    bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 1.25rem !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.4rem !important;
  }
}

