/* Goljano Somaliland — Blue, Charcoal, White, Beige & Emerald Design */

:root {
  --blue-900: #0f2a4a;
  --blue-800: #163760;
  --blue-700: #1d4878;
  --blue-600: #1e5fa0;
  --blue-500: #2272c3;
  --blue-400: #4a90d9;
  --charcoal: #2b2d35;
  --charcoal-light: #3d4048;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #34d399;
  --beige: #f5f0e8;
  --beige-dark: #ede6d8;
  --warm-white: #fafaf8;
}

/* Navigation */
#main-nav {
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
#main-nav.scrolled {
  background-color: rgba(15, 42, 74, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(34, 114, 195, 0.2);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--emerald);
  transition: width 0.3s ease;
}
.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }

/* Filter inputs */
.filter-select, .filter-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #e5e0d8;
  outline: none;
  transition: border-color 0.2s;
}
.filter-select:focus, .filter-input:focus { border-color: var(--emerald); }

/* Form inputs */
.form-input {
  display: block;
  border: 1.5px solid #e2ddd6;
  border-radius: 4px;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(34, 114, 195, 0.1);
}

/* Property card hover */
.property-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,42,74,0.12);
}

/* Animations */
@keyframes slide-in {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-slide-in { animation: slide-in 0.3s ease-out; }
.line-clamp-1 { overflow:hidden; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; }
.line-clamp-2 { overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(34,114,195,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }
