/*
Professional Real Estate UI Enhancement
*/

/* 1. Variables & Root Settings */
:root {
    --primary-color: #0055A5; /* A strong, professional blue */
    --secondary-color: #1a1a1a; /* A very dark grey, almost black */
    --accent-color: #E8C547; /* A warm, inviting gold for accents */
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --font-family-sans-serif: 'Poppins', sans-serif;
    --bs-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);
    --bs-body-font-family: var(--font-family-sans-serif);
}

/* 2. Global Styles */
body {
    font-family: var(--font-family-sans-serif);
    background-color: #ffffff;
    color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Bolder headings */
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.3);
}

/* 3. Navbar */
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-custom .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: var(--primary-color);
}

.navbar-custom .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.navbar-custom .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 4. Property Card */
.property-card-v2 {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
    background: #fff;
}

.property-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.property-card-v2 .card-img-top-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.property-card-v2 .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card-v2:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

.property-card-v2 .card-body {
    padding: 1.5rem;
}

.property-card-v2 .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.property-card-v2 .card-title a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.property-card-v2 .card-title a:hover {
    color: var(--primary-color);
}

.property-card-v2 .features {
    font-size: 0.9rem;
    color: #6c757d;
}

.property-card-v2 .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 5. Hero Section */
.property-hero {
    position: relative;
    overflow: hidden;
}

.property-hero .carousel-item {
    position: relative;
}

.property-hero .carousel-item img {
    width: 100%;
    height: 600px; /* Adjust as needed */
    object-fit: contain; /* Changed from cover to contain */
}

.property-hero .carousel-item:hover img {
    transform: scale(1.05);
}

.property-hero .carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
    width: 80%;
}

.property-hero .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.property-hero .carousel-caption p {
    font-size: 1.2rem;
    
}