/* HOABL Properties - Real Estate Website */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #0b628e;
    --primary-dark: #084a6b;
    --min-vh-hero: 75vh;
    --bs-primary: #0b628e;
    --bs-primary-rgb: 11, 98, 142;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #212529;
}

/* Navbar */
.navbar-brand {
    font-size: 1.35rem;
}
.nav-link {
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}
/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-item:hover {
    background-color: rgba(11, 98, 142, 0.08);
    color: var(--primary);
}

/* Hero */
.hero-section {
    min-height: var(--min-vh-hero);
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../images/banner.jpg') center/cover no-repeat;
    background-color: #1a1a1a;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.35) 100%);
}
.hero-section .hero-content {
    z-index: 2;
}
.min-vh-75 {
    min-height: var(--min-vh-hero);
}

/* Page hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Cards */
.property-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 0.5rem;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}
.property-img-wrap {
    height: 220px;
    overflow: hidden;
}
.property-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.property-card:hover .property-img {
    transform: scale(1.05);
}
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Footer CTA Strip */
.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Footer */
.footer {
    background: #1a1d29;
    color: #fff;
}
.footer-brand {
    color: #fff;
    transition: opacity 0.2s;
}
.footer-brand:hover {
    color: #fff;
    opacity: 0.9;
}
.footer-brand-icon {
    width: 44px;
    height: 44px;
    background: rgba(11, 98, 142, 0.2);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.1rem;
}
.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}
.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.footer-contact-item:hover {
    color: #fff !important;
}
.footer-contact-item:hover .footer-contact-icon {
    background: rgba(11, 98, 142, 0.25);
}
.footer-heading {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-link:hover {
    color: var(--primary);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-primary {
    font-weight: 600;
}
.btn-outline-primary:hover {
    transform: translateY(-1px);
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    opacity: 0.7;
}

/* Form */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(11, 98, 142, 0.25);
}

/* Contact page map */
.contact-map-wrap {
    position: relative;
    width: 100%;
    min-height: 380px;
    height: 100%;
}
.contact-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

/* Utility */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 60vh;
    }
    .min-vh-75 {
        min-height: 60vh;
    }
}
