:root {
    --primary-color: #0056A4;
    --secondary-color: #e54b1b;
    --text-color: #d8d8d8;
    --hover-claro: #a5a5a5;
    --background-hero: linear-gradient(135deg, #0033A4 0%, #6A8DFF 100%);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}



.container-galeria {
    display: flex;
    flex-direction: column;
}

.header-galeria {
    position: relative;
    height: 82vh;
    background: var(--background-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5% 10%;
    overflow: hidden;
    z-index: 1;
    animation: gradientShift 10s ease infinite;
}

.header-galeria h1 {
    margin: 0;
    text-align: center;
    margin-bottom: 5px;
    color: var(--text-color);
    font-size: 80px;
    display: flex;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.8s forwards 0.5s;
    color: var(--text-color);
}


.header-galeria h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    max-width: 60%;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s forwards 0.8s;
}

.header-galeria p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 60%;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s forwards 0.8s;
}


/* Section 1 */
.project-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 0;
}

.project-item {
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--secondary-color);
}

.project-intro {
    background-color: var(--hover-claro);
    color: var(--primary-color);
    animation: fadeIn 0.8s ease-out;
}

.project-intro h4 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-intro h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-intro p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-item:not(.project-intro) {
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-item:not(.project-intro)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 92, 0.7);
}

.project-item:not(.project-intro) h3,
.project-item:not(.project-intro) button {
    position: relative;
    z-index: 1;
}

.project-item:not(.project-intro) button {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.project-item h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 1024px) {
    .header-galeria h1 {
        font-size: 3rem;
    }
    
    .project-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .project-item {
        min-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .header-galeria {
        padding: 5%;
        height: 80vh;
    }
    
    .header-galeria h1 {
        font-size: 2.5rem;
    }
    
    .header-galeria h2 {
        font-size: 1.5rem;
    }
    
    
    .project-intro h2 {
        font-size: 2rem;
    }
    
    .project-item h3 {
        font-size: 1.5rem;
    }
}

/* seccion de Industria*/

.industries-section {
    padding: 4rem 8%;
}

.industries-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.industry-overlay h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-section {
        padding: 3rem 5%;
    }
}

@media screen and (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .industries-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .industry-card {
        height: 250px;
    }
}