@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');

:root {
    --client-color-1: #e01323;
    --client-color-2: #383838;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.bg-dark {
    background-color: var(--client-color-1) !important;
}




/* Navbar styling */
.navbar-brand {
    font-weight: 600;
    line-height: 1.2;
}

    .navbar-brand small {
        font-size: 0.7em;
        letter-spacing: 2px;
    }

/* Navigation menu spacing */
.navbar-nav {
    width: 100%;
    justify-content: space-between;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    margin-top: 0;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #495057;
}

/* Desktop hover behavior for dropdowns */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        padding-top: 1rem;
    }

        .navbar-nav .nav-link {
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

    .dropdown-menu {
        background-color: #495057;
        border: none;
        margin-left: 1rem;
    }

    .dropdown-item {
        color: #f8f9fa;
        padding: 0.5rem 1rem;
    }

        .dropdown-item:hover {
            background-color: #6c757d;
            color: #fff;
        }
}

/* Footer styling */
footer h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}

footer p {
    font-size: 0.9rem;
}

footer a {
    text-decoration: none;
}

    footer a:hover {
        text-decoration: underline;
    }

.navbar {
    border-bottom: 4px solid #b00a17;
}
.nav-link {
    color: #fff;
}

.client-color-1 {
    color: var(--client-color-1);
}

.portal-banner {
    border-top: #ecedee solid 4px;
}


/*Property Grid*/
.property-card .ratio > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none; /* remove inline transform if present */
}

.property-card:hover {
    cursor: pointer
}
/* Features (beds / receptions / baths) */
.property-features {
    gap: 1.2rem;
    flex-wrap: wrap;
}

    .property-features li {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        font-weight: 500;
    }


/* Price prominence */
.property-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Optional: make the label look stronger and sit above image */
.property-label {
    z-index: 2;
}

/* Optional: tighten card body spacing */
.property-card .card-body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.property-card .feature-info p {
    margin: .25rem 0 0 0;
    color: var(--bs-secondary);
}

/* Buttons row pinned to bottom of card body */
.property-card .card-body .actions {
    margin-top: auto; /* push actions to bottom */
}

.border-card-left {
    border-left: 4px solid var(--client-color-1);
    padding-left: 10px;
}

.property-card:hover,
.property-card.shadow-sm:hover {
    box-shadow: 0 5px 22px rgba(0,0,0,0.16), 0 1.2px 5px rgba(0,0,0,0.11) !important;
    transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
}


.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.large-img {
    height: 100%;
    min-height: 400px;
}

.small-img {
    height: 33.33%;
    min-height: 120px;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.page-header {
    border-bottom: 3px solid var(--client-color-1);
    padding-bottom: 6px;
    font-size: 1.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--client-color-1);
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.2rem;
}

.fotorama__nav {
    background-color: #f8f9fa;
}

.page-link {
    cursor: pointer;
}

/* Custom pagination styling */
.pagination .page-link {
    color: #212529;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #000;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #212529;
    border-color: #212529;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}
