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

:root {
  /* Common Variables */
  --font-title: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Light Theme Defaults */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.1);
  --accent-rgb: 37, 99, 235;
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --hero-overlay: rgba(15, 23, 42, 0.35);
}

[data-theme="dark"] {
  /* Dark Theme Overrides */
  --bg-primary: #090d16;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;
  --accent-primary: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: rgba(124, 58, 237, 0.15);
  --accent-rgb: 124, 58, 237;
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.15);
  --danger: #f87171;
  --danger-light: rgba(248, 113, 113, 0.15);
  --glass-bg: rgba(17, 24, 39, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --border-color: #374151;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --hero-overlay: rgba(0, 0, 0, 0.55);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Class */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  height: 70px;
}

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

.logo {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--accent-primary), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

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

.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-secondary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('assets/hero_bg.png');
  margin-bottom: -60px;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 800px;
  padding: 0 24px;
  margin-top: -40px;
}

.hero-subtitle {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out;
}

.hero-desc {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease-out;
}

/* Floating Search Bar */
.search-wrapper {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  z-index: 20;
  position: relative;
  animation: fadeInUp 1.4s ease-out;
}

.search-bar {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.search-field {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
  padding-right: 12px;
}

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

.search-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-field input, .search-field select {
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  background: transparent;
  color: var(--text-primary);
  border: none;
}

.search-field input::placeholder {
  color: var(--text-tertiary);
}

.search-btn {
  background: linear-gradient(135deg, var(--accent-primary), #a855f7);
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
  transition: all var(--transition-fast);
  height: 56px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(var(--accent-rgb), 0.4);
  filter: brightness(1.1);
}

/* Demo Watermark */
.demo-watermark {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 12vw;
  font-weight: 900;
  letter-spacing: 12px;
  color: var(--text-primary);
  opacity: 0.06;
  pointer-events: none;
  z-index: 999;
  user-select: none;
  text-align: center;
  white-space: nowrap;
}

/* Category Filter Tabs */
.main-content {
  padding-top: 120px;
  padding-bottom: 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-title-wrap h2 {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title-wrap p {
  color: var(--text-secondary);
  font-size: 16px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  list-style: none;
}

.filter-tab {
  padding: 10px 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tab:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.filter-tab.active {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.25);
}

/* Content Layout (Grid + Simulated Map) */
.content-grid-wrapper {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Property Card */
.property-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-light);
}

[data-theme="dark"] .property-card:hover {
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

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

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fav-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all var(--transition-fast);
}

.fav-btn:hover {
  transform: scale(1.1);
}

.fav-btn.active {
  color: var(--danger);
  background-color: white;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-rating svg {
  fill: #fbbf24;
  color: #fbbf24;
}

.card-rating span {
  color: var(--text-secondary);
  font-weight: 400;
}

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

.card-price {
  font-size: 14px;
  color: var(--text-secondary);
}

.card-price .price-num {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-price .price-num span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.card-btn {
  background-color: var(--accent-light);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.property-card:hover .card-btn {
  background-color: var(--accent-primary);
  color: white;
}

/* Simulated Map Container */
.map-container {
  position: sticky;
  top: 100px;
  height: 600px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.map-mock {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #cbd5e1; /* Default terrain */
  background-size: cover;
  background-image: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)), radial-gradient(circle at 50% 50%, #e2e8f0 10%, #cbd5e1 90%);
}

[data-theme="dark"] .map-mock {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), radial-gradient(circle at 50% 50%, #1e293b 10%, #0f172a 90%);
}

/* Styled roads & rivers in Map Mock */
.map-river {
  position: absolute;
  top: 40%;
  left: -20%;
  width: 140%;
  height: 40px;
  background: linear-gradient(to bottom, #93c5fd, #60a5fa);
  transform: rotate(-15deg);
  opacity: 0.5;
  filter: blur(2px);
}
[data-theme="dark"] .map-river {
  background: linear-gradient(to bottom, #1e3a8a, #1d4ed8);
  opacity: 0.3;
}

.map-road {
  position: absolute;
  background-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 2px rgba(0,0,0,0.05);
}
[data-theme="dark"] .map-road {
  background-color: rgba(255,255,255,0.08);
}

.road-h {
  width: 100%;
  height: 8px;
  top: 30%;
}
.road-h-2 {
  width: 100%;
  height: 8px;
  top: 75%;
}
.road-v {
  width: 8px;
  height: 100%;
  left: 45%;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-label {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pin-icon {
  width: 18px;
  height: 18px;
  background-color: var(--accent-primary);
  border: 3px solid white;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin-top: 2px;
  transition: all var(--transition-fast);
}
[data-theme="dark"] .pin-icon {
  border-color: var(--bg-secondary);
}

.map-pin:hover, .map-pin.active {
  z-index: 20;
}

.map-pin:hover .pin-label, .map-pin.active .pin-label {
  background-color: var(--accent-primary);
  color: white;
  transform: translateY(-2px) scale(1.05);
}

.map-pin:hover .pin-icon, .map-pin.active .pin-icon {
  background-color: #fbbf24;
  transform: scale(1.2);
}

/* Wishlist Drawers & Side panels */
.drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  z-index: 1100;
  background-color: var(--bg-secondary);
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-color);
}

.drawer.open {
  right: 0;
}

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

.drawer-header h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
}

.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background-color: var(--bg-tertiary);
  transform: rotate(90deg);
}

.drawer-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

/* Wishlist Item */
.wish-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  background-color: var(--bg-tertiary);
  padding: 12px;
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-fast);
}

.wish-item:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.wish-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.wish-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wish-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.wish-item-price {
  font-size: 13px;
  color: var(--text-secondary);
}

.wish-item-price span {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-primary);
}

.wish-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.wish-remove-btn:hover {
  color: var(--danger);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-secondary);
  text-align: center;
}

.empty-state svg {
  margin-bottom: 16px;
  color: var(--text-tertiary);
}

/* Detail Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1200;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 24px;
}

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

.modal-container {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transform: translateY(40px) scale(0.95);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.modal-header-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.modal-close-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.6);
  color: white;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: rgba(15, 23, 42, 0.85);
  transform: rotate(90deg);
}

.modal-body {
  overflow-y: auto;
  flex-grow: 1;
}

.modal-banner {
  height: 360px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.modal-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 32px;
  padding: 32px;
}

.modal-info-panel h2 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-meta-item svg {
  color: var(--text-tertiary);
}

.modal-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.modal-amenities h3, .modal-reviews h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.amenity-item svg {
  color: var(--accent-primary);
}

/* Simulated Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  background-color: var(--bg-tertiary);
  padding: 16px;
  border-radius: var(--radius-md);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-user {
  font-size: 14px;
  font-weight: 600;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #fbbf24;
  font-size: 12px;
}

.review-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Booking Widget Panel */
.booking-widget-wrap {
  position: sticky;
  top: 0;
}

.booking-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.widget-price-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.widget-price-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.widget-price {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.widget-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.widget-step-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Multi-step form animation */
.widget-step-pane {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.widget-step-pane.active {
  display: block;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-light);
  background-color: var(--bg-secondary);
}

.booking-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  font-size: 14px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.summary-item.total {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
}

.widget-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: all var(--transition-fast);
  margin-top: 8px;
}

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

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

.widget-btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

/* Success Lottie-like CSS animation */
.success-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  text-align: center;
}

.checkmark-circle {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--success-light);
  border: 3px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--success);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.checkmark-circle svg {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheckmark 0.5s 0.3s ease-out forwards;
}

.success-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  font-size: 14px;
  font-weight: 500;
  color: white;
  min-width: 300px;
  transform: translateY(20px);
  opacity: 0;
  animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: all var(--transition-fast);
}

.toast-info {
  background-color: var(--accent-primary);
  border-left: 4px solid #a855f7;
}

.toast-success {
  background-color: var(--success);
  border-left: 4px solid #34d399;
}

.toast-error {
  background-color: var(--danger);
  border-left: 4px solid #f87171;
}

/* Booking History Panel inside Dashboard / Drawer */
.booking-card {
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-fast);
}

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

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.booking-id {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.booking-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-active {
  background-color: var(--success-light);
  color: var(--success);
}

.status-cancelled {
  background-color: var(--danger-light);
  color: var(--danger);
}

.booking-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.booking-dates {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.booking-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.booking-cancel-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--danger);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.booking-cancel-btn:hover {
  background-color: var(--danger-light);
  border-color: var(--danger);
}

/* Footer Section */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 16px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drawCheckmark {
  to {
    stroke-dashoffset: 0;
  }
}

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

/* Responsive design adjustments */
@media (max-width: 1024px) {
  .content-grid-wrapper {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 400px;
    position: static;
    order: -1;
  }
  
  .hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .search-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 12px;
  }
  
  .nav-links {
    display: none; /* simple hidden mobile nav for simplicity, actions kept */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-banner {
    height: 200px;
  }
  
  .drawer {
    width: 100%;
    right: -100%;
  }
}
