/* General Section Styling */
#apartment-description {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    font-family: "Lato", sans-serif;
}

.apartment-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.location {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.section-divider {
    border: none;
    height: 2px;
    background-color: #b29600; /* Gold accent */
    margin: 15px 0;
}

/* Key Features Section */
.key-features {
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.key-features h3 {
    font-size: 1.6rem;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    font-family: "Playfair Display", serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Compact grid */
    gap: 10px;
    justify-items: center;
    align-items: center;
}

.feature-item {
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    padding: 8px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 1rem; /* Smaller icons for compact look */
    color: #b29600; /* Gold accent */
    margin-bottom: 5px;
}

/* Images for Wider Screens */
#apartmentCarousel .carousel-inner img {
    height: 55vh; /* Adjusted height for laptop */
    object-fit: cover;
    width: 100%;
    margin: 0;
    border: none; /* Fullscreen width */
}

#apartment-map {
    height: 55vh; /* Consistent height with carousel */
    width: 100%;
    margin: 0;
    border: none;
}

/* Images for Mobile */
@media (max-width: 768px) {
    #apartmentCarousel .carousel-inner img {
        height: 60vh; /* More vertical height for mobile */
        object-fit: cover;
        width: 100%;
    }

    #apartment-map {
        height: 60vh; /* More vertical height for mobile */
        width: 100%;
    }
}

/* Description Section */
.description {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.description h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.description-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Modal Button Styling */
.btn-outline-primary {
    display: inline-block;
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn-outline-primary:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .apartment-name {
        font-size: 2rem;
    }

    .location {
        font-size: 0.9rem;
    }

    .key-features h3 {
        font-size: 1.4rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for mobile */
        gap: 8px;
    }

    .feature-item {
        font-size: 0.8rem;
        padding: 8px;
    }

    .feature-icon {
        font-size: 0.9rem; /* Smaller icons for mobile */
    }

    .description h3 {
        font-size: 1.3rem;
    }

    .description-text {
        font-size: 0.9rem;
    }
}
