/* ===== MODERN THEME OVERRIDE ===== */
:root {
  --primary-green: #E01424;
  --accent-green: #E23757;
  --bg-light: #f8fafc;
  --glass: rgba(255, 255, 255, 0.9);
}
/* ===== TOP ANNOUNCEMENT BAR ===== */
.top-announcement {
    background: linear-gradient(90deg, #dc3545, #b02a37);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
}

.announcement-track {
    display: inline-flex;
    align-items: center;
    animation: scroll-left 18s linear infinite;
}

.announcement-track span {
    padding-right: 60px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .top-announcement {
        font-size: 0.8rem;
    }
}
.navbar-brand img{
    height: 80px;
}

body {
  background-color: var(--bg-light);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
}

/* ===== NAVBAR ===== */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 85vh;
  background-image: url('../assets/upeza-home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax scroll */
  clip-path: ellipse(150% 100% at 50% 0%);
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #e2e8f0;
}
.hero p{
    color:#e2e8f0;
}

a{
    cursor: pointer;
}
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* Better mobile performance */
    min-height: 70vh;
  }
}

/* ===== MODERN SEARCH BOX ===== */
.search-card {
  margin-top: -80px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-control, .form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
}

/* ===== PROPERTY CARDS (SLEEK) ===== */
.property-card-modern {
  border: none;
  background: #fff;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.property-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-img-container {
  position: relative;
  overflow: hidden;
}

.img-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--glass);
  backdrop-filter: blur(5px);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-pill {
  color: var(--primary-green);
  font-size: 1.25rem;
  font-weight: 800;
}

/* ===== MODALS ===== */
.modal-content {
  border-radius: 24px;
  border: none;
}

.btn-danger {
  background-color: var(--primary-green);
  border: none;
  border-radius: 12px;
  padding: 10px 24px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: #020617 !important;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}
a {
    cursor: pointer;
}