/* Normalize CSS */
@import url('css/normalize.css');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #CCC5B7;
    color: #333;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}



.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 5vh; /* Ajustar este valor si es necesario para que no quede tan pegado al top */
    flex-direction: column;
}

.navbar {
    user-select: none;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; 
    width: 100%;
}

.nav-items {
    display: flex;
    justify-content: center;
    list-style: none;
    width: 100%;
    user-select: none;
}

.nav-items li {
    margin: 0 20px;
}

.nav-items a {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s;
}

.nav-items a:hover {
    color: #E5BB89;
}



.header-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
    margin-top: 10vh; /* Ajusta el margen superior para un mejor espaciado */
}

.header-btn button {
    opacity: 0;  /* Comienza invisible */
    transform: translateY(20px);  /* Empieza desplazado hacia abajo */
    animation: fadeInUp 1s ease-out forwards;  /* Animación de entrada */
    animation-delay: 1s;  /* Retrasa un poco la animación */
}

/* Keyframes para la animación de "fadeInUp" */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




.header-title h1 {
    font-size: 5rem;
    margin-bottom: 0;
    user-select: none;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #e5bb89, #6F5D44); /* Fondo degradado */
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
}

.header-title h2 {
    font-size: 1.6rem;
    font-weight: 700;
    user-select: none;
    margin-bottom: 1vh;
    margin-top: 0;
    color: #fff;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

.header-btn button {
    padding: 12px 30px;
    margin: 0;
    background-color: #E5BB89;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.header-btn button:hover {
    background-color: #E5BB60;
}





.header-slider {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;  
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background-position: center;
    opacity: 0;  /* Inicialmente ocultas */
    transition: opacity 1s ease-in-out;  /* Transición suave */
    z-index: 0;  /* Inicialmente debajo de otras imágenes */
    filter: blur(3px);
}

.slide.active {
    opacity: 1;  /* Aparece la imagen activa */
    z-index: 1;  /* Se coloca encima de las otras */
    filter: blur(3px);
}




.departments-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 45vh; /* Un margen superior para separar el contenido del header */
}

.department-section {
    display: flex;
    margin-bottom: 4vh;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 70%;
}

.department-section.santelmo {
    flex-direction: row;
}

.department-section.palermo {
    flex-direction: row-reverse;
}

.department-info {
    width: 50%;
    padding: 30px;
}

.department-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.department-info p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
}

.btn-cta button {
    padding: 12px 30px;
    background-color: #E5BB89;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-cta button:hover {
    background-color: #E5BB60;
}




.department-gallery {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    width: 50%;
    height: 200px;
    background-position: center;
    background-size: cover;
    border: 1px solid #eee;
    box-sizing: border-box;
}









.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #6F5D44;
    color: #CCC5B7;
    padding: 2vh;
    font-size: 1vh;
    text-align: center;
    flex-direction: column;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-container div {
    margin: 2vh;
    cursor: pointer;
}

.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-logo h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #E5BB89;
}

.footer-logo p {
    font-size: 16px;
    color: #aaa;
}

.footer-contact h3, .footer-social h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #E5BB89;
}

.footer-contact ul, .footer-social ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-contact li, .footer-social li {
    font-size: 16px;
    line-height: 1.8;
}

.footer-contact a, .footer-social a {
    color: #E5BB89;
    text-decoration: none;
}

.footer-contact a:hover, .footer-social a:hover {
    text-decoration: underline;
}

/* Estilos para el footer social */
.footer-social ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 200px;
}

.footer-social li {
    font-size: 16px;
}

/* Estilos para el footer-bottom */
.footer-bottom {
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
}




@media (max-width: 1000px) {
    .department-section {
        flex-direction: column;
        width: 95%;
    }

    .departments-section {
        margin-top: 45vh;
    }


    

    .department-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .department-info h2 {
        text-align: center;
    }

    .department-info p {
        text-align: center;
    }


    .footer-container {
        flex-direction: column;
        text-align: left;
    }

    .footer-logo, .footer-contact, .footer-social {
        margin-bottom: 20px;
    }

    .footer-social ul {
        flex-direction: column;
    }

    .footer-social li {
        margin-bottom: 10px;
    }
    .footer-social h3 {
        text-align: center;
    }
    .footer-contact h3 {
        text-align: center;
    }
}


@media (max-width: 768px) {
    

    .department-info,
    .department-gallery {
        width: 100%;
    }

    .gallery-item {
        width: 100%;
    }



    .header-title h1 {
        font-size: 3rem;
    }

    .header-title h2 {
        font-size: 1.2rem;
    }

    .header-title {
        margin-top: 15vh;
    }
    

    .slide {
        filter: blur(0px);
        background-size: 300%;
        background-repeat: no-repeat;
    }
    
    .slide.active {
        filter: blur(0px);
    }

    .nav-items a {
        color: #fff;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: bold;
        padding: 5px;
        transition: color 0.3s;
    }

}
