/* ==========================================================================
   ALISEI LUXURY HOTEL & SPA - APARTMENT DETAILS CORE STYLESHEET
   ========================================================================== */

@font-face {
  font-family: 'Philosopher';
  font-style: italic;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/philosopher/v21/vEFX2_5QCwIS4_Dhez5jcWBrf0I81-qe.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v37/1Ptsg8zYS_SKggPNyCg4QIFqPfE.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  /* Colors */
  --color-primary: #5e57a5;
  /* Premium Royal Indigo */
  --color-primary-light: #746dbb;
  --color-secondary: #c5a059;
  /* Gold Sand / Champagne Accent */
  --color-secondary-dark: #806122;
  --color-secondary-hover: #b08d46;
  --color-text-main: #121212;
  /* Obsidian Dark */
  --color-text-muted: #555555;
  /* Charcoal */
  --color-bg-white: #ffffff;
  --color-bg-cream: #fdfdfa;
  /* Soft Beach Alabaster */
  --color-bg-card: #f9f9f6;
  --color-border: #e8e8e3;

  /* Typography */
  --font-serif-header: 'Philosopher', 'Cinzel', serif;
  --font-sans: 'Raleway', 'Inter', system-ui, -apple-system, sans-serif;
  --font-menu: 'Inter', system-ui, -apple-system, sans-serif;
  --font-signature: 'Pinyon Script', cursive;

  /* Layout & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(94, 87, 165, 0.06);
  --shadow-lg: 0 20px 50px rgba(94, 87, 165, 0.1);
  --border-radius: 8px;
  --transition-smooth: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary-dark);
  color: var(--color-bg-white);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION (Sticky with Dropdowns & Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 2000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  font-family: var(--font-menu);
}

.site-header.scrolled {
  height: 80px;
  background-color: var(--color-bg-white);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1350px;
}

.logo-container img {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.logo-container:hover img {
  transform: scale(1.03);
}

.global-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(10px, 1.8vw, 28px);
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 13px);
  text-transform: uppercase;
  letter-spacing: clamp(0.5px, 0.08vw, 1.5px);
  color: var(--color-primary);
  padding: 12px 0;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-item:hover .nav-link {
  color: var(--color-secondary);
}

.nav-item:hover .nav-link::after {
  transform: scaleX(1);
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 260px;
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-top: 3px solid var(--color-secondary);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-main);
  text-transform: none;
  letter-spacing: normal;
  transition: var(--transition-smooth);
}

.dropdown-link:hover {
  background-color: var(--color-bg-cream);
  color: var(--color-secondary);
  padding-left: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  flex-shrink: 0;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.lang-selector:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background-color: transparent;
}

.lang-selector::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
}

.lang-selector[href*="es/"]::before {
  background-image: url('https://cdn.aliseihotelspa.com/media/img/Miscelaneas/es.svg');
}

.lang-selector[href*="fr/"]::before {
  background-image: url('https://cdn.aliseihotelspa.com/media/img/Miscelaneas/fr.svg');
}

.lang-selector:not([href*="es/"]):not([href*="fr/"])::before {
  background-image: url('https://cdn.aliseihotelspa.com/media/img/Miscelaneas/us.svg');
}

/* ==========================================================================
   ROOM HERO COVER SECTION
   ========================================================================== */
.room-hero {
  position: relative;
  height: 50vh;
  margin-top: 90px;
  /* Offset for sticky header */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}

.room-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-bg-white);
  max-width: 900px;
  padding: 0 24px;
}

.room-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-secondary);
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
}

.room-hero-title {
  font-family: var(--font-serif-header);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.room-hero-desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(14px, 1.2vw, 18px);
  max-width: 750px;
  margin: 12px auto 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 400;
}


.room-hero-meta {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.room-hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-hero-meta i {
  font-size: 16px;
  color: var(--color-bg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   DETAIL GRID LAYOUT (Main details & Floating Sidebar)
   ========================================================================== */
.room-details-section {
  padding: 80px 0;
  background-color: var(--color-bg-cream);
}

.room-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: 40px;
  align-items: start;
}

/* Left Column - Gallery & Content */
.room-details-left {
  width: 100%;
  min-width: 0;
}

.gallery-container {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  border: 1px solid var(--color-border);
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.thumbnails-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
}

.thumbnail-item {
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  opacity: 0.7;
}

.thumbnail-item:hover,
.thumbnail-item.active {
  opacity: 1;
  border-color: var(--color-secondary);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specs Ribbon Section */
.specs-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.spec-ribbon-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 24px 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spec-ribbon-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.spec-ribbon-item i.fa-solid {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}

.spec-ribbon-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.spec-ribbon-val {
  font-family: var(--font-serif-header);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Room Description Card */
.room-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 40px;
}

.room-card-title {
  font-family: var(--font-serif-header);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.room-card-text p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.room-card-text p:last-child {
  margin-bottom: 0;
}

/* Interactive Details Tabs */
.accordion-tabs {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 40px;
}

.tabs-nav {
  display: flex;
  background-color: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
}

.tab-btn {
  flex: 1;
  padding: 18px 24px;
  font-family: var(--font-serif-header);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  text-align: center;
}

.tab-btn:hover {
  color: var(--color-primary);
  background-color: rgba(94, 87, 165, 0.02);
}

.tab-btn.active {
  color: var(--color-primary);
  background-color: var(--color-bg-white);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
}

.tab-content {
  padding: 40px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-pane p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Highlight Features Grid inside Overview Tab */
.highlight-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.highlight-feature {
  background-color: var(--color-bg-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-feature:hover {
  border-color: var(--color-secondary);
  background-color: var(--color-bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.highlight-feature strong {
  font-family: var(--font-serif-header);
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-feature span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Amenities Grid inside Tab */
.amenities-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.amenity-category h4, .amenity-category h3 {
  font-family: var(--font-serif-header);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 8px;
  display: inline-block;
}

.amenity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.amenity-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.amenity-list li i {
  color: var(--color-secondary);
  font-size: 14px;
  flex-shrink: 0;
}

/* Specs Table inside Full Specs Tab */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 16px 20px;
  color: var(--color-text-muted);
}

.specs-table td:first-child {
  font-family: var(--font-serif-header);
  font-weight: 700;
  color: var(--color-primary);
  width: 35%;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  padding-left: 0;
}

.specs-table td:last-child {
  font-weight: 500;
  color: var(--color-text-main);
  padding-right: 0;
}

/* Right Column - Booking Card & Perks */
.room-details-right {
  width: 100%;
  position: sticky;
  top: 110px;
  /* Offset below sticky header */
  z-index: 10;
  align-self: start;
}

@media (min-width: 769px) {
  .room-details-right {
    min-width: 320px;
  }
}

/* ==========================================================================
   APARTMENT DETAILS FAQ SECTION
   ========================================================================== */
.apartment-faq-section {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-top: 36px;
  margin-bottom: 30px;
}

.apartment-faq-header {
  margin-bottom: 24px;
}

.apartment-faq-subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 6px;
}

.apartment-faq-title {
  font-family: var(--font-serif-header);
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.apartment-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apartment-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-bg-cream);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.apartment-faq-item[open],
.apartment-faq-item.active {
  border-color: var(--color-primary-light);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

summary.apartment-faq-question,
.apartment-faq-item summary {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-family: var(--font-serif-header);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  user-select: none;
  list-style: none !important;
  list-style-type: none !important;
  transition: var(--transition-smooth);
}

.apartment-faq-item summary::-webkit-details-marker,
summary.apartment-faq-question::-webkit-details-marker {
  display: none !important;
}

.apartment-faq-item summary::marker,
summary.apartment-faq-question::marker {
  display: none !important;
  content: "" !important;
}

.apartment-faq-question:hover {
  color: var(--color-secondary-dark);
}

.apartment-faq-icon {
  font-size: 12px;
  color: var(--color-secondary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.apartment-faq-item[open] .apartment-faq-icon {
  transform: rotate(180deg);
}

.apartment-faq-answer {
  padding: 0 20px 18px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  border-top: 1px dashed rgba(94, 87, 165, 0.1);
  padding-top: 14px;
}

.apartment-faq-answer p {
  margin: 0;
}

.booking-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.booking-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #4c468e 100%);
  color: var(--color-bg-white);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.booking-card-price {
  font-family: var(--font-serif-header);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}

.booking-card-guarantee {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  max-width: 100%;
}

.booking-card-form {
  padding: 32px 24px 24px 24px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-main);
  background-color: var(--color-bg-cream);
  outline: none;
  transition: var(--transition-smooth);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

/* Custom styling for date icon inside inputs or custom select arrows */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235e57a5'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-size: 18px;
  padding-right: 40px;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.form-group::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.form-group:has(input[type="date"])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235e57a5'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
}

.form-group input[type="date"]:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(94, 87, 165, 0.12);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-card-perks {
  padding: 24px;
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perks-heading {
  font-family: var(--font-serif-header, 'Philosopher', serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
  text-align: left;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-muted);
  font-weight: 500;
  text-align: left;
}

.perk-item svg,
.perk-item i {
  width: 16px;
  height: 16px;
  font-size: 14px;
  color: var(--color-secondary);
  fill: var(--color-secondary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

@media (max-width: 991px) {
  .room-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .room-details-right {
    margin-top: 40px;
  }
}

/* ==========================================================================
   ORGANIC TRANSITION & PALM-FILLED VALLEY
   ========================================================================== */
.footer-transition-section {
  background-color: #ffffff; /* Pristine White Valley */
  position: relative;
  height: 260px;
  overflow: visible;
  margin-top: 40px;
  margin-bottom: -2px; /* Smooth seamless overlap with site-footer */
}

.footer-transition-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.footer-transition-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 40px 10px 40px;
}

.enjoy-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 140px; /* Shifted higher for perfect visual layout */
  z-index: 5;
}

.enjoy-text {
  font-family: var(--font-serif-header);
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1;
}

.enjoy-logo-img {
  width: 250px;
  max-width: 90%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .footer-transition-section {
    height: 140px;
  }
  .footer-transition-curve {
    height: 70px;
  }
  .enjoy-text {
    font-size: 18px;
  }
  .enjoy-logo-img {
    width: 180px;
  }
}

/* ==========================================================================
   PREMIUM CREATIVE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 40px 0 40px 0;
  position: relative;
  z-index: 3;
  font-family: var(--font-menu);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
}

.footer-logo {
  width: 102px;
  height: 52px;
  object-fit: contain;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.social-icon-btn svg,
.social-icon-btn i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: currentColor;
}

.footer-trust-seals {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.footer-seal-link {
  display: block;
  width: 140px;
  transition: var(--transition-smooth);
}

.footer-seal-link:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.footer-seal-img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-payment-img {
  width: 180px;
  height: auto;
  display: block;
}

.footer-col h3 {
  font-family: var(--font-serif-header);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-col ul li a:hover {
  color: var(--color-secondary-hover, #f3dfaa);
  padding-left: 4px;
  transition: var(--transition-smooth);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-contact-item svg,
.footer-contact-item i {
  width: 16px;
  height: 16px;
  font-size: 14px;
  color: var(--color-secondary);
  fill: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-link {
  transition: var(--transition-smooth);
  color: #ffffff;
}

.footer-contact-link:hover {
  color: var(--color-secondary-hover, #f3dfaa);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-policies {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-policies a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-policies a:hover {
  color: var(--color-secondary-hover, #f3dfaa);
}

.go-to-top-btn {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-bg-white);
  padding: 10px 18px;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.go-to-top-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px);
}
    /* Sub-dropdown (second-level dropdown) */
    .dropdown-menu li {
      position: relative;
    }
    .dropdown-submenu-menu {
      position: absolute;
      top: 0;
      left: 100%;
      transform: translateY(15px);
      width: 240px;
      background-color: var(--color-bg-white);
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      list-style: none;
      padding: 12px 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease, transform 0.25s ease;
      border-top: 3px solid var(--color-secondary);
      z-index: 10;
    }
    .dropdown-submenu:hover .dropdown-submenu-menu {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    @media (max-width: 991px) {
      .dropdown-submenu-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        padding: 5px 0 5px 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      .dropdown-submenu:hover .dropdown-submenu-menu {
        display: block;
      }
    }

/* ==========================================================================
   SAFETY NOTICE BANNER & POLICY CARDS (Rates & Reservations)
   ========================================================================== */
.safety-notice-banner {
  background: linear-gradient(135deg, #00b4ec 0%, #00d2ff 100%);
  border-radius: var(--border-radius, 12px);
  padding: 24px 30px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.safety-notice-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.safety-notice-icon {
  color: #ffffff;
  font-size: 32px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.safety-notice-text-group {
  text-align: left;
}

.safety-notice-text {
  color: #ffffff;
  font-family: var(--font-sans), sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

.safety-notice-text-highlight {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.95;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .safety-notice-banner {
    padding: 20px;
  }
  .safety-notice-content {
    flex-direction: column;
    text-align: center;
  }
  .safety-notice-text-group {
    text-align: center;
  }
}

.policy-accordion {
  margin-top: 30px;
}

.policy-card {
  background-color: var(--color-bg-white, #ffffff);
  border-radius: var(--border-radius, 8px);
  padding: 30px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
  border: 1px solid var(--color-border, #e0e0e0);
  border-left: 4px solid var(--color-primary, #5e57a5);
  margin-bottom: 24px;
}

.policy-card h3 {
  font-family: var(--font-serif-header, 'Philosopher', serif);
  font-size: 20px;
  color: var(--color-primary, #5e57a5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-sub-section {
  margin-bottom: 16px;
}

.policy-sub-section h4 {
  font-family: var(--font-serif-header, 'Philosopher', serif);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-secondary, #c5a059);
  margin-bottom: 8px;
  font-weight: 700;
}

.policy-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.policy-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted, #555555);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.policy-list li i {
  color: var(--color-secondary, #c5a059);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.button-group-info {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.button-group-info .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .button-group-info {
    flex-direction: column;
  }
  .button-group-info .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   APARTMENT INDIVIDUALITY & PHOTO REPRESENTATION NOTE
   ========================================================================== */
.apartment-disclaimer-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: rgba(94, 87, 165, 0.04);
  border-left: 3px solid var(--color-secondary, #c5a059);
  border-radius: var(--border-radius, 8px);
  padding: 14px 18px;
  margin-top: 18px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.apartment-disclaimer-note i {
  color: var(--color-secondary, #c5a059);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.apartment-disclaimer-note p {
  font-family: var(--font-sans, 'Raleway', sans-serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted, #555555);
  margin: 0;
}

.apartment-disclaimer-note strong {
  color: var(--color-primary, #5e57a5);
  font-weight: 700;
  display: inline;
  margin-right: 4px;
}

/* ==========================================================================
   WHATSAPP QUOTE & DIRECT CONTACT BUTTON
   ========================================================================== */
.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans, 'Raleway', sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius, 8px);
  transition: var(--transition-smooth, all 0.3s ease);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: #ffffff !important;
}

/* ==========================================================================
   TOP APARTMENT CHECK AVAILABILITY BAR & ADVICE
   ========================================================================== */
.apartment-top-booking-bar {
  background: var(--color-bg-white, #ffffff);
  border-bottom: 1px solid var(--color-border, #e0dcd5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  padding: 20px 0;
  position: relative;
  z-index: 15;
}

.apartment-top-booking-bar .booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.apartment-top-booking-bar .booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apartment-top-booking-bar .booking-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary, #5e57a5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.apartment-top-booking-bar .booking-field input,
.apartment-top-booking-bar .booking-field select {
  padding: 11px 14px;
  border: 1px solid var(--color-border, #e0dcd5);
  border-radius: var(--border-radius, 8px);
  background: var(--color-bg-cream, #faf8f5);
  font-family: var(--font-sans, 'Raleway', sans-serif);
  font-size: 14px;
  color: var(--color-text-main, #333333);
  outline: none;
  transition: var(--transition-smooth, all 0.3s ease);
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
}

.apartment-top-booking-bar .booking-field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.apartment-top-booking-bar .booking-field input:focus,
.apartment-top-booking-bar .booking-field select:focus {
  border-color: var(--color-primary, #5e57a5);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(94, 87, 165, 0.12);
}

.apartment-top-booking-bar .btn-book {
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  height: 44px;
  white-space: nowrap;
}

.apartment-top-booking-notice {
  width: 100%;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-text-muted, #666666);
}

.apartment-top-booking-notice i {
  color: var(--color-secondary, #c5a059);
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .apartment-top-booking-bar .booking-form {
    grid-template-columns: 1fr 1fr;
  }
  .apartment-top-booking-bar .btn-book {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .apartment-top-booking-bar .booking-form {
    grid-template-columns: 1fr;
  }
  .apartment-top-booking-bar .btn-book {
    grid-column: span 1;
  }
}

