/* 
 * BERLIN IMMOBILIEN - Main Stylesheet
 * Modern, mobile-first real estate website with immersive features
 */

/* ===== VARIABLES ===== */
:root {
  /* Primary Color Palette */
  --primary-turquoise: #0cebeb;
  --primary-blue: #20e3b2;
  --primary-violet: #7873f5;
  --primary-dark: #2d3748;
  --primary-light: #f7fafc;
  
  /* Secondary Colors */
  --secondary-yellow: #ffc107;
  --secondary-red: #e53e3e;
  --secondary-green: #38a169;
  
  /* Neutral Colors */
  --neutral-100: #f7fafc;
  --neutral-200: #edf2f7;
  --neutral-300: #e2e8f0;
  --neutral-400: #cbd5e0;
  --neutral-500: #a0aec0;
  --neutral-600: #718096;
  --neutral-700: #4a5568;
  --neutral-800: #2d3748;
  --neutral-900: #1a202c;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-turquoise), var(--primary-violet));
  --gradient-secondary: linear-gradient(135deg, var(--primary-blue), var(--primary-violet));
  --gradient-dark: linear-gradient(135deg, var(--neutral-800), var(--neutral-900));
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-background: -10;
  --z-normal: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 1000;
  --z-modal: 2000;
  --z-popover: 5000;
  --z-tooltip: 9000;
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: var(--line-height-base);
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-violet);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-turquoise);
}

button, .btn {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 2rem;
  }
  
  h4 {
    font-size: 1.75rem;
  }
  
  h5 {
    font-size: 1.5rem;
  }
  
  h6 {
    font-size: 1.25rem;
  }
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1 0 0%;
  padding: 0 1rem;
}

/* Responsive columns */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 100%; max-width: 100%; }
.col-4 { flex: 0 0 100%; max-width: 100%; }
.col-3 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

@media (min-width: 992px) {
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
}

/* Spacing utilities */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.px-1 { padding-left: var(--spacing-xs); padding-right: var(--spacing-xs); }
.px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-5 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

/* ===== COMPONENTS ===== */

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: var(--z-normal);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: white;
}

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

.btn-outline:hover {
  background: var(--primary-violet);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
}

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

.card-img-container {
  position: relative;
  overflow: hidden;
  padding-top: 66.67%; /* 3:2 aspect ratio */
}

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

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

.card-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.card-body {
  padding: var(--spacing-lg);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--neutral-600);
  margin-bottom: var(--spacing-md);
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-violet);
  margin-bottom: var(--spacing-sm);
}

.card-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.card-detail {
  display: flex;
  align-items: center;
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.card-detail i {
  margin-right: var(--spacing-xs);
  color: var(--primary-turquoise);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--neutral-100);
  border-top: 1px solid var(--neutral-200);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--neutral-700);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-800);
  background-color: white;
  background-clip: padding-box;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-violet);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(120, 115, 245, 0.25);
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-800);
  background-color: white;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234a5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  appearance: none;
}

.form-select:focus {
  border-color: var(--primary-violet);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(120, 115, 245, 0.25);
}

.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.75rem;
  margin-bottom: var(--spacing-sm);
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  margin-left: -1.75rem;
  background-color: white;
  border: 1px solid var(--neutral-400);
  border-radius: var(--radius-sm);
  appearance: none;
}

.form-check-input:checked {
  background-color: var(--primary-violet);
  border-color: var(--primary-violet);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8l2 2 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.75rem;
}

.form-check-label {
  color: var(--neutral-700);
}

/* Range slider */
.range-slider {
  width: 100%;
  margin: var(--spacing-md) 0;
}

.range-slider-container {
  position: relative;
  height: 2rem;
}

.range-slider-rail {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--neutral-300);
  border-radius: var(--radius-full);
  top: 50%;
  transform: translateY(-50%);
}

.range-slider-track {
  position: absolute;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  top: 50%;
  transform: translateY(-50%);
}

.range-slider-handle {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  background: white;
  border: 2px solid var(--primary-violet);
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.range-slider-handle:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%) scale(1.1);
}

.range-slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--neutral-600);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--radius-full);
  color: white;
}

.badge-primary {
  background: var(--gradient-primary);
}

.badge-secondary {
  background: var(--gradient-secondary);
}

.badge-success {
  background-color: var(--secondary-green);
}

.badge-warning {
  background-color: var(--secondary-yellow);
  color: var(--neutral-800);
}

.badge-danger {
  background-color: var(--secondary-red);
}

/* Alerts */
.alert {
  position: relative;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
}

.alert-primary {
  color: var(--primary-violet);
  background-color: rgba(120, 115, 245, 0.1);
  border-color: rgba(120, 115, 245, 0.2);
}

.alert-success {
  color: var(--secondary-green);
  background-color: rgba(56, 161, 105, 0.1);
  border-color: rgba(56, 161, 105, 0.2);
}

.alert-warning {
  color: var(--neutral-800);
  background-color: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.2);
}

.alert-danger {
  color: var(--secondary-red);
  background-color: rgba(229, 62, 62, 0.1);
  border-color: rgba(229, 62, 62, 0.2);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.5rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-violet);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 2.5rem;
  margin-right: var(--spacing-sm);
}

.navbar-toggler {
  display: block;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  cursor: pointer;
  z-index: var(--z-dropdown);
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary-violet);
  border-radius: var(--radius-full);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition-fast);
}

.navbar-toggler span:nth-child(1) {
  top: 0;
}

.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) {
  top: 0.75rem;
}

.navbar-toggler span:nth-child(4) {
  top: 1.5rem;
}

.navbar-toggler.active span:nth-child(1) {
  top: 0.75rem;
  width: 0%;
  left: 50%;
}

.navbar-toggler.active span:nth-child(2) {
  transform: rotate(45deg);
}

.navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.navbar-toggler.active span:nth-child(4) {
  top: 0.75rem;
  width: 0%;
  left: 50%;
}

.navbar-collapse {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  padding-top: 5rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: var(--z-dropdown);
  overflow-y: auto;
}

.navbar-collapse.show {
  transform: translateX(0);
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: var(--spacing-sm);
}

.nav-link {
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  color: var(--neutral-800);
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-violet);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
  border-top: 0.3rem solid;
  border-right: 0.3rem solid transparent;
  border-bottom: 0;
  border-left: 0.3rem solid transparent;
}

.dropdown-menu {
  display: none;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.dropdown-item:hover {
  color: var(--primary-violet);
  background-color: var(--neutral-100);
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }
  
  .navbar-collapse {
    position: static;
    padding-top: 0;
    transform: none;
    background-color: transparent;
    overflow-y: visible;
  }
  
  .navbar-nav {
    display: flex;
    align-items: center;
  }
  
  .nav-item {
    margin-bottom: 0;
    margin-left: var(--spacing-lg);
  }
  
  .nav-link {
    padding: 0;
  }
  
  .nav-dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 10rem;
    margin-top: 0.5rem;
    z-index: var(--z-dropdown);
  }
  
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--z-background);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: var(--z-background);
}

.hero-content {
  position: relative;
  z-index: var(--z-normal);
  color: white;
  max-width: 800px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.hero-search {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-xl);
  margin-top: var(--spacing-xl);
}

.hero-search-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-800);
}

.hero-search-tabs {
  display: flex;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--neutral-200);
}

.hero-search-tab {
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.hero-search-tab.active {
  color: var(--primary-violet);
  border-bottom-color: var(--primary-violet);
}

.hero-search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .hero-search-form {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-search-submit {
    grid-column: span 2;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) {
  .hero-search-form {
    grid-template-columns: 1fr 1fr 1fr auto;
  }
  
  .hero-search-submit {
    grid-column: auto;
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--spacing-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--primary-violet);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background-color: white;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.feature-text {
  color: var(--neutral-600);
}

/* ===== PROPERTY LISTINGS ===== */
.properties {
  padding: var(--spacing-xxl) 0;
  background-color: var(--neutral-100);
}

.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  justify-content: center;
}

.property-filter {
  padding: 0.5rem 1rem;
  background-color: white;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.property-filter:hover {
  border-color: var(--primary-violet);
  color: var(--primary-violet);
}

.property-filter.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.property-img-container {
  position: relative;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.property-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.property-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.property-content {
  padding: var(--spacing-lg);
}

.property-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.property-address {
  color: var(--neutral-600);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
}

.property-address i {
  margin-right: var(--spacing-xs);
  color: var(--primary-turquoise);
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-violet);
  margin-bottom: var(--spacing-md);
}

.property-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.property-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.property-feature i {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-turquoise);
  font-size: 1.25rem;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--neutral-200);
}

.property-agent {
  display: flex;
  align-items: center;
}

.property-agent-img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-xs);
}

.property-agent-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.property-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.property-action {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--neutral-100);
  color: var(--neutral-600);
  transition: all var(--transition-fast);
}

.property-action:hover {
  background: var(--gradient-primary);
  color: white;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--spacing-xxl) 0;
  background: var(--gradient-primary);
  color: white;
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-lg) 0;
}

.testimonial-slide {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin: 0 var(--spacing-md);
  text-align: center;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 3rem;
  font-family: Georgia, serif;
  position: absolute;
  opacity: 0.3;
}

.testimonial-quote::before {
  top: -1.5rem;
  left: -1rem;
}

.testimonial-quote::after {
  bottom: -2.5rem;
  right: -1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-author-img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
  border: 3px solid white;
}

.testimonial-author-name {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.testimonial-author-title {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ===== CALL TO ACTION ===== */
.cta {
  padding: var(--spacing-xxl) 0;
  background-color: var(--neutral-900);
  color: white;
  text-align: center;
}

.cta-title {
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-text {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  opacity: 0.8;
}

.cta-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .cta-form {
    flex-direction: row;
  }
  
  .cta-input {
    flex: 1;
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-400);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-logo {
  margin-bottom: var(--spacing-lg);
}

.footer-logo img {
  height: 2.5rem;
}

.footer-title {
  color: white;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  margin-bottom: var(--spacing-sm);
}

.footer-link a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

.footer-link a:hover {
  color: white;
}

.footer-contact {
  margin-bottom: var(--spacing-md);
}

.footer-contact-item {
  display: flex;
  margin-bottom: var(--spacing-sm);
}

.footer-contact-icon {
  margin-right: var(--spacing-sm);
  color: var(--primary-turquoise);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copyright {
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.footer-bottom-link {
  color: var(--neutral-400);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: white;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-copyright {
    margin-bottom: 0;
    text-align: left;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary-violet);
}

.text-secondary {
  color: var(--primary-turquoise);
}

.text-white {
  color: white;
}

.bg-primary {
  background: var(--gradient-primary);
}

.bg-secondary {
  background: var(--gradient-secondary);
}

.bg-dark {
  background-color: var(--neutral-800);
}

.bg-light {
  background-color: var(--neutral-100);
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-circle {
  border-radius: 50%;
}

.shadow {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.overflow-hidden {
  overflow: hidden;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

/* ===== DARK MODE ===== */
.dark-mode {
  --neutral-100: #1a202c;
  --neutral-200: #2d3748;
  --neutral-300: #4a5568;
  --neutral-400: #718096;
  --neutral-500: #a0aec0;
  --neutral-600: #cbd5e0;
  --neutral-700: #e2e8f0;
  --neutral-800: #edf2f7;
  --neutral-900: #f7fafc;
  
  background-color: var(--neutral-100);
  color: var(--neutral-800);
}

.dark-mode .navbar {
  background-color: rgba(26, 32, 44, 0.95);
}

.dark-mode .card,
.dark-mode .feature-card,
.dark-mode .property-card,
.dark-mode .hero-search,
.dark-mode .form-control,
.dark-mode .form-select {
  background-color: var(--neutral-200);
  color: var(--neutral-700);
}

.dark-mode .card-footer,
.dark-mode .property-action {
  background-color: var(--neutral-300);
}

.dark-mode .property-title,
.dark-mode .card-title,
.dark-mode .feature-title,
.dark-mode h1, .dark-mode h2, .dark-mode h3, 
.dark-mode h4, .dark-mode h5, .dark-mode h6 {
  color: var(--neutral-800);
}

.dark-mode .form-label,
.dark-mode .form-check-label {
  color: var(--neutral-600);
}

.dark-mode .navbar-toggler span {
  background-color: var(--neutral-600);
}

.dark-mode .navbar-collapse {
  background-color: var(--neutral-100);
}

.dark-mode .dropdown-menu {
  background-color: var(--neutral-200);
}

.dark-mode .dropdown-item:hover {
  background-color: var(--neutral-300);
}

/* ===== ACCESSIBILITY MODE ===== */
.accessibility-mode {
  --font-size-base: 18px;
  --line-height-base: 1.8;
}

.accessibility-mode .btn,
.accessibility-mode .form-control,
.accessibility-mode .form-select {
  padding: 1rem 1.5rem;
}

.accessibility-mode .navbar-brand,
.accessibility-mode .nav-link,
.accessibility-mode .btn {
  font-weight: 700;
}

.accessibility-mode *:focus {
  outline: 3px solid var(--primary-violet) !important;
  outline-offset: 3px !important;
}

.accessibility-mode .card:hover,
.accessibility-mode .feature-card:hover,
.accessibility-mode .property-card:hover {
  transform: none;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero {
    height: auto;
    min-height: 500px;
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-card,
  .property-card {
    margin-bottom: var(--spacing-lg);
  }
  
  .footer-widget {
    margin-bottom: var(--spacing-lg);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .cta,
  .hero-search,
  .property-actions,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  .property-card,
  .card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .property-img-container {
    height: 200pt;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
  
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
}

/* ===== 3D ELEMENTS & PARALLAX ===== */
.parallax-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  will-change: transform;
}

.parallax-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  z-index: 1;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(12, 235, 235, 0.7), rgba(120, 115, 245, 0.7));
  z-index: 0;
}

.scene {
  position: relative;
  width: 100%;
  height: 300px;
  perspective: 1000px;
  overflow: hidden;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-150px);
  transition: transform 1s;
}

.cube-face {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  border: 2px solid white;
}

.cube-face-front { transform: rotateY(0deg) translateZ(150px); }
.cube-face-back { transform: rotateY(180deg) translateZ(150px); }
.cube-face-right { transform: rotateY(90deg) translateZ(150px); }
.cube-face-left { transform: rotateY(-90deg) translateZ(150px); }
.cube-face-top { transform: rotateX(90deg) translateZ(150px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(150px); }

/* ===== MICRO-ANIMATIONS ===== */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.btn-hover-effect:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.hover-float {
  transition: transform var(--transition-normal);
}

.hover-float:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform var(--transition-normal);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-rotate {
  transition: transform var(--transition-normal);
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-shadow {
  transition: box-shadow var(--transition-normal);
}

.hover-shadow:hover {
  box-shadow: var(--shadow-lg);
}

/* ===== INTERACTIVE MAP STYLES ===== */
.map-container {
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-xl);
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.map-filter {
  padding: 0.5rem 1rem;
  background-color: white;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-filter:hover {
  border-color: var(--primary-violet);
  color: var(--primary-violet);
}

.map-filter.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.map-popup {
  max-width: 300px;
}

.map-popup-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.map-popup-content {
  padding: var(--spacing-md);
}

.map-popup-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.map-popup-address {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-bottom: var(--spacing-sm);
}

.map-popup-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-violet);
  margin-bottom: var(--spacing-sm);
}

.map-popup-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-turquoise);
  text-decoration: underline;
}

/* ===== VIRTUAL TOUR STYLES ===== */
.virtual-tour-container {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-xl);
}

.virtual-tour-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: pointer;
}

.virtual-tour-play {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.virtual-tour-overlay:hover .virtual-tour-play {
  transform: scale(1.1);
}

.virtual-tour-controls {
  position: absolute;
  bottom: var(--spacing-md);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  z-index: 2;
}

.virtual-tour-control {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.virtual-tour-control:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
}

/* ===== CALCULATOR STYLES ===== */
.calculator {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-xl);
}

.calculator-title {
  margin-bottom: var(--spacing-lg);
}

.calculator-result {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
}

.calculator-result-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.calculator-result-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.calculator-breakdown {
  margin-top: var(--spacing-lg);
}

.calculator-breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--neutral-200);
}

.calculator-breakdown-label {
  color: var(--neutral-600);
}

.calculator-breakdown-value {
  font-weight: 600;
}

/* ===== CHATBOT STYLES ===== */
.chatbot {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: var(--z-fixed);
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: none;
}

.chatbot-header {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
}

.chatbot-messages {
  height: 380px;
  padding: var(--spacing-md);
  overflow-y: auto;
}

.chatbot-message {
  margin-bottom: var(--spacing-md);
  max-width: 80%;
}

.chatbot-message-bot {
  background-color: var(--neutral-100);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-right: auto;
}

.chatbot-message-user {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-left: auto;
}

.chatbot-input {
  display: flex;
  padding: var(--spacing-sm);
  border-top: 1px solid var(--neutral-200);
}

.chatbot-input-field {
  flex: 1;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-right: var(--spacing-sm);
}

.chatbot-send {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-md);
  width: 300px;
  z-index: var(--z-popover);
  transform: translateX(calc(100% + var(--spacing-lg)));
  transition: transform var(--transition-normal);
}

.notification.show {
  transform: translateX(0);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.notification-title {
  font-weight: 600;
  margin: 0;
}

.notification-close {
  background: none;
  border: none;
  color: var(--neutral-600);
  cursor: pointer;
  font-size: 1rem;
}

.notification-body {
  margin-bottom: var(--spacing-sm);
}

.notification-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
}

/* ===== AR PREVIEW STYLES ===== */
.ar-preview {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-xl);
}

.ar-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: white;
  text-align: center;
  padding: var(--spacing-lg);
}

.ar-preview-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: white;
}

.ar-preview-text {
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
}

.ar-preview-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.ar-preview-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== AI SEARCH STYLES ===== */
.ai-search {
  position: relative;
}

.ai-search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ai-search-input:focus {
  border-color: var(--primary-violet);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(120, 115, 245, 0.25);
}

.ai-search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-violet);
  font-size: 1.25rem;
  cursor: pointer;
}

.ai-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.ai-search-result {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--neutral-200);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.ai-search-result:hover {
  background-color: var(--neutral-100);
}

.ai-search-result:last-child {
  border-bottom: none;
}

.ai-search-highlight {
  color: var(--primary-violet);
  font-weight: 600;
}

.ai-search-suggestion {
  font-size: 0.875rem;
  color: var(--neutral-600);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--neutral-100);
}

/* ===== LOADING ANIMATIONS ===== */
.loading {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loading div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading div:nth-child(1) {
  left: 8px;
  animation: loading1 0.6s infinite;
}

.loading div:nth-child(2) {
  left: 8px;
  animation: loading2 0.6s infinite;
}

.loading div:nth-child(3) {
  left: 32px;
  animation: loading2 0.6s infinite;
}

.loading div:nth-child(4) {
  left: 56px;
  animation: loading3 0.6s infinite;
}

@keyframes loading1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes loading3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes loading2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-300) 50%, var(--neutral-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== LAZY LOADING ===== */
.lazy-load {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lazy-load.loaded {
  opacity: 1;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PROPERTY DETAIL PAGE ===== */
.property-detail {
  padding: var(--spacing-xxl) 0;
}

.property-detail-header {
  margin-bottom: var(--spacing-xl);
}

.property-detail-title {
  margin-bottom: var(--spacing-xs);
}

.property-detail-address {
  color: var(--neutral-600);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
}

.property-detail-address i {
  margin-right: var(--spacing-xs);
  color: var(--primary-turquoise);
}

.property-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.property-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-violet);
}

.property-detail-id {
  display: flex;
  align-items: center;
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.property-detail-id i {
  margin-right: var(--spacing-xs);
}

.property-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.property-detail-gallery {
  margin-bottom: var(--spacing-xl);
}

.property-detail-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
}

.property-detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-sm);
}

.property-detail-thumbnail {
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.property-detail-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.property-detail-thumbnail:hover img {
  transform: scale(1.05);
}

.property-detail-thumbnail.active {
  border: 2px solid var(--primary-violet);
}

.property-detail-content {
  margin-bottom: var(--spacing-xl);
}

.property-detail-section {
  margin-bottom: var(--spacing-xl);
}

.property-detail-section-title {
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.property-detail-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.property-detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .property-detail-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-detail-feature {
  display: flex;
  align-items: center;
}

.property-detail-feature i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
}

.property-detail-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

@media (min-width: 768px) {
  .property-detail-amenities {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-detail-amenity {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.property-detail-amenity i {
  color: var(--primary-turquoise);
  margin-right: var(--spacing-sm);
}

.property-detail-sidebar {
  position: sticky;
  top: 100px;
}

.property-detail-agent {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.property-detail-agent-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.property-detail-agent-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-md);
}

.property-detail-agent-info {
  flex: 1;
}

.property-detail-agent-name {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.property-detail-agent-title {
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.property-detail-agent-contact {
  margin-bottom: var(--spacing-md);
}

.property-detail-agent-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.property-detail-agent-contact-item i {
  width: 30px;
  color: var(--primary-turquoise);
}

.property-detail-form {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.property-detail-form-title {
  margin-bottom: var(--spacing-md);
}

/* ===== BLOG STYLES ===== */
.blog {
  padding: var(--spacing-xxl) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.blog-img-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.blog-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-content {
  padding: var(--spacing-lg);
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--neutral-600);
}

.blog-meta-item {
  display: flex;
  align-items: center;
  margin-right: var(--spacing-md);
}

.blog-meta-item i {
  margin-right: var(--spacing-xs);
  color: var(--primary-turquoise);
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.blog-excerpt {
  color: var(--neutral-600);
  margin-bottom: var(--spacing-md);
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--neutral-200);
}

.blog-author {
  display: flex;
  align-items: center;
}

.blog-author-img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-xs);
}

.blog-author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.blog-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--neutral-100);
  border-radius: var(--radius-full);
  color: var(--neutral-600);
  transition: all var(--transition-fast);
}

.blog-tag:hover {
  background: var(--gradient-primary);
  color: white;
}

/* ===== BLOG DETAIL PAGE ===== */
.blog-detail {
  padding: var(--spacing-xxl) 0;
}

.blog-detail-header {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.blog-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--neutral-600);
}

.blog-detail-meta-item {
  display: flex;
  align-items: center;
  margin: 0 var(--spacing-md);
}

.blog-detail-meta-item i {
  margin-right: var(--spacing-xs);
  color: var(--primary-turquoise);
}

.blog-detail-title {
  margin-bottom: var(--spacing-md);
}

.blog-detail-subtitle {
  font-size: 1.25rem;
  color: var(--neutral-600);
  max-width: 800px;
  margin: 0 auto;
}

.blog-detail-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-xl);
}

.blog-detail-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.blog-detail-content h2 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.blog-detail-content h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.blog-detail-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.blog-detail-content li {
  margin-bottom: var(--spacing-sm);
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--primary-violet);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  font-style: italic;
  color: var(--neutral-700);
}

.blog-detail-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: var(--spacing-md) 0;
}

.blog-detail-content a {
  color: var(--primary-violet);
  text-decoration: underline;
}

.blog-detail-content a:hover {
  color: var(--primary-turquoise);
}

.blog-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.blog-detail-tag {
  padding: 0.5rem 1rem;
  background-color: var(--neutral-100);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--neutral-700);
  transition: all var(--transition-fast);
}

.blog-detail-tag:hover {
  background: var(--gradient-primary);
  color: white;
}

.blog-detail-share {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.blog-detail-share-title {
  margin-right: var(--spacing-md);
  font-weight: 600;
}

.blog-detail-share-links {
  display: flex;
  gap: var(--spacing-sm);
}

.blog-detail-share-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-100);
  border-radius: 50%;
  color: var(--neutral-700);
  transition: all var(--transition-fast);
}

.blog-detail-share-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
}

.blog-detail-author {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  margin-bottom: var(--spacing-xl);
}

.blog-detail-author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-lg);
}

.blog-detail-author-info {
  flex: 1;
}

.blog-detail-author-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.blog-detail-author-bio {
  color: var(--neutral-600);
  margin-bottom: var(--spacing-md);
}

.blog-detail-author-social {
  display: flex;
  gap: var(--spacing-sm);
}

.blog-detail-author-social-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-100);
  border-radius: 50%;
  color: var(--neutral-700);
  transition: all var(--transition-fast);
}

.blog-detail-author-social-link:hover {
  background: var(--gradient-primary);
  color: white;
}

.blog-detail-related {
  margin-bottom: var(--spacing-xl);
}

.blog-detail-related-title {
  margin-bottom: var(--spacing-lg);
}

.blog-detail-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .blog-detail-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .blog-detail-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-detail-comments {
  margin-bottom: var(--spacing-xl);
}

.blog-detail-comments-title {
  margin-bottom: var(--spacing-lg);
}

.blog-detail-comment {
  display: flex;
  margin-bottom: var(--spacing-lg);
}

.blog-detail-comment-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-md);
}

.blog-detail-comment-content {
  flex: 1;
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
}

.blog-detail-comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.blog-detail-comment-name {
  font-weight: 600;
}

.blog-detail-comment-date {
  font-size: 0.875rem;
  color: var(--neutral-600);
}

.blog-detail-comment-text {
  margin-bottom: var(--spacing-sm);
}

.blog-detail-comment-actions {
  display: flex;
  gap: var(--spacing-md);
}

.blog-detail-comment-action {
  font-size: 0.875rem;
  color: var(--primary-violet);
  cursor: pointer;
}

.blog-detail-comment-action:hover {
  text-decoration: underline;
}

.blog-detail-comment-replies {
  margin-left: 60px;
  margin-top: var(--spacing-md);
}

.blog-detail-comment-form {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-xl);
}

.blog-detail-comment-form-title {
  margin-bottom: var(--spacing-md);
}

/* ===== ADMIN DASHBOARD STYLES ===== */
.admin-dashboard {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  background-color: var(--neutral-800);
  color: white;
  padding: var(--spacing-lg) 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--z-fixed);
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 0 var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.admin-sidebar-logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.admin-sidebar-logo img {
  height: 2rem;
  margin-right: var(--spacing-sm);
}

.admin-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-sidebar-item {
  margin-bottom: var(--spacing-xs);
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  color: var(--neutral-400);
  transition: all var(--transition-fast);
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-sidebar-icon {
  margin-right: var(--spacing-md);
  width: 20px;
  text-align: center;
}

.admin-sidebar-footer {
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-user {
  display: flex;
  align-items: center;
}

.admin-sidebar-user-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--spacing-sm);
}

.admin-sidebar-user-info {
  flex: 1;
}

.admin-sidebar-user-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.admin-sidebar-user-role {
  font-size: 0.75rem;
  color: var(--neutral-500);
}

.admin-content {
  flex: 1;
  margin-left: 250px;
  padding: var(--spacing-lg);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--neutral-200);
}

.admin-title {
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.admin-search {
  position: relative;
  width: 300px;
}

.admin-search-input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.admin-search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--neutral-600);
  cursor: pointer;
}

.admin-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admin-stat-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
}

.admin-stat-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  margin-right: var(--spacing-md);
  font-size: 1.5rem;
}

.admin-stat-content {
  flex: 1;
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.admin-stat-label {
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}

.admin-table th {
  font-weight: 600;
  color: var(--neutral-700);
  background-color: var(--neutral-100);
}

.admin-table tr:hover {
  background-color: var(--neutral-100);
}

.admin-table-actions {
  display: flex;
  gap: var(--spacing-xs);
}

.admin-table-action {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-100);
  border-radius: 50%;
  color: var(--neutral-700);
  transition: all var(--transition-fast);
}

.admin-table-action:hover {
  background: var(--gradient-primary);
  color: white;
}

.admin-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.admin-pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin: 0 var(--spacing-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-pagination-item:hover {
  background-color: var(--neutral-200);
}

.admin-pagination-item.active {
  background: var(--gradient-primary);
  color: white;
}

.admin-form-group {
  margin-bottom: var(--spacing-md);
}

.admin-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.admin-form-col {
  flex: 1 0 100%;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .admin-form-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .admin-form-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .admin-form-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 991px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }
  
  .admin-sidebar.show {
    transform: translateX(0);
  }
  
  .admin-content {
    margin-left: 0;
  }
  
  .admin-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: var(--z-sticky);
    padding-top: var(--spacing-md);
  }
}

@media (max-width: 767px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }
  
  .admin-form-actions {
    flex-direction: column;
  }
  
  .admin-form-actions .btn {
    width: 100%;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .admin-sidebar,
  .admin-header,
  .admin-actions,
  .admin-table-actions,
  .admin-pagination {
    display: none !important;
  }
  
  .admin-content {
    margin-left: 0;
  }
  
  .admin-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.5rem;
  }
}