/**
 * Elementor Styles
 */

/* Property Grid */
.reoffice-properties-elementor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Property Gallery Widget */
.reoffice-elementor-gallery {
    margin: 20px 0;
}

.reoffice-elementor-gallery .gallery-main {
    margin-bottom: 15px;
}

.reoffice-elementor-gallery .gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.reoffice-elementor-gallery .gallery-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reoffice-elementor-gallery .gallery-thumb {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.reoffice-elementor-gallery .gallery-thumb:hover,
.reoffice-elementor-gallery .gallery-thumb.active {
    opacity: 1;
    border-color: #0073aa;
}

.reoffice-elementor-gallery .gallery-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.reoffice-elementor-gallery .gallery-grid {
    display: grid;
    gap: 15px;
}

.reoffice-elementor-gallery.columns-1 .gallery-grid {
    grid-template-columns: 1fr;
}

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

.reoffice-elementor-gallery.columns-3 .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

.reoffice-elementor-gallery.columns-4 .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.reoffice-elementor-gallery.columns-5 .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
}

.reoffice-elementor-gallery.columns-6 .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
}

.reoffice-elementor-gallery .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Property Specs Widget */
.reoffice-elementor-specs {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.reoffice-elementor-specs.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.reoffice-elementor-specs.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.reoffice-elementor-specs.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.reoffice-elementor-specs.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.reoffice-elementor-specs.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.reoffice-elementor-specs .spec-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.reoffice-elementor-specs .spec-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.reoffice-elementor-specs .spec-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.reoffice-elementor-specs .spec-name {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Property Features Widget */
.reoffice-elementor-features {
    margin: 20px 0;
}

.reoffice-elementor-features .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reoffice-elementor-features.layout-list .features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reoffice-elementor-features.layout-grid .features-list {
    display: grid;
    gap: 15px;
}

.reoffice-elementor-features.layout-grid.columns-2 .features-list {
    grid-template-columns: repeat(2, 1fr);
}

.reoffice-elementor-features.layout-grid.columns-3 .features-list {
    grid-template-columns: repeat(3, 1fr);
}

.reoffice-elementor-features.layout-grid.columns-4 .features-list {
    grid-template-columns: repeat(4, 1fr);
}

.reoffice-elementor-features .feature-item {
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    position: relative;
    padding-left: 30px;
}

.reoffice-elementor-features .feature-item:before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: #0073aa;
    font-weight: bold;
}

@media (max-width: 768px) {
    .reoffice-elementor-gallery.columns-4,
    .reoffice-elementor-gallery.columns-5,
    .reoffice-elementor-gallery.columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .reoffice-elementor-specs.columns-4,
    .reoffice-elementor-specs.columns-5,
    .reoffice-elementor-specs.columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .reoffice-elementor-features.layout-grid.columns-3,
    .reoffice-elementor-features.layout-grid.columns-4 {
        grid-template-columns: 1fr !important;
    }
}

