/* Simple Elementor Styles for Matilde Saunders */

/* Widget Container */
.elementor-widget-matilde_saunders_simple_projects,
.elementor-widget-matilde_saunders_simple_single_project {
    width: 100%;
}

/* Preview Styles for Editor */
.matilde-elementor-preview {
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: 8px;
    margin: 10px 0;
}

.matilde-elementor-preview h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.matilde-elementor-preview p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.matilde-preview-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.matilde-preview-card {
    width: 80px;
    height: 80px;
    background: #ddd;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .matilde-preview-grid {
        gap: 10px;
    }
    
    .matilde-preview-card {
        width: 60px;
        height: 60px;
    }
}

/* Widget Output Styles */
.matilde-saunders-widget {
    margin: 20px 0;
}

.matilde-saunders-widget .projects-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.matilde-saunders-widget .project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.matilde-saunders-widget .project-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.matilde-saunders-widget .project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.matilde-saunders-widget .project-content {
    padding: 20px;
}

.matilde-saunders-widget .project-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.matilde-saunders-widget .project-client {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.matilde-saunders-widget .project-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Single Project Styles */
.matilde-saunders-widget .single-project {
    max-width: 800px;
    margin: 0 auto;
}

.matilde-saunders-widget .single-project .project-image {
    height: 300px;
    margin-bottom: 20px;
}

.matilde-saunders-widget .single-project .project-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.matilde-saunders-widget .single-project .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.matilde-saunders-widget .single-project .meta-item {
    flex: 1;
    min-width: 200px;
}

.matilde-saunders-widget .single-project .meta-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.matilde-saunders-widget .single-project .meta-value {
    color: #666;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .matilde-saunders-widget .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .matilde-saunders-widget .single-project .project-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .matilde-saunders-widget .single-project .meta-item {
        min-width: auto;
    }
}

/* Loading State */
.matilde-saunders-widget.loading {
    opacity: 0.6;
    pointer-events: none;
}

.matilde-saunders-widget.loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}
