/* Dark Mode Styles */
.dark body {
  background-color: #111827 !important;
  color: #f3f4f6 !important;
}

/* Hero section dark mode */
.dark .hero-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("http://static.photos/cityscape/1200x630/123") center/cover no-repeat !important;
}

.dark .search-form {
  background: rgba(31, 41, 55, 0.95) !important;
  border: 1px solid rgba(75, 85, 99, 0.3) !important;
}

.dark .search-form select {
  background-color: #374151 !important;
  color: #f3f4f6 !important;
  border-color: #4b5563 !important;
}

.dark .search-form select:focus {
  border-color: #f59e0b !important;
  outline: none;
}

.dark .search-form option {
  background-color: #374151 !important;
  color: #f3f4f6 !important;
}

.dark .property-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2) !important;
}

/* Dark mode toggle button in dark mode */
.dark .dark-mode-toggle {
  background: #fbbf24 !important;
  color: #1f2937 !important;
}

.dark .dark-mode-toggle:hover {
  background: #f59e0b !important;
}

/* Dark mode header */
.dark header {
  background-color: #1f2937 !important;
  color: #f3f4f6 !important;
}

.dark .nav-link {
  color: #d1d5db !important;
}

.dark .nav-link:hover {
  color: #f59e0b;
}

.dark .nav-link.active {
  color: #f59e0b;
}

/* Dark mode sections */
.dark .section-bg-white {
  background-color: #111827;
}

.dark .section-bg-gray {
  background-color: #1f2937;
}

.dark .text-primary {
  color: white;
}

.dark .text-secondary {
  color: #d1d5db;
}

/* Dark mode cards */
.dark .card {
  background-color: #1f2937;
  border: 1px solid #374151;
}

.dark .btn-primary {
  background-color: #f59e0b;
  color: white;
}

.dark .btn-primary:hover {
  background-color: #d97706;
}

.dark .icon-bg {
  background-color: #1e3a8a;
}

.dark .icon-color {
  color: #f59e0b;
}

/* Dark mode footer */
.dark .footer {
  background-color: #030712;
}

.dark .footer-text {
  color: #d1d5db;
}

.dark .footer-text:hover {
  color: white;
}

/* Dark mode contact form */
.dark .contact-form {
  background-color: #1e40af !important;
}

.dark .contact-input {
  background-color: #1d4ed8 !important;
  border-color: #1e40af !important;
  color: white !important;
}

.dark .contact-input::placeholder {
  color: #93c5fd !important;
}

.dark .contact-input:focus {
  border-color: white !important;
}

.dark .contact-btn {
  background-color: #f3f4f6 !important;
  color: #1e40af !important;
}

.dark .contact-btn:hover {
  background-color: #e5e7eb !important;
}

/* Dark mode cookie consent */
.dark .cookie-consent {
  background-color: #1f2937 !important;
  color: #f3f4f6 !important;
}

.dark .cookie-btn-decline {
  background-color: #4b5563 !important;
  color: #e5e7eb !important;
}

.dark .cookie-btn-decline:hover {
  background-color: #6b7280 !important;
}

.dark .cookie-btn-accept {
  background-color: #f59e0b !important;
  color: white !important;
}

.dark .cookie-btn-accept:hover {
  background-color: #d97706 !important;
}

/* Property cards dark mode */
.dark .property-card {
  background-color: #1f2937 !important;
  border-color: #374151 !important;
}

.dark .property-card h3,
.dark .property-card .font-bold {
  color: white !important;
}

.dark .property-card .text-gray-600 {
  color: #d1d5db !important;
}

.dark .property-card .text-blue-600 {
  color: #f59e0b !important;
}

.dark .property-card button {
  color: #f59e0b !important;
}

.dark .property-card button:hover {
  color: #d97706 !important;
}

/* Badge colors dark mode */
.dark .bg-green-100 {
  background-color: #14532d !important;
}

.dark .text-green-800 {
  color: #86efac !important;
}

.dark .bg-blue-100 {
  background-color: #1e3a8a !important;
}

.dark .text-blue-800 {
  color: #93c5fd !important;
}

/* Ensure all text elements are properly styled */
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: white !important;
}

.dark p,
.dark span,
.dark li {
  color: #d1d5db !important;
}

/* Make sure buttons maintain proper styling */
.dark button {
  transition: all 0.3s ease !important;
}

/* Fix any remaining elements */
.dark .text-gray-900 {
  color: white !important;
}

.dark .text-gray-700 {
  color: #d1d5db !important;
}

.dark .text-gray-600 {
  color: #d1d5db !important;
}

/* Icon containers */
.dark .icon-bg,
.dark .bg-blue-100 {
  background-color: #92400e !important;
}

.dark .icon-color,
.dark .text-blue-600 {
  color: #f59e0b !important;
}

/* Section backgrounds */
.dark .bg-gray-50 {
  background-color: #1f2937 !important;
}

.dark .bg-white {
  background-color: #111827 !important;
}

/* Privacy policy specific styles */
.dark .privacy-content {
  background-color: #1f2937;
  color: #d1d5db;
}

.dark .privacy-content h1,
.dark .privacy-content h2 {
  color: white;
}

.dark .privacy-content p,
.dark .privacy-content li {
  color: #d1d5db;
}

.dark .privacy-content a {
  color: #f59e0b;
}

.dark .privacy-content a:hover {
  color: #d97706;
}
