/* ═══════════════════════════════════════════
   TAMMY HOWELL — REAL ESTATE WEBSITE STYLES
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; }

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #022c22 0%, #047857 40%, #065f46 70%, #022c22 100%);
}

/* ── Geometric Shapes ── */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.geo-circle-1 {
  width: 420px; height: 420px;
  border-radius: 50%;
  background: #34d399;
  top: -80px; left: -120px;
  animation: float-slow 18s ease-in-out infinite;
}

.geo-circle-2 {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: #6ee7b7;
  bottom: 10%; right: -40px;
  animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: #a7f3d0;
  top: 30%; right: 15%;
  animation: float-slow 10s ease-in-out infinite;
}

.geo-square-1 {
  width: 120px; height: 120px;
  background: #34d399;
  bottom: 20%; left: 8%;
  transform: rotate(45deg);
  animation: float-slow 16s ease-in-out infinite;
}

.geo-square-2 {
  width: 80px; height: 80px;
  background: #6ee7b7;
  top: 15%; right: 8%;
  transform: rotate(20deg);
  animation: float-slow 12s ease-in-out infinite reverse;
}

.geo-triangle-1 {
  width: 0; height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid #a7f3d0;
  top: 60%; left: 15%;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-dots {
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  bottom: 5%; left: 40%;
  opacity: 0.5;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(3deg); }
  66% { transform: translateY(10px) rotate(-2deg); }
}

/* ── Hero Badge ── */
.hero-badge {
  animation: fade-in-up 0.8s ease-out both;
}

.hero-highlight {
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat {
  animation: fade-in-up 0.8s ease-out both;
}
.hero-stat:nth-child(1) { animation-delay: 0.3s; }
.hero-stat:nth-child(2) { animation-delay: 0.45s; }
.hero-stat:nth-child(3) { animation-delay: 0.6s; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #047857, #065f46);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.4);
  background: linear-gradient(135deg, #065f46, #047857);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 0.75rem;
  padding: 0.8125rem 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Navigation ── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #047857;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-logo-text {
  transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text { color: #022c22; }
#navbar.scrolled .nav-link { color: #374151; }
#navbar.scrolled {
  background: rgba(255, 252, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* ── Mobile Menu ── */
.mobile-link {
  transition: all 0.3s ease;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Service Cards ── */
.service-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.4s ease;
}
.service-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-6px);
}
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7b7;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

/* ── Area Cards ── */
.area-card {
  perspective: 800px;
}
.area-card-inner {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  cursor: default;
}
.area-card:hover .area-card-inner {
  border-color: #047857;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(4, 120, 87, 0.15);
}
.area-emoji {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Testimonial Cards ── */
.testimonial-card {
  transition: transform 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
}

/* ── Input Fields ── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #1f2937;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}
.input-field:focus {
  border-color: #047857;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.1);
}
.input-field::placeholder { color: #9ca3af; }
.input-field:hover { border-color: #9ca3af; }

select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ── Reveal Animations ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Keyframes ── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .geo-circle-1 { width: 260px; height: 260px; }
  .geo-circle-2 { width: 160px; height: 160px; }
  .geo-square-1 { width: 80px; height: 80px; }
  .geo-triangle-1 { border-left-width: 50px; border-right-width: 50px; border-bottom-width: 86px; }
}
