/* Infraestrutura Styles */
/* Using global variables from styles.css */

.infrastructure {
    padding: var(--section-padding) 0;
    text-align: center;
}

.page-title {
    text-align: center;
    color: var(--color-primary);
    margin: 30px 0 10px;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: var(--shadow-sm);
}

.infrastructure h2 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

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

.infra-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 25px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.infra-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.infra-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.infra-header i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.infra-header h2 {
    margin: 0;
    font-size: 1.4rem;
    text-align: left;
}

.infra-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.infra-gallery a {
    display: block;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.infra-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.infra-gallery a:hover img {
    transform: scale(1.1);
}

.infra-content {
    text-align: left;
    flex-grow: 1;
}

.infra-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infra-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.infra-content li::before {
    content: '\f00c'; /* FontAwesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-secondary);
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .infrastructure-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .infra-gallery a {
        height: 150px;
    }
    
    .page-title {
        font-size: 2rem;
    }
}
