.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.hero-gradient {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #0f172a;
}

/* Navigation */
.nav-link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #505f76;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #000000;
}

.nav-link.active {
  color: #000000;
  border-bottom: 2px solid #000000;
  padding-bottom: 4px;
}

.mobile-nav-link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #505f76;
  padding: 12px 0;
  border-bottom: 1px solid #c6c6cd;
  transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #000000;
}

#mobile-menu {
  visibility: hidden;
}

#mobile-menu.open {
  visibility: visible;
  transform: translateX(0);
}

#mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

#mobile-menu-backdrop {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Global map section */
.global-map-section {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  padding-bottom: 220px;
}

@media (min-width: 768px) {
  .global-map-section {
    min-height: 600px;
    padding-bottom: 200px;
  }
}

.global-map-bg {
  position: absolute;
  inset: 0;
  background-color: #e6e8ea;
}

.global-map-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: filter 0.7s;
}

.global-map-section:hover .global-map-bg img {
  filter: grayscale(0%);
}

.map-hub-marker {
  position: absolute;
  pointer-events: auto;
}

.map-hub-dot {
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .map-hub-dot {
    width: 16px;
    height: 16px;
  }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Scroll reveal (about page) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Contact form */
.form-input-focus:focus {
  border-bottom-width: 2px;
  outline: none;
}

.luxury-gradient {
  background: linear-gradient(135deg, #f7f9fb 0%, #eceef0 100%);
}

/* Listings filters */
input[type='range']::-webkit-slider-runnable-track {
  background: #e2e8f0;
  height: 2px;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  background: #0f172a;
  margin-top: -7px;
  border-radius: 0;
  cursor: pointer;
}

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

.transition-transform-slow {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card.hidden-by-filter {
  display: none;
}

/* Legal page */
.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.legal-content p {
  margin-bottom: 20px;
  color: #45464d;
}

.legal-content ol {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}

.legal-content ol > li {
  display: flex;
  margin-bottom: 16px;
  color: #45464d;
}

.legal-content ol > li::before {
  content: counter(item) '. ';
  counter-increment: item;
  font-weight: 700;
  margin-right: 12px;
  color: #0f172a;
  min-width: 24px;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  z-index: 100;
  padding: 16px 24px;
  background: #131b2e;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transform: translateY(120%);
  transition: transform 0.3s ease;
  max-width: 400px;
  margin-left: auto;
}

.toast.show {
  transform: translateY(0);
}

.toast.error {
  background: #ba1a1a;
}

/* Form success state */
.form-success-message {
  display: none;
  padding: 24px;
  background: #eceef0;
  border-left: 4px solid #000;
  text-align: center;
}

.form-success-message.show {
  display: block;
}

/* Listings mobile filter toggle */
#filter-toggle.open .filter-chevron {
  transform: rotate(180deg);
}

.filter-chevron {
  transition: transform 0.2s;
}

#listings-sidebar.collapsed {
  display: none;
}

@media (min-width: 1024px) {
  #listings-sidebar.collapsed {
    display: block;
  }
}
