/* ==========================================================================
   DANDAMI LUXURY RESORT - UI COMPONENTS STYLESHEET
   ========================================================================== */

/* ==========================================================================
   1. Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-smooth), height var(--transition-smooth), box-shadow var(--transition-smooth), backdrop-filter var(--transition-smooth);
  background: linear-gradient(180deg, rgba(18, 39, 28, 0.75) 0%, rgba(18, 39, 28, 0) 100%);
}

.site-header.scrolled {
  height: 76px;
  background: rgba(18, 39, 28, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  color: var(--text-on-dark);
  text-decoration: none;
  line-height: 1.1;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-main {
  font-family: var(--font-serif-subtle);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

@media (max-width: 1250px) {
  .nav-menu { gap: 1rem; }
  .nav-link { font-size: 0.85rem; }
}

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

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.header-phone-link:hover {
  color: var(--color-gold);
}

.header-phone-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

/* Mobile Toggle Hamburger */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
}

.hamburger-icon {
  width: 26px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* Off-canvas Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-primary-dark);
  z-index: 1100;
  padding: 2rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-family: var(--font-serif-display);
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--color-gold);
  padding-left: 0.5rem;
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 991px) {
  .nav-menu { display: none; }
  .header-phone-link { display: none; }
  .mobile-toggle-btn { display: block; }
}

@media (max-width: 480px) {
  .header-actions .btn-gold {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  .logo-main {
    font-size: 1.1rem;
  }
  .logo-sub {
    font-size: 0.55rem;
  }
}

/* ==========================================================================
   2. Luxury Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

/* Gold Button */
.btn-gold {
  background-color: var(--color-gold);
  color: #12271c;
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(179, 140, 67, 0.35);
  transform: translateY(-2px);
}

/* Primary Forest Green Button */
.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

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

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Outline Light / On-Dark */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* White Solid Button */
.btn-white {
  background-color: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  border: 1px solid #ffffff;
}

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

/* WhatsApp Concierge Button */
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
}

.btn-whatsapp:hover {
  background-color: #1ebc57;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-lg {
  padding: 1.05rem 2.4rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   3. Floating Search / Quick Booking Bar
   ========================================================================== */

.booking-bar-wrapper {
  position: relative;
  z-index: 40;
  margin-top: -55px;
  margin-bottom: 2rem;
}

.booking-bar {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--color-border);
  padding-right: 1.25rem;
}

.booking-field:last-of-type {
  border-right: none;
}

.booking-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.booking-label svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.booking-input,
.booking-select {
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  width: 100%;
  padding: 0.2rem 0;
  cursor: pointer;
}

.booking-input:focus,
.booking-select:focus {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .booking-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }
  .booking-field {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
  }
  .booking-bar .btn {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .booking-bar-wrapper {
    margin-top: 1.5rem;
  }
  .booking-bar {
    grid-template-columns: 1fr;
  }
  .booking-bar .btn {
    grid-column: 1;
  }
}

/* ==========================================================================
   4. Resort Highlight Cards (Visual Luxury Card Type)
   ========================================================================== */

.highlight-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 5;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-stone);
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.highlight-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.highlight-card:hover .highlight-card-img {
  transform: scale(1.08);
}

.highlight-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(18, 39, 28, 0.65) 100%);
}

.highlight-floating-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 39, 28, 0.88);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
}

.highlight-floating-badge svg {
  width: 13px;
  height: 13px;
  fill: var(--color-gold);
}

.highlight-card-body {
  padding: 1.85rem 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-tag {
  font-family: var(--font-serif-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.35rem;
}

.highlight-title {
  font-family: var(--font-serif-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.highlight-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.highlight-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
}

.highlight-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-dark);
  font-weight: 500;
}

.highlight-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

.highlight-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.highlight-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.highlight-card:hover .highlight-link {
  color: var(--color-gold-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   5. Room Showcase Cards (Ultra Luxury Architecture)
   ========================================================================== */

.room-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.room-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 5;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-stone);
}

.room-card:hover::before {
  opacity: 1;
}

.room-image-wrap {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.room-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(18, 39, 28, 0.65) 100%);
  pointer-events: none;
}

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(18, 39, 28, 0.88);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.room-view-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
}

.room-view-badge svg {
  width: 12px;
  height: 12px;
  fill: var(--color-primary);
}

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

.room-specs {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.room-spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.room-spec-item svg {
  width: 13px;
  height: 13px;
  fill: var(--color-primary);
}

.room-title {
  font-family: var(--font-serif-display);
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
  line-height: 1.25;
}

.room-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.room-amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.amenity-pill {
  font-size: 0.74rem;
  background: var(--color-sand);
  color: var(--text-dark);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.amenity-pill:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold);
  color: #7b591b;
}

.room-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.room-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.price-value {
  font-family: var(--font-serif-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.price-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-sans);
}

.room-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Concierge Assistant Strip */
.rooms-concierge-strip {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rooms-concierge-text h4 {
  font-family: var(--font-serif-display);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.rooms-concierge-text p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  margin: 0;
}

.rooms-concierge-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .rooms-concierge-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
  }
}

/* ==========================================================================
   6. FAQ Accordion Component
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-stone);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.75rem;
  background: #ffffff;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   7. Lightbox & Modals
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 14, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1080px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  font-family: var(--font-serif-display);
}

.lightbox-counter {
  font-size: 0.82rem;
  color: var(--color-gold);
  margin-top: 0.25rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-gold);
  color: #12271c;
  transform: scale(1.08);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Generic Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 14, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 1.5rem;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: var(--shadow-dropdown);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-smooth);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--color-sand);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-stone);
}

/* ==========================================================================
   8. Toast Notification System
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  border-left: 4px solid var(--color-gold);
  animation: toastSlideIn 0.35s ease forwards;
  max-width: 360px;
}

.toast.toast-success {
  border-left-color: #25d366;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   9. Mobile Sticky Action Bar
   ========================================================================== */

.mobile-sticky-bar {
  display: none !important;
}

/* Floating WhatsApp Concierge Button (Desktop & Tablet) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   10. Site Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--text-on-dark);
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-family: var(--font-serif-subtle);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--text-on-dark-muted);
}

.footer-contact-item a:hover {
  color: var(--color-gold);
}

.footer-keywords {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-keywords-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keyword-tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.keyword-tag:hover {
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--color-gold);
  color: #12271c;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
