/* Condo Section */
.condo-sale {
    background: #121829;
    padding: 50px 20px;
    text-align: center;
}

.condo-sale-title {
    color: white;
    font-size: 36px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.condo-sale-title::after {
    content: "";
    width: 50px;
    height: 3px;
    background: red;
    display: block;
    margin: 8px auto 20px;
}

.condo-sale p {
    color: #bbb;
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.6;
}

/* Global Styles */
body {
    background: #121829;
    font-family: "Poppins", sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

/* Property Details Main Container */
.property-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #1a2238;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    min-height: auto; /* Adjusts height dynamically */
    overflow: hidden; /* Prevents content from spilling */
}

/* Ensure there is enough space between content and footer */
.property-details {
    padding-bottom: 100px; /* Adds spacing to prevent overlap */
}

/* Property Title */
.property-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.property-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: red;
    display: block;
    margin: 10px auto;
}

/* Image Slider Section */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-wrapper {
    display: flex;
    gap: 10px;
}

.slider-wrapper img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Slider Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Property Info Section */
.property-info {
    padding: 30px;
    text-align: left;
    background: #1a2238;
    border-radius: 10px;
    margin-top: 20px;
}

.property-info p {
    font-size: 18px;
    margin: 8px 0;
    color: #b0b3c8;
}

.property-info strong {
    color: #ffffff;
}

/* Price & Highlighted Info */
.price {
    font-size: 26px;
    font-weight: bold;
    color: #00c896;
    margin-top: 10px;
}

/* Developer & Project Links */
.project-link {
    color: #ff4d00;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.project-link:hover {
    color: #ff2400;
}

/* Features Title */
h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
    border-bottom: 2px solid #e63946;
    padding-bottom: 5px;
    text-align: center !important; /* Center text */

}

/* Features Title */
h4 {
    font-size: 20px;
    color: #ffffff;
    margin-top: 30px;
	border-top: 2px solid #e63946;
    padding-bottom: 5px;
    text-align: center !important; /* Center text */
}

/* CTA & Call Buttons - Modernized */
.cta-btn, .call-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

/* Call Button - Primary Action */
.call-btn {
    background: #E63946; /* A stylish red */
    color: white;
    box-shadow: 0px 4px 10px rgba(230, 57, 70, 0.2);
}

.call-btn:hover {
    background: #C62828; /* Darker shade for hover */
    box-shadow: 0px 6px 12px rgba(230, 57, 70, 0.3);
    transform: translateY(-2px);
}

/* CTA Button - Secondary Action */
.cta-btn {
    background: #1E293B; /* Dark blue for contrast */
    color: white;
    border: 2px solid #1E293B;
    box-shadow: 0px 4px 10px rgba(30, 41, 59, 0.2);
}

.cta-btn:hover {
    background: white;
    color: #1E293B;
    border: 2px solid #1E293B;
    box-shadow: 0px 6px 12px rgba(30, 41, 59, 0.3);
    transform: translateY(-2px);
}

/* Responsive Improvements */
@media screen and (max-width: 768px) {
    .property-container {
        padding: 20px;
    }

    .property-details {
        padding-bottom: 120px;
    }

    .property-title {
        font-size: 26px;
        font-weight: 700;
        color: #2D3748;
    }

    .price {
        font-size: 22px;
        font-weight: bold;
        color: #E63946;
    }

    .features ul {
        flex-direction: column;
        gap: 10px;
    }

    /* Make buttons more accessible */
    .cta-btn, .back-btn, .call-btn {
        width: 100%;
        max-width: 400px;
        margin: 10px auto;
        display: block;
    }
}

/* Ensure the map container is properly sized */
#map {
    height: 500px;  /* Adjust the height as needed */
    width: 100%;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Info window styling */
.gm-style .gm-style-iw {
    font-family: Arial, sans-serif;
    padding: 10px;
    font-size: 14px;
    color: #333;
}

/* Responsive Map for Mobile */
@media (max-width: 768px) {
    #map {
        height: 350px; /* Smaller height for mobile screens */
    }
}
