/*--------------------------------------------------------------
# Homepage Sections - Aguas Bizzotto
--------------------------------------------------------------*/

/* Hero Section Integrated */
.hero-section-integrated {
    background: url('https://aguasbizzotto.com/wp-content/uploads/2025/07/Diseno-sin-titulo-16.png') no-repeat center center;
    background-size: cover;
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 20px;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-badge {
    background: linear-gradient(90deg, #0033a9, #0066cc);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 51, 169, 0.3);
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 15px;
    margin-top: 10px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 35px;
}

.hero-cta {
    background: #0066cc;
    color: white !important;
    padding: 18px 35px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    text-transform: none;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

.hero-cta:hover,
.hero-cta:visited,
.hero-cta:focus,
.hero-cta:active {
    background: #0052a3;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    text-decoration: none;
    animation: none;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.bottles-image {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

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

.service-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Commitment Section */
.commitment-section {
    padding: 80px 0;
    background: #f8f9fa;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.commitment-content {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: none;
    margin: 0;
    position: relative;
}

.commitment-image {
    flex: 1;
    position: relative;
    margin-right: auto;
    padding-left: 0;
    margin-left: 0;
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0066cc;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
}

.experience-badge .number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.commitment-text {
    flex: 1;
    padding-left: 60px;
    padding-right: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.commitment-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.commitment-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.commitment-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.check-icon {
    width: 29px;
    height: 25px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.check-icon::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.feature span {
    font-size: 16px;
    color: #333;
}

.cta-button {
    background: #0066cc;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0052a3;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    margin: 0 auto;
    max-width: 1200px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Forzar 5 columnas exactas */
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 20px 15px;
    border-radius: 0;
    transition: none;
    background: none;
    border: none;
}

.benefit-item:hover {
    transform: none;
    box-shadow: none;
}

.benefit-icon {
    width: 100px; /* Hacer íconos más grandes */
    height: 80px;
    background: none; /* Quitar fondo azul en desktop también */
    border-radius: 0; /* Sin círculo en desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.benefit-icon-img {
    width: 50px; /* Hacer imágenes más grandes */
    height: 50px;
    object-fit: contain;
    /* Aplicar color azul a las imágenes en desktop también */
    filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(1769%) hue-rotate(213deg) brightness(94%) contrast(101%);
}

.benefit-item span {
    font-size: 16px; /* Hacer texto más grande */
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section-integrated {
        padding: 0px 0 60px;
        min-height: 100vh;
        background-position: 65% center;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    /* Services section sin padding superior en mobile */
    .services-section {
        padding: 0 0 80px;
    }
    
    /* Commitment section mobile layout */
    .commitment-section {
        padding: 60px 0;
        margin-left: 0;
        width: 100%;
    }
    
    .commitment-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Reorganizar orden específico en mobile */
    .commitment-text h2 {
        order: 1;
        font-size: 28px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .commitment-image {
        order: 2;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    
    .team-image {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    .commitment-text {
        display: contents; /* Esto permite que los hijos se ordenen directamente */
        padding: 0;
        max-width: none;
        margin: 0;
    }
    
    .commitment-text p {
        order: 3;
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .commitment-features {
        order: 4;
        margin-bottom: 20px;
    }
    
    .feature {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 12px;
    }
    
    .cta-button {
        order: 5;
        justify-self: center;
        text-align: center;
        margin-top: 10px;
    }
    
    /* Benefits section mobile layout */
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefits-container {
        padding: 40px 20px;
        margin: 0 20px;
        border-radius: 10px;
        overflow: hidden; /* Para ocultar elementos fuera del viewport */
    }
    
    .benefits-grid {
        display: flex; /* Cambiar a flex para carrusel */
        animation: carousel 10s infinite; /* 2 segundos por elemento */
        gap: 0;
        margin-top: 30px;
        width: 500%; /* 5 elementos × 100% */
    }
    
    .benefit-item {
        flex: 0 0 20%; /* Cada elemento ocupa 20% (100% / 5) */
        padding: 20px 10px;
        background: none;
        border: none;
        box-shadow: none;
        text-align: center;
    }
    
    .benefit-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .benefit-icon {
        width: 80px; /* Hacer íconos aún más grandes en mobile carrusel */
        height: 80px;
        background: none;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px; /* Más espacio abajo del ícono */
    }
    
    .benefit-icon-img {
        width: 40px; /* Imágenes más grandes */
        height: 40px;
        filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(1769%) hue-rotate(213deg) brightness(94%) contrast(101%);
    }
    
    .benefit-item span {
        font-size: 16px; /* Texto más grande */
        line-height: 1.3;
        text-align: center;
        font-weight: 600;
        color: #333;
    }
    
    /* Animación del carrusel */
    @keyframes carousel {
        0%, 16% { transform: translateX(0%); }      /* Primer elemento */
        20%, 36% { transform: translateX(-20%); }   /* Segundo elemento */
        40%, 56% { transform: translateX(-40%); }   /* Tercer elemento */
        60%, 76% { transform: translateX(-60%); }   /* Cuarto elemento */
        80%, 96% { transform: translateX(-80%); }   /* Quinto elemento */
        100% { transform: translateX(0%); }         /* Volver al primero */
    }
}