
:root {
    --primary-color: #d10000;
    --secondary-color: #a30000;
    --light-color: #ffffff;
    --dark-color: #000000;
    --gray-color: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #e8e5e0;
    color: var(--dark-color);
    line-height: 1.6;
}

.navbar {
    
    background-color: #e8e5e0;
    opacity: 80%;
    /*border-bottom: 2px solid var(--primary-color);*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1920x600/333333/FFFFFF?text=Property+Listings');
    background-size: cover;
    background-position: center;
    color: #e8e5e0;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.search-card {
    background: #e8e5e0;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin: -2rem auto 2rem;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.property-card {
    border: 1px solid #ddd;
    border-radius: 0;
    transition: all 0.3s ease;
    background: #e8e5e0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(209,0,0,0.2);
    border: 1px solid var(--primary-color);
}

.property-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
}

.property-details {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 0;
    font-weight: 500;
}

.payment-form {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.payment-logo {
    width: 80px;
    margin-right: 15px;
}

#paymentConfirmation {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #e8f5e9;
    border-radius: 5px;
    margin-top: 20px;
}

.detail-modal-image {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .property-image-container {
        height: 180px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Add all other CSS rules from  original code here */