/**
 * Customer Projects / Case Studies
 * Plugin Styles
 */

/* ===== SINGLE - PROJECT PAGE ===== */
.sewio-case-study-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.project-header-content .customer-logo {
    margin-bottom: 20px;
}

.project-header-content .customer-logo img {
    max-width: 200px;
    height: auto;
}

.project-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 10px 10px 0;
    background: #059b39;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #047a2d;
}

.project-info dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 20px;
    margin-top: 30px;
}

.project-info dt {
    font-weight: bold;
}

.project-info dd {
    margin: 0;
}

.customer-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-description {
    background: #f5f5f5;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
}

/* Case Study Sections */
.case-study-content {
    margin-bottom: 40px;
}

.case-study-section {
    margin-bottom: 40px;
}

.case-study-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #059b39;
}

.project-numbers {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-number {
    background: #059b39;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Testimonials */
.project-testimonials {
    margin: 40px 0;
}

.testimonial {
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 20px;
    border-left: 4px solid #059b39;
    border-radius: 4px;
}

.testimonial-image {
    float: left;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

.testimonial blockquote {
    margin: 0;
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: bold;
}

/* Gallery */
.project-gallery {
    margin-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

/* ===== ARCHIVE - PROJECTS GRID ===== */
.sewio-case-studies-archive {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-image {
    position: relative;
    background: #f5f5f5;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}

.project-card-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.teaser-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 155, 57, 0.9);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.project-card-content {
    padding: 20px;
}

.project-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-industries {
    margin: 10px 0;
}

.industry-label {
    display: inline-block;
    background: #e0e0e0;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.project-country {
    margin: 10px 0;
    color: #666;
    font-size: 0.9rem;
}

.video-included-badge {
    display: inline-block;
    background: #059b39;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .project-header {
        grid-template-columns: 1fr;
    }

    .project-info dl {
        grid-template-columns: 1fr;
    }

    .project-info dt {
        margin-top: 10px;
    }

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

    .project-title {
        font-size: 1.8rem;
    }

    .project-numbers {
        flex-direction: column;
    }
}