/* Servicios Especializados - TAZDUCA */

.specialized-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.specialized-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.specialized-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
}

.specialized-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.specialized-card .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.specialized-card h3 {
    color: #2c5530;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.specialized-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.specialized-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.specialized-card ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.specialized-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
}

.price-range {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-top: 15px;
}

.specialized-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specialized-cta p {
    font-size: 20px;
    color: #2c5530;
    margin-bottom: 20px;
}

/* Mejoras para la galería de resultados */
.before-after-gallery {
    margin-top: 60px;
    padding: 60px 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.before-after-gallery h3 {
    color: #2c5530;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.gallery-item {
    text-align: center;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item h4 {
    margin-top: 20px;
    color: #2c5530;
    font-weight: 600;
    font-size: 18px;
}

/* Mini-Super Gallery */
.minisuper-gallery {
    margin-top: 40px;
    padding: 40px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 15px;
    text-align: center;
}

.minisuper-gallery h4 {
    color: #2c5530;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

.product-showcase {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product-showcase img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.product-showcase img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .specialized-services {
        padding: 60px 0;
    }
    
    .specialized-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .specialized-card {
        padding: 25px;
    }
    
    .specialized-card .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .specialized-card h3 {
        font-size: 20px;
    }
    
    .product-showcase {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .product-showcase img {
        width: 150px;
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .before-after-gallery {
        padding: 40px 20px;
    }
    
    .before-after-gallery h3 {
        font-size: 24px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .specialized-card {
        padding: 20px;
    }
    
    .specialized-cta {
        padding: 30px 20px;
    }
    
    .specialized-cta p {
        font-size: 18px;
    }
    
    .minisuper-gallery {
        padding: 30px 20px;
    }
    
    .minisuper-gallery h4 {
        font-size: 20px;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specialized-card {
    animation: fadeInUp 0.6s ease forwards;
}

.specialized-card:nth-child(1) { animation-delay: 0.1s; }
.specialized-card:nth-child(2) { animation-delay: 0.2s; }
.specialized-card:nth-child(3) { animation-delay: 0.3s; }
.specialized-card:nth-child(4) { animation-delay: 0.4s; }

/* Efectos hover adicionales */
.specialized-card .service-icon {
    transition: all 0.3s ease;
}

.specialized-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Pulso para botones CTA */
.specialized-cta .btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}
