/* Reset Vite defaults */
*, *::before, *::after { box-sizing: border-box; }

:root {
  font-family: 'Segoe UI', Inter, system-ui, sans-serif;
  color-scheme: light;
  color: #1a1a2e;
  background-color: #ffffff;
}

body {
  margin: 0;
  display: block;
  min-width: 320px;
  min-height: 100vh;
}

a { text-decoration: none; }

/* ── NAVBAR ── */
.navbar { padding: 12px 0; }

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.68rem;
  color: #6c757d;
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: #333;
  font-size: 0.92rem;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover { color: #0d6efd; }
.navbar-nav .nav-link.active { color: #0d6efd !important; }

/* ── HERO ── */
.hero-section {
  position: relative;
  min-height: 300px;
  background: url('')
    center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,20,60,0.82) 0%, rgba(10,25,70,0.55) 60%, rgba(10,25,70,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── SEARCH BOX ── */
.search-box {
  max-width: 900px;
}

.search-select {
  border: none;
  border-bottom: 2px solid #dee2e6 !important;
  border-radius: 0 !important;
  padding-left: 2px;
  font-weight: 500;
  font-size: 0.92rem;
  color: #333;
  box-shadow: none !important;
  background-color: transparent;
}
.search-select:focus {
  border-bottom-color: #0d6efd !important;
}

.search-btn {
  border-radius: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

/* ── SECTION ── */
.section-light { background-color: #f4f6fb; }

.section-title {
  font-size: 2rem;
  color: #1a1a2e;
}

.title-underline {
  width: 50px;
  height: 3px;
  background: #198754;
  border-radius: 2px;
}

/* ── PROPERTY CARD ── */
.prop-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: visible;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  padding-top: 32px;
}

.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.prop-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  border: 3px solid #fff;
}

.prop-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.prop-body {
  padding: 16px 16px 20px;
  text-align: center;
}

.prop-body h5 {
  font-size: 1.05rem;
  color: #1a1a2e;
}

.prop-btn {
  border-width: 1.5px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 7px 0;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.prop-btn:hover {
  opacity: 0.88;
  filter: brightness(0.95);
  background: rgba(0,0,0,0.04);
}

/* ── FOOTER ── */
.footer-section {
  background: linear-gradient(135deg, #0d1f3c 0%, #1a2d4a 100%);
  color: rgba(255,255,255,0.8);
  padding-top: 60px;
  padding-bottom: 30px;
  margin-top: 80px;
}

.logo-icon-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer-text {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-heading {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-links { padding: 0; }
.footer-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
  padding: 0.4rem 0;
}
.footer-link:hover {
  color: #0d6efd;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #0d6efd;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
}
.social-link:hover {
  background: #0d6efd;
  color: #fff;
}

.newsletter-input {
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 4px 0 0 4px;
}
.newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}
.newsletter-input:focus {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #0d6efd;
  box-shadow: none;
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero-title { font-size: 2rem; }
  .hero-section { min-height: 420px; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.6rem; }
  .search-box { padding: 1rem !important; }
  .footer-badges { justify-content: center; }
  .col-md-6.text-md-end { text-align: center !important; margin-top: 1rem; }
}
