/* ============================================================
   DreamHaus By TK — Luxury Interior Design (2026 Redesign)
   ============================================================ */

:root {
  --bg: #2F2F2F; /* Brand Charcoal Background */
  --surface: #1e1e1e; /* Very dark charcoal */
  --surface-2: #242424; /* Warm dark gray coves */
  --text: #F8F6F2; /* Brand Warm Ivory Text */
  --muted: #a59f93; /* Soft muted ivory */
  --accent: #B08D57; /* Brand Gold Accent */
  --accent-light: #C5A471;
  --border: #3d3d3d; /* Soft dark charcoal dividers */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 4px 20px rgba(176, 141, 87, 0.15);
  --max-width: 1200px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --sidebar-width: 340px;
}

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

html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Master Layout Container */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main Content Curation Area */
.main-content-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Typography settings */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--text);
}

/* Page View Management */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Centered Luxury Hero Section */
.hero-centered-2026 {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(47, 47, 47, 0.75), rgba(47, 47, 47, 0.75)), url('../images/listing-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}

.hero-centered-content {
  width: 100%;
  max-width: 680px;
  background: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(12px);
  padding: 56px 40px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-centered-content h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 300;
  color: var(--text);
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.showroom-item-2026 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 160px;
  padding-inline: 60px;
}

.showroom-item-2026.alternate {
  grid-template-columns: 0.8fr 1.2fr;
}

.showroom-item-2026.alternate .showroom-img-wrapper {
  order: 2;
}

.showroom-item-2026.alternate .showroom-text-wrapper {
  order: 1;
  padding-left: 0;
  padding-right: 40px;
}

.showroom-img-wrapper {
  height: 600px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.showroom-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.showroom-item-2026:hover .showroom-img-wrapper img {
  transform: scale(1.04);
}

.showroom-text-wrapper {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showroom-num {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  color: var(--accent-light);
  margin-bottom: 16px;
  font-weight: 300;
  opacity: 0.7;
}

.showroom-text-wrapper h3 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
  line-height: 1.15;
}

.showroom-style {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

  margin-bottom: 20px;
  font-weight: 300;
  color: var(--text);
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

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

.btn-primary:disabled {
  background-color: var(--border);
  color: var(--muted);
  border-color: var(--border);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background-color: rgba(176, 141, 87, 0.08);
  transform: translateY(-2px);
}

.btn-text-gold {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  text-transform: uppercase;
  font-size: 12px;
}

.btn-text-gold:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

/* About Philosophy Curation (Centered) */
.about-section-2026 {
  padding: 100px 24px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-grid-2026 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.about-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 60px;
  width: 100%;
  flex-wrap: wrap;
}

.stat-item {
  border-top: 1.5px solid var(--accent);
  padding-top: 20px;
  text-align: center;
  min-width: 160px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 54px;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
}

/* Form inputs styling */
.luxury-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.input, .textarea {
  width: 100%;
  border-radius: var(--radius);
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.input:focus, .textarea:focus {
  border-color: var(--accent);
  background-color: var(--surface-2);
}

/* Quiz Wizard 2026 */
.quiz-container {
  max-width: 800px;
  margin: 60px auto;
  padding-inline: 24px;
}

.quiz-progress-bar {
  height: 2px;
  background-color: var(--border);
  margin-bottom: 48px;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--accent);
  transition: width 0.4s ease;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.quiz-option-card {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-option-card:hover {
  border-color: var(--accent);
}

.quiz-option-card.selected {
  border-color: var(--accent);
  background-color: rgba(176, 141, 87, 0.08);
}

.quiz-option-img-placeholder {
  height: 110px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.quiz-option-label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.quiz-option-desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Booking Scheduling Grid */
/* Centered Booking & Portal Layouts */
.booking-centered-wrapper,
.portal-centered-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.booking-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.service-option {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.service-option:hover {
  border-color: var(--accent);
}

.service-option.active {
  border-color: var(--accent);
  background-color: rgba(176, 141, 87, 0.08);
}

.option-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  display: block;
}

.service-option h4 {
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

/* Interactive Calendar widget */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-cal-nav {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-cal-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.calendar-grid-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cal-day:hover:not(.disabled) {
  border-color: var(--accent);
}

.cal-day.active {
  background-color: var(--accent);
  color: #fff;
}

.cal-day.disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.cal-day.today {
  border-color: var(--accent);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.time-slot {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-size: 13px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot:hover:not(:disabled) {
  border-color: var(--accent);
}

.time-slot.active {
  background-color: var(--accent);
  color: #fff;
}

.time-slot:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.booking-summary-badge {
  background-color: rgba(176, 141, 87, 0.08);
  border: 1px solid rgba(176, 141, 87, 0.2);
  padding: 18px;
  border-radius: var(--radius);
  color: var(--accent-light);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Dashboard list */
.dashboard-table-wrapper {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dashboard-table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
}

.dashboard-table td {
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.booking-ref-code {
  font-family: monospace;
  font-weight: 600;
  color: var(--accent-light);
}

.status-badge {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 100px;
}

.status-badge.confirmed {
  background-color: rgba(75, 160, 100, 0.08);
  color: #2b8039;
  border: 1px solid rgba(75, 160, 100, 0.15);
}

.btn-action-reschedule {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
}

.btn-action-cancel {
  background: none;
  border: none;
  color: #d9534f;
  font-size: 13px;
  cursor: pointer;
  margin-left: 16px;
}

.btn-action-reschedule:hover, 
.btn-action-cancel:hover {
  text-decoration: underline;
}

/* Modals overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-container {
  width: min(560px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
}

.modal-calendar-container {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.modal-time-slots .time-slots-grid {
  grid-template-columns: repeat(4, 1fr);
}

.modal-time-slot {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
  font-size: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
}

.modal-time-slot.active {
  background-color: var(--accent);
  color: #fff;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* Helpers */
.hidden {
  display: none !important;
}

/* Footer rules */
.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  background-color: var(--surface-2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 60px;
}

/* Global Sticky Bottom Navigation Bar (Floating Island) */
.mobile-bottom-bar {
  display: block;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  height: 56px; /* Tighter height to text */
  background-color: rgba(47, 47, 47, 0.95); /* Charcoal base */
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--accent); /* Gold Accent border */
  border-radius: 28px; /* Capsule pill shape */
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: visible; /* Allows logo circle to pop out */
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding-inline: 24px;
  position: relative;
}

.mobile-bottom-bar .nav-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease;
  flex: 1;
  text-align: center;
}

.mobile-bottom-bar .nav-link::after {
  display: none;
}

.mobile-bottom-bar .nav-link:hover,
.mobile-bottom-bar .nav-link.active {
  color: var(--accent);
}

.bottom-logo-link {
  position: relative;
  top: -34px; /* Pop out bold overlay */
  width: 100px;
  height: 100px;
  background-color: #2F2F2F; /* Match body background */
  border: 1.5px solid var(--accent); /* Curved border outline */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
  z-index: 1010;
  flex-shrink: 0;
  margin-inline: 16px;
}

.bottom-logo-link:hover {
  transform: scale(1.08) translateY(-4px);
  background-color: #363636;
}

.bottom-logo-img {
  height: 130px; /* Zoomed 50% larger, breaks out of circle wrapper */
  width: 130px;
  object-fit: contain;
  max-width: none;
  max-height: none;
  pointer-events: none; /* Allows click events to pass through to anchor */
}

body {
  padding-bottom: 96px; /* Offset space for tighter navigation bar */
}

/* Client Portal Dashboard 2026 Layout */
.portal-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.profile-sub {
  font-size: 12px;
  color: var(--muted);
}

.style-profile-card {
  padding: 32px 24px;
  border-left: 3px solid var(--accent);
}

.portal-style-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

.dashboard-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.dashboard-booking-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.dashboard-booking-card:hover {
  border-color: var(--accent);
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.booking-card-ref {
  font-family: monospace;
  font-weight: 600;
  color: var(--accent-light);
  font-size: 13px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 10px;
}

/* Responsive Overrides (2026 Layout) */
@media (max-width: 860px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Full screen vertical collapse hero */
  .hero-split-2026 {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-image-panel {
    height: 400px;
    order: 1;
  }
  
  .hero-text-panel {
    order: 2;
    padding: 60px 24px;
  }

  .about-section-2026 {
    padding: 80px 24px;
  }
  
  .about-grid-2026 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px;
  }
  
  .footer-inner {
    padding-inline: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-time-slots .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Custom services list bullets */
.services-list-bullets li {
  font-size: 14px;
  color: var(--text);
  padding-left: 24px;
  position: relative;
  font-weight: 300;
  text-align: left;
}

.services-list-bullets li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 20px;
}

/* Sliding Menu Drawer */
#menu-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-container {
  will-change: transform;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  padding-block: 8px;
  display: inline-block;
}

.drawer-link:hover {
  color: var(--accent);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .philosophy-grid-container {
    grid-template-columns: 1fr !important;
  }
  .services-list-bullets {
    grid-template-columns: 1fr !important;
  }
}
