/* ============================================
   Infrastructure Page - Slider Design
   ============================================ */

/* Modern Hero Section */
.infrastructure-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-8) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(27, 75, 140, 0.85) 100%);
    z-index: 1;
}

.hero-content-infrastructure {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-full);
    color: var(--color-accent-light);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.hero-content-infrastructure h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--space-3);
    color: white;
}

.hero-lead {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
}

.hero-service-link {
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-align: center;
    transition: all 0.3s ease;
}

.hero-service-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Services Slider Section */
.infrastructure-slider-section {
    padding: var(--space-12) 0;
    background: var(--color-bg-light);
}

.infrastructure-slider-section h2 {
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-2);
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

/* Slider Wrapper */
.infrastructure-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-12);
}

.infrastructure-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Service Slides */
.facility-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.facility-slide.prev {
    transform: translateX(-100%);
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(27, 75, 140, 0.75) 100%);
    z-index: 1;
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8);
    color: white;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.facility-number {
    display: block;
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
    opacity: 0.5;
}

.slide-content h3 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-3);
    color: white;
}

.slide-content p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-4);
    max-width: 700px;
    color: rgba(255, 255, 255, 0.95);
}

.slide-features {
    list-style: none;
    padding: 0;
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.slide-features li {
    padding: var(--space-1) var(--space-3);
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: white;
    border: none;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: var(--shadow-lg);
}

.slider-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: var(--space-2);
}

.slider-next {
    right: var(--space-2);
}

/* Slider Progress Bar */
.slider-progress {
    margin-top: var(--space-4);
    height: 4px;
    background: rgba(27, 75, 140, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.3s ease;
}

/* Quality Standards Section */
.quality-standards-section {
    padding: var(--space-8) 0;
    background: white;
}

.quality-standards-section h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-2);
}

.quality-standards-section > .container > p {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.quality-item {
    padding: var(--space-6);
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.quality-item h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.quality-item p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.quality-item strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

/* CTA Section */
.cta-section {
    padding: var(--space-8) 0;
    text-align: center;
    background: var(--color-bg-light);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.cta-section p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .infrastructure-hero {
        min-height: 70vh;
        padding: var(--space-6) 0;
    }

    .hero-content-infrastructure h1 {
        font-size: 2.5rem;
    }

    .hero-lead {
        font-size: var(--font-size-base);
    }

    .hero-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infrastructure-slider-section h2 {
        font-size: 2rem;
    }

    .infrastructure-slider-wrapper {
        padding: 0 var(--space-4);
    }

    .infrastructure-slider {
        height: 500px;
    }

    .slide-content {
        padding: var(--space-4);
    }

    .facility-number {
        font-size: 2.5rem;
    }

    .slide-content h3 {
        font-size: 1.75rem;
    }

    .slide-content p {
        font-size: var(--font-size-base);
    }

    .slide-features {
        gap: var(--space-2);
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }

    .slider-prev {
        left: var(--space-1);
    }

    .slider-next {
        right: var(--space-1);
    }

    .quality-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content-infrastructure h1 {
        font-size: 3rem;
    }

    .infrastructure-slider {
        height: 550px;
    }

    .slide-content h3 {
        font-size: 2rem;
    }
}
