/* Hero section */
.hero-section {
    position: relative;
    height: 600px;
    margin-top: -5px;
}

    .hero-section .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

/* Características */
.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Servicios */
.service-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

    .service-card img {
        transition: transform 0.3s ease;
    }

    .service-card:hover img {
        transform: scale(1.05);
    }

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

/* Contacto */
.contact-section {
    background-color: #111827;
    color: white;
    position: relative;
}

    .contact-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #0f172a 100%);
        z-index: 0;
    }

    .contact-section .container {
        position: relative;
        z-index: 1;
    }

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ========================================
   SECCIÓN DE PRODUCTOS
   ======================================== */
.product-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-preview-card:hover img {
    transform: scale(1.1);
}

.product-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    transform: translateY(50%);
    transition: transform 0.3s ease;
}

.product-preview-card:hover .product-preview-overlay {
    transform: translateY(0);
}

.product-preview-overlay h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.product-preview-overlay p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Overlay removido - solo mantener el efecto de hover sutil en la imagen */

/* Gallery Modal */
#galleryModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#galleryModal .modal-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

#galleryModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#galleryModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#galleryModal .btn-close:hover {
    opacity: 1;
}

#galleryModal .modal-body {
    padding: 1.5rem;
    background: #f8f9fa;
}

#galleryModalImage {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#galleryModalTitle {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#galleryModalDescription {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

