/* ===================================
   ESTILOS PARA PÁGINAS DE SERVICIOS
   =================================== */

/* Hero Section del Servicio */
.service-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 95, 95, 0.90) 0%, 
        rgba(46, 125, 125, 0.85) 100%
    );
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero .hero-content {
    text-align: center;
    color: var(--white);
}

.hero-breadcrumb {
    font-size: 0.95em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: var(--accent-color);
}

.hero-breadcrumb span {
    color: var(--accent-color);
}

.service-hero .hero-title {
    font-size: 4em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.service-hero .hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
}

.hero-feature i {
    color: var(--accent-color);
    font-size: 1.3em;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--accent-color);
    color: var(--dark-grey);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 180, 0, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 180, 0, 0.6);
}

/* Introducción del Servicio */
.service-intro {
    padding: 100px 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.8em;
    color: var(--dark-grey);
    margin-bottom: 25px;
    font-weight: 700;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.intro-stat {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.intro-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-stat .stat-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.intro-stat .stat-label {
    font-size: 0.95em;
    color: #666;
    font-weight: 600;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-badge i {
    font-size: 2em;
    color: var(--accent-color);
}

.image-badge span {
    font-weight: 700;
    font-size: 1.1em;
}

/* Tipos de Galpones */
.galpon-types {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.type-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.type-icon i {
    font-size: 2.5em;
    color: var(--white);
}

.type-card h3 {
    font-size: 1.6em;
    color: var(--dark-grey);
    margin-bottom: 15px;
    font-weight: 700;
}

.type-card > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #555;
    font-size: 0.95em;
}

.type-features i {
    color: var(--secondary-color);
    font-size: 1.1em;
}

/* Proceso de Construcción */
.construction-process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    max-width: 900px;
    margin: 60px auto 0;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(26, 95, 95, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    font-size: 1.4em;
    color: var(--dark-grey);
    margin-bottom: 10px;
    font-weight: 700;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 125, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 2em;
    color: var(--primary-color);
}

/* Galería de Proyectos */
.service-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 30px;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.4em;
    margin-bottom: 5px;
    font-weight: 700;
}

.gallery-overlay p {
    color: var(--accent-color);
    margin: 0;
}

.gallery-cta {
    text-align: center;
    margin-top: 50px;
}

/* CTA Final */
.service-cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.service-cta .cta-content h2 {
    font-size: 3em;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-cta .cta-content p {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 400px;
        background-attachment: scroll;
    }
    
    .service-hero .hero-title {
        font-size: 2.5em;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .step-icon {
        display: none;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4em;
    }
    
    .service-cta .cta-content h2 {
        font-size: 2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
