/* Level Estates — Custom Styles */

/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; color: #1E293B; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.nav-link {
  position: relative; color: #475569; font-weight: 500; font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #0891B2; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: #0891B2; transition: width 0.2s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0E7490 0%, #0891B2 40%, #06B6D4 70%, #22D3EE 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 20 30 30 T60 30' stroke='rgba(255,255,255,0.08)' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}
.hero-content { position: relative; z-index: 1; text-align: center; color: white; }

/* ===== Buttons ===== */
.btn-primary {
  background: #0891B2; color: white; padding: 0.75rem 2rem; border-radius: 8px;
  font-weight: 600; transition: all 0.2s; display: inline-block;
  box-shadow: 0 4px 14px rgba(8,145,178,0.3);
}
.btn-primary:hover {
  background: #0E7490; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8,145,178,0.4);
}
.btn-outline {
  border: 2px solid white; color: white; padding: 0.75rem 2rem; border-radius: 8px;
  font-weight: 600; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: white; color: #0891B2; }
.btn-gold {
  background: #D4A853; color: white; padding: 0.5rem 1.5rem; border-radius: 6px;
  font-weight: 600; transition: all 0.2s; font-size: 0.875rem;
}
.btn-gold:hover { background: #C49A48; transform: translateY(-1px); }

/* ===== Section ===== */
.section-title {
  font-size: 2.25rem; font-weight: 700; color: #1E293B; margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1.1rem; color: #64748B; max-width: 600px; margin: 0 auto 3rem;
}

/* ===== Property Cards ===== */
.property-card {
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.property-image {
  width: 100%; height: 220px; object-fit: cover;
  background: linear-gradient(135deg, #0891B2 0%, #22D3EE 100%);
}
.property-badge {
  position: absolute; top: 12px; left: 12px;
  background: #D4A853; color: white; padding: 4px 12px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.property-price {
  font-size: 1.5rem; font-weight: 700; color: #0891B2;
}
.property-meta {
  display: flex; gap: 1rem; color: #64748B; font-size: 0.875rem;
}
.property-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== Filters ===== */
.filter-btn {
  padding: 0.5rem 1.25rem; border-radius: 20px; font-size: 0.875rem;
  font-weight: 500; border: 1px solid #E2E8F0; color: #64748B;
  transition: all 0.2s; cursor: pointer; background: white;
}
.filter-btn:hover { border-color: #0891B2; color: #0891B2; }
.filter-btn.active {
  background: #0891B2; color: white; border-color: #0891B2;
}

/* ===== Counter ===== */
.counter-number {
  font-size: 2.5rem; font-weight: 800; color: #0891B2;
}

/* ===== Testimonial ===== */
.testimonial-card {
  background: white; border-radius: 12px; padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid #0891B2;
}

/* ===== Contact Form ===== */
.form-input {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid #E2E8F0;
  border-radius: 8px; font-size: 0.95rem; transition: border-color 0.2s;
  background: white;
}
.form-input:focus {
  outline: none; border-color: #0891B2;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}
.form-label {
  font-size: 0.875rem; font-weight: 600; color: #475569; margin-bottom: 0.25rem;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: white; border-radius: 16px; padding: 2rem;
  max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== WhatsApp Fab ===== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* ===== Footer ===== */
.footer {
  background: #0F172A; color: #94A3B8;
}
.footer a { color: #94A3B8; transition: color 0.2s; }
.footer a:hover { color: #0891B2; }

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(255,255,255,0.98);
  z-index: 60; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  backdrop-filter: blur(8px);
}
.mobile-menu.active { display: flex; }
.mobile-menu .nav-link { font-size: 1.25rem; }

/* ===== Burger ===== */
.burger { display: none; cursor: pointer; }
.burger span {
  display: block; width: 24px; height: 2px; background: #1E293B;
  margin: 6px 0; transition: all 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== Services ===== */
.service-card {
  background: white; border-radius: 12px; padding: 2rem;
  text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #0891B2, #22D3EE);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: white; font-size: 1.5rem;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .burger { display: block; }
  .desktop-nav { display: none; }
  .section-title { font-size: 1.75rem; }
  .hero { min-height: 80vh; }
  .property-image { height: 180px; }
  .counter-number { font-size: 2rem; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .btn-primary, .btn-outline { padding: 0.625rem 1.5rem; font-size: 0.9rem; }
}
