/* Base & Utilities */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--teal-600, #0d9488);
  border-radius: 1px;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link:hover {
  color: #0d9488;
}

/* Mobile Menu */
#mobile-menu {
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  transition: all 0.15s ease;
}

.mobile-nav-link:hover {
  padding-left: 1rem;
}

/* Header Shadow on Scroll */
header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

/* Property Cards */
.property-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
}

/* Process Steps */
.process-step {
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(to right, #0d9488, transparent);
}

@media (max-width: 1023px) {
  .process-step::after {
    display: none;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Input Error State */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Selection */
::selection {
  background: #0d9488;
  color: white;
}

/* Area Card Hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Print Styles */
@media print {
  header, footer, #contact-form, .property-card:hover {
    break-inside: avoid;
  }
  body {
    color: #000;
    background: #fff;
  }
}
