﻿:root {
    --primary-color: #2f5e99;
    --secondary-color: #f8f9fa;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}
/*.container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }*/
.header-preview {
    width: 100%;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.top-header {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

    .top-header a {
        color: #fff;
        transition: color 0.3s ease;
    }

        .top-header a:hover {
            color: #ffd700;
        }

    .top-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.contact-info {
    display: flex;
    align-items: center;
}

    .contact-info a, .contact-info span {
        margin-right: 20px;
        display: flex;
        align-items: center;
    }

.header-right {
    display: flex;
    align-items: center;
}

.social-icons {
    margin-right: 25px;
    display: flex;
    align-items: center;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        margin-left: 10px;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

.auth-links a {
    padding: 6px 15px;
    border-radius: 4px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

    .auth-links a.login {
        background: rgba(255, 255, 255, 0.1);
    }

    .auth-links a.register {
        background: #ffd700;
        color: #2c3e50;
        font-weight: 500;
    }

    .auth-links a:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

.main-header {
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.hero-section {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://demo36.houzez.co/wp-content/uploads/2020/03/205.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.search-form {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    padding: 2rem;
}

.search-tabs .nav-link {
    color: var(--dark-color);
    border-radius: 2rem;
    margin-right: 0.5rem;
    padding: 0.5rem 1.5rem;
}

    .search-tabs .nav-link.active {
        background-color: var(--primary-color);
        color: white;
    }

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: #254a7a;
        border-color: #254a7a;
    }

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
}

    .section-title:after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        background-color: var(--primary-color);
        margin-top: 10px;
    }

.property-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

    .property-card:hover {
        transform: translateY(-5px);
    }

    .property-card img {
        height: 200px;
        object-fit: cover;
    }

.property-price {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
}

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-tools {
    position: absolute;
    top: 15px;
    right: 15px;
}

    .property-tools .btn {
        background-color: white;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.5rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

.category-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-5px);
    }

    .category-card img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 0.5rem;
        margin-right: 1rem;
    }

.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.service-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 250px;
}

    .service-card img {
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .service-card:hover img {
        transform: scale(1.1);
    }

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

    footer h5 {
        font-weight: 700;
        margin-bottom: 1.5rem;
        position: relative;
    }

        footer h5:after {
            content: '';
            display: block;
            width: 30px;
            height: 2px;
            background-color: var(--primary-color);
            margin-top: 10px;
        }

    footer ul li {
        margin-bottom: 0.5rem;
    }

    footer a {
        color: #adb5bd;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: white;
        }

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

    .back-to-top.show {
        opacity: 1;
    }

/* Mobile menu styles */
.navbar-toggler {
    border: none;
    padding: 0;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .hero-section {
        height: auto;
        padding: 3rem 0;
    }

    .top-header .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 10px;
        justify-content: center;
    }
}



@media (max-width: 575px) {

    .d-flex {
        flex-direction: column;
    }

    .contact-info {
        margin-bottom: 10px;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .header-right {
        align-items: center;
        margin-bottom: 10px;
        width: 100%;
    }

    .social-icons {
        float: left !important;
    }

    .auth-links {
        float: right !important;
    }
}
