/* Apartment Styles */
.apartment-showcase {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.apartment-gallery {
    position: relative;
}

.main-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    background: #f5f5f5;
}

.gallery-thumbs img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-thumbs img:hover {
    transform: scale(1.05);
}

.gallery-thumbs img.active-thumb {
    outline: 3px solid rgba(43,122,43,0.9);
    transform: scale(1.03);
}

.apartment-details {
    padding: 2rem;
}

.apartment-info h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.apartment-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.feature-item h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item h5 i {
    color: var(--primary);
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

.feature-item ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item ul li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.cta-section {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        flex-direction: column;
    }
}