﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* SYSTEM DESIGN VARIABLES */
:root {
  --primary: #FF5A5F;        /* Coral Accent */
  --primary-hover: #E04B50;
  --primary-light: #FFECEE;
  
  --secondary: #0B132B;      /* Deep Trust Indigo/Navy */
  --secondary-dark: #050914;
  --secondary-light: #1C2A54;
  
  --bg-main: #F8F9FD;
  --bg-card: #FFFFFF;
  --text-main: #1C1930;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --border-radius: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.05);
  --shadow-md: 0 8px 20px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 12px 36px rgba(11, 19, 43, 0.15);
  
  --font-family: 'Outfit', 'Poppins', sans-serif;
}

/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* TOP INFO ALERT BAR */
.top-alert {
  background-color: #0E0220;
  color: #E2E8F0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 8px;
  letter-spacing: 0.5px;
}
.top-alert span {
  color: var(--primary);
  font-weight: 700;
}

/* HEADER STYLE - MATCHING THE UPLOADED IMAGE */
header {
  background-color: #0A1128; /* Deep Blue instead of White */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-container-fixed {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0;
  height: 76px;
  background-color: #0A1128; /* Deep Blue instead of White */
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background-color: #0A1128; /* Deep Blue instead of White */
  height: 100%;
  flex-shrink: 0;
  cursor: pointer;
}

.logo-text-img {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF; /* High contrast White instead of purple */
  margin-top: -6px;
}

/* SLANTED PURPLE NAVBAR */
.purple-navbar {
  flex-grow: 1;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 0 48px;
  position: relative;
  /* Slant cut using clip-path */
  clip-path: polygon(25px 0, 100% 0, 100% 100%, 0 100%);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  opacity: 0.85;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  border-bottom: 2px solid #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Glassmorphism Login Button from Uploaded Image */
.btn-login-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-login-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Standard custom buttons */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(255, 90, 95, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(255, 90, 95, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: #EDF2F7;
  border-color: var(--secondary);
}

/* MAIN LAYOUT */
main {
  min-height: calc(100vh - 120px);
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PAGE 1: HOMEPAGE (`/home`)
   ========================================================================== */

/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(76, 0, 153, 0.3) 0%, rgba(14, 2, 32, 0.85) 100%),
              url('https://images.unsplash.com/photo-1618773928121-c32242e63f39?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  padding: 100px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  color: #E2E8F0;
}

/* FLOATING SEARCH ENGINE CARD */
.search-widget {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.widget-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.widget-tab {
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.widget-tab:hover {
  background-color: #F7F9FC;
  color: var(--secondary);
}

.widget-tab.active {
  background-color: #F3E8FF;
  color: var(--secondary);
}

.widget-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-container svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

.form-input-container input,
.form-input-container select {
  width: 100%;
  padding: 12px 12px 12px 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 14px;
  background-color: #F8FAFC;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

.form-input-container input:focus,
.form-input-container select:focus {
  border-color: var(--secondary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(76, 0, 153, 0.1);
}

.btn-search {
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* SECTION FORMATTING */
section {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 24px;
}

/* DISCOVER TOP ROOMS HEADER STYLING MATCHING UPLOADED IMAGE */
.discover-top-header {
  text-align: center;
  margin-bottom: 40px;
}

.discover-title-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.discover-title-line {
  height: 4px;
  width: 80px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.discover-top-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--secondary);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
  margin: 0;
}

.discover-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* PRODUCT CARD STYLING MATCHING UPLOADED IMAGE */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.discover-card {
  background-color: var(--bg-card);
  border: 2px solid var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.discover-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.discover-card-img-container {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.discover-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.discover-card:hover .discover-card-img-container img {
  transform: scale(1.05);
}

/* Card badges */
.discover-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--secondary);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.discover-card-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.discover-rating-stars {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.discover-rating-stars span {
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  margin-left: 4px;
}

.discover-hotel-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 12px;
  line-height: 1.3;
}

.discover-pricing-row {
  margin-bottom: 4px;
}

.discover-price-main {
  font-size: 19px;
  font-weight: 800;
  color: #1A202C;
}
.discover-price-main span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.discover-price-taxes {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.discover-price-footnote {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

/* Bottom pill box from uploaded image */
.discover-pill-container {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.discover-pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discover-pill-item svg {
  width: 14px;
  height: 14px;
  stroke: #FFFFFF;
}

.discover-type-label {
  display: inline-block;
  background-color: #E2E8F0;
  color: #4A5568;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: capitalize;
  width: fit-content;
}

/* PROMOTIONAL BANNERS SLIDER */
.promo-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 40px auto;
}
.promo-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.promo-slider::-webkit-scrollbar {
  display: none;
}
.promo-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 320px;
  scroll-snap-align: start;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}
.promo-card.promo-accent {
  background: linear-gradient(135deg, #FF7E82 0%, var(--primary) 100%);
}
.promo-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.promo-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.promo-code {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
}
.slider-controls {
  display: flex;
  gap: 8px;
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--secondary);
}
.slider-btn:hover {
  background-color: var(--secondary);
  color: #FFFFFF;
}

/* CORE TRUST PILLARS */
.trust-pillars {
  background-color: #0E0220;
  color: #FFFFFF;
  max-width: 100%;
  margin: 80px 0 0 0;
  padding: 64px 24px;
}
.trust-pillars-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 90, 95, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon-wrap svg {
  width: 28px;
  height: 28px;
}
.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
}
.pillar-card p {
  font-size: 15px;
  color: #A0AEC0;
}

/* TESTIMONIALS SECTION - MATCHING UPLOADED IMAGE */
.testimonials-section-wrapper {
  background-color: #F1F4F9;
  padding: 64px 24px;
  max-width: 100%;
  margin: 0;
}
.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-section-title-box {
  margin-bottom: 40px;
}
.testimonial-section-title-box h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0E1A35;
  margin-bottom: 6px;
}
.testimonial-section-title-box p {
  color: #64748B;
  font-size: 15px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background-color: #FFFFFF;
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
  border-color: #2563EB;
}
.stars {
  color: #FFC107;
  font-size: 16px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 15px;
  color: #1E293B;
  line-height: 1.6;
  margin-bottom: 24px;
}
.reviewer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E2E8F0;
  padding-top: 16px;
}
.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #FFEBEB;
  color: #FF5A5F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.reviewer-name {
  font-weight: 700;
  font-size: 14px;
  color: #1E293B;
  margin-bottom: 2px;
}
.verified-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.verified-tag svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #10B981;
}

/* FAQ ACCORDIONS */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}
.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
}
.faq-header svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}
.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  font-size: 15px;
  color: var(--text-muted);
}
.faq-item.active {
  border-color: var(--secondary);
}
.faq-item.active .faq-header {
  color: var(--secondary);
}
.faq-item.active .faq-header svg {
  transform: rotate(180deg);
}
.faq-item.active .faq-content {
  padding: 0 24px 20px 24px;
  max-height: 200px;
}

/* ==========================================================================
   PAGE 2: MARKETPLACE SEARCH VIEW (`/hotels`)
   ========================================================================== */
.search-view-container {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
}
.sidebar-filters {
  width: 25%;
  flex-shrink: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-sm);
}
.filter-section {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.filter-section:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.filter-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mode-toggle-pill {
  display: flex;
  background-color: #EDF2F7;
  padding: 4px;
  border-radius: 6px;
}
.mode-btn {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
}
.mode-btn.active {
  background-color: var(--bg-card);
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
}
.property-stream-container {
  width: 75%;
}
.stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.stream-count {
  font-size: 18px;
  font-weight: 700;
}
.stream-count span {
  color: var(--secondary);
}

/* Horizontal card styling for marketplace listings */
.hotel-row-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
}
.row-img-slider {
  width: 280px;
  flex-shrink: 0;
  position: relative;
}
.row-img-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-content {
  flex-grow: 1;
  padding: 24px;
  display: flex;
  justify-content: space-between;
}
.row-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 320px;
}
.row-title-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 4px;
}
.row-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #FEF08A;
  color: #854D0E;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.row-amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 12px;
}
.row-amenity-item {
  background-color: #F1F5F9;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.row-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  border-left: 1px solid var(--border-color);
  padding-left: 24px;
  min-width: 180px;
}

/* ==========================================================================
   PAGE 3: ROOM DETAILS & CHECKOUT (`/hotel/-id`)
   ========================================================================== */
.details-view-container {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
}
.image-matrix {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  height: 420px;
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}
.matrix-main-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.matrix-main-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.matrix-sub-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 100%;
}
.matrix-sub-item {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.matrix-sub-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-matrix-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(14, 2, 32, 0.85);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.details-split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.property-specs {
  width: 65%;
}
.specs-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.specs-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.specs-title-row h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
}
.specs-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 6px;
}
.specs-location svg {
  color: var(--secondary);
  width: 16px;
  height: 16px;
}
.specs-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.specs-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  border-left: 3px solid var(--secondary);
  padding-left: 10px;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.amenity-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.amenity-card svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}
.amenity-card span {
  font-size: 14px;
  font-weight: 600;
}
.policy-block {
  background-color: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-radius: var(--border-radius);
  padding: 24px;
}
.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.policy-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #5B21B6;
}
.policy-list li::before {
  content: 'âœ“';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}
.sticky-checkout {
  width: 35%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-lg);
}
.checkout-header {
  margin-bottom: 20px;
}
.checkout-price {
  font-size: 24px;
  font-weight: 800;
}
.checkout-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.checkout-divider {
  border-bottom: 1px solid var(--border-color);
  margin: 16px 0;
}
.checkout-parameters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.checkout-param-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-param-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.checkout-param-select,
.checkout-param-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 600;
  background-color: #F8FAFC;
}
.bill-calculations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}
.bill-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}
.bill-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
}

/* ==========================================================================
   NEW HIGH-FIDELITY SAAS ADMIN DASHBOARD (FULL DIFFERENT ADMIN PANEL)
   ========================================================================== */
.admin-dashboard-layout {
  min-height: calc(100vh - 76px);
  display: flex;
  background-color: #F3F0FA;
}

/* Sidebar styling */
.admin-sidebar {
  width: 260px;
  background-color: var(--secondary);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 0;
  flex-shrink: 0;
}

.admin-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.admin-sidebar-brand {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  padding: 0 16px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-sidebar-brand span {
  color: var(--primary);
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #A093B5;
  cursor: pointer;
  transition: var(--transition);
}

.admin-menu-item:hover,
.admin-menu-item.active {
  color: #FFFFFF;
  background-color: rgba(255, 90, 95, 0.15);
}

.admin-menu-item.active {
  background-color: var(--primary);
}

.admin-sidebar-footer {
  padding: 0 24px;
  font-size: 12px;
  color: #6C5B7B;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: auto;
}

/* Main dashboard workspace */
.admin-workspace {
  flex-grow: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-workspace-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.admin-workspace-title p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* SaaS Metrics grid styling */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.metric-card-saas {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(18, 1, 39, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(76, 0, 153, 0.05);
  position: relative;
  overflow: hidden;
}

.metric-card-saas::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
}

.metric-card-saas.accent::after {
  background-color: var(--primary);
}

.metric-data h4 {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.metric-data .value {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.metric-data .trend {
  font-size: 12px;
  color: #10B981;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.metric-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: #F3E8FF;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-card-saas.accent .metric-icon-wrap {
  background-color: #FFEBEB;
  color: var(--primary);
}

/* Double block data grid */
.dashboard-blocks-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.dashboard-table-block {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(18, 1, 39, 0.03);
}

.block-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.block-title-bar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

/* Table Style */
.saas-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.saas-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 2px solid var(--border-color);
}

.saas-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

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

.status-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.status-pill.success {
  background-color: #D1FAE5;
  color: #065F46;
}

.status-pill.pending {
  background-color: #FEF3C7;
  color: #92400E;
}

/* Action button configurations */
.btn-action-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-action-outline:hover {
  border-color: var(--secondary);
  background-color: #F5E6FF;
  color: var(--secondary);
}

.btn-action-danger {
  background: #FEE2E2;
  color: #DC2626;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-action-danger:hover {
  background: #DC2626;
  color: #FFFFFF;
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 2, 32, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}
.modal-content {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid var(--border-color);
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}
.modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--secondary);
}
.modal-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #0E0220;
  color: #A093B5;
  padding: 64px 24px 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col-about h3 {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.footer-col-about h3 span {
  color: var(--primary);
}
.footer-col-about p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: #A093B5;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* WE ARE LIVE ON SECTION */
.live-on-section {
  margin: 64px auto 32px auto;
  padding: 0 24px;
}

.live-on-title {
  font-size: 32px;
  font-weight: 800;
  color: #120127;
  margin-bottom: 28px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.live-on-title span {
  color: var(--primary);
}

.live-on-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.live-card {
  height: 180px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.live-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.live-card-name {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.coming-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #FFFFFF;
  color: #120127;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* BLOG SECTION */
.blog-section {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 24px;
}

.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #4C0099;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 8px;
}

.blog-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrap {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #4C0099;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background-color: #F1F5F9;
  padding: 4px 10px;
  border-radius: 20px;
}

.blog-meta-item svg {
  width: 13px;
  height: 13px;
}

.blog-title {
  font-size: 17px;
  font-weight: 700;
  color: #120127;
  line-height: 1.4;
  margin-bottom: 20px;
}

.blog-btn {
  background-color: #4C0099;
  width: fit-content;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-btn:hover {
  background-color: var(--secondary-dark);
}

/* SPA BLOG DETAIL VIEW SPECIFIC STYLES */
.blog-detail-container {
  max-width: 900px;
  margin: 48px auto;
  padding: 40px;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.blog-detail-header h1 {
  font-size: 34px;
  font-weight: 800;
  color: #120127;
  line-height: 1.3;
  margin-bottom: 20px;
}
.blog-detail-cover {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 32px;
}
.blog-detail-text {
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 40px;
}
.blog-detail-text p {
  margin-bottom: 24px;
}
.blog-detail-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #4C0099;
  margin: 32px 0 16px 0;
}
.gallery-title {
  font-size: 20px;
  font-weight: 700;
  color: #120127;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}
.blog-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.blog-gallery-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.blog-gallery-img:hover {
  transform: scale(1.03);
}
.btn-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 600;
  width: fit-content;
  cursor: pointer;
}
