/* 
 * Estilos específicos para la página de Infraestructura y Soporte TI
 * AgencyaTech - 2024
 */

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, var(--color-blue) 0%, #001a5c 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="network-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.03)"/><line x1="15" y1="15" x2="30" y2="15" stroke="rgba(255,255,255,0.02)" stroke-width="1"/><line x1="15" y1="15" x2="15" y2="30" stroke="rgba(255,255,255,0.02)" stroke-width="1"/><rect x="25" y="25" width="4" height="4" fill="rgba(236,97,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23network-pattern)"/></svg>');
    pointer-events: none;
}

.service-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.5);
}

/* Hero Title and Subtitle */
.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero .subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
}

/* Statistics Section con temática de infraestructura */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-green);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-orange);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafb 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-blue) 100%);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid - Usando exactamente el mismo estilo del index */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    opacity: 1;
    transform: translateX(0);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 30px;
    color: var(--color-white);
}

.service-card:hover .service-icon {
    background-color: rgba(0, 59, 149, 0.8);
}

/* Efecto de conexión para infraestructura */
.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-blue) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue) 0%, transparent 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon::before,
.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-title {
    font-size: 1.5em;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.service-description {
    color: var(--color-gray-medium);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--color-blue);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-top: auto;
}

.service-btn:hover {
    background-color: rgba(0, 59, 149, 0.8);
    transform: scale(1.05);
}

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

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-card {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.process-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon i {
    font-size: 1.8rem;
    color: white;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 15px;
}

.process-description {
    color: var(--color-gray-medium);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, #e8f4f8 100%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,59,149,0.1);
    border: 1px solid rgba(0,59,149,0.1);
    position: relative;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 15px;
    height: 15px;
    background: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    animation: networkPulse 2s infinite;
}

@keyframes networkPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(236,97,0,0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(236,97,0,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
        width: 100%;
        margin: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-container {
        margin: 0 15px;
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        gap: 15px;
        padding: 15px 0;
    }
    
    .service-card {
        padding: 18px 12px;
    }
} 