:root {
    --primary-color: #FF6B00;
    --secondary-color: #FFB347;
    --background-color: #121212;
    --card-bg-color: #2C2C2C;
    --text-color: #E0E0E0;
    --text-muted: rgba(224, 224, 224, 0.7);
    --border-color: rgba(224, 224, 224, 0.1);
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.property-gallery {
    height: 600px;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.property-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive styles for mobile */
@media (max-width: 767px) {
    .property-gallery {
        height: 350px;
        width: 100%;
        max-width: 100%;
    }
    
    .property-gallery .swiper-slide {
        width: 100% !important;
        height: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .property-gallery .swiper-slide img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: hidden;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .col-lg-8, .col-lg-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.property-gallery .swiper-button-next,
.property-gallery .swiper-button-prev {
    color: var(--text-color);
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.property-gallery .swiper-button-next:after,
.property-gallery .swiper-button-prev:after {
    font-size: 20px;
}

.property-info {
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.property-info h1 {
    font-weight: 800;
    color: black;
    margin-bottom: 25px;
}

/* Styling for property features including listing type and property type */
.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    color: black;
    border: 1px solid var(--border-color);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    padding: 5px;
}

.property-feature i {
    color: #FF8C00;
    font-size: 1.2rem;
    margin-left: 5px;
}

.property-feature span {
    font-weight: 600;
    font-size: 1.1rem;
}

.property-description {
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.property-description h2 {
    color: black;
    margin-bottom: 20px;
}

.property-description p {
    color: black;
    line-height: 1.8;
}

.property-description-text {
    font-family: 'Cairo', sans-serif;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: black;
    width: 100%;
    overflow-x: hidden;
}

.property-map {
    background: var(--card-bg-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.property-map h2 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.similar-properties {
    background: var(--card-bg-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

.similar-properties h2 {
    color: var(--text-color);
    margin-bottom: 30px;
}

.similar-property-card {
    background: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.similar-property-card .card-body {
    padding: 20px;
}

.similar-property-card .card-title {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.similar-property-card .card-text {
    color: var(--text-muted);
}

.btn-primary:hover {
    background: #FF8C00;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

.contact-agent {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-agent .contact-info h3,
.contact-agent .contact-info p {
    color: #000000;
}

.contact-agent .property-price-page {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 25px 0;
}

.contact-agent .property-price-page h4 {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.contact-agent .btn {
    padding: 15px;
} 