:root {
    --blanco : #ffffff;
    --gris-claro : #f0f0f0;
    --negro : #000000;
    --cyan : #009DE0;
    --magenta : #E4007B;
    --oscuro : #131E29;
    --amarillo : #FEED01;
    --verde : #238f79;

    --fuenteprincipal : "Lato", sans-serif;
    --fuentesecundaria : "Montserrat", serif;
}

@keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }


  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
  }

body {
    font-size: 1.6rem;
    width: 85%;
    margin: 1.5rem auto 0rem auto;
    background-color: var(--gris-claro);

}

@media (max-width: 900px) {
    body {
        width: 90%;
    }
}

a {
    text-decoration: none;
}

        h1 {
            font-size: 4.8rem;
        }

        h2 {
            font-size: 3.8rem;
        }

        h3 {
            font-size: 2.8rem;
        }

        h1, h2, h3 {
            text-align: center;
            font-family: var(--fuenteprincipal);
        }

    p {
    color: var(--blanco);
    font-size: 2rem;
    font-family: var(--fuentesecundaria);
    text-align: center;
    }

/* barra de navegacion superior */
.barra {
    background-color: var(--blanco);
    display: flex;
    width: 100%;
    height: 10rem;
    padding: 0 2rem;
    border-radius: 25px;
    box-shadow: 0px 0px 29px -10px rgba(97,97,97,1);
    justify-content: space-between;
    align-items: center; 
}

.logo {
    display: flex;
    flex-direction: row;
}

.logo__imagen{
    width: 8rem;
    height: auto;
}

.titulo {
    font-family: var(--fuentesecundaria);
    font-weight: 600;
    color: var(--magenta);
    transition: color 250ms ease;
}

.titulo:hover {
    color: var(--cyan);
}

.titulo--color {
    color: var(--negro);
}


.navegacion {
    display: flex;
}

.navegacion__enlace {
    font-family: var(--fuenteprincipal);
    margin-right: 3rem;
    color: var(--cyan);
    padding: 0.5rem;
    font-size: 3rem;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: color 250ms ease, border-bottom 250ms ease;
}

.navegacion__enlace:hover {
    color: var(--magenta);
    border-bottom: 2px solid var(--magenta);
}

@media (max-width: 768px) {
    .barra {
        display: block;
        height: auto;
        padding: 2rem 0;
        
    }


    .navegacion {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        margin-top: 2rem;
    }

    .logo {
        display: flex;
        justify-content: center;
    }
    
    

    .navegacion__enlace {
        margin: 0;
    }
}

/* hero */

.contenedor-hero {
    position: relative;
    height: 50rem;
    margin-top: 2rem;
    background-image: url(../img/hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    border-radius: 25px;
    
}

.contenido-hero {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-color: #00000077;
    justify-content: center;
}

.contenido-hero__titulo {
    color: var(--blanco);
}

.contenido-hero__contenido {
    margin: 2rem;
    
}

.contenido-hero__boton{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 30rem;
    height: 8rem;
    background-color: var(--verde);
    color: var(--blanco);
    font-family: var(--fuenteprincipal);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-radius: 15px;
    gap: 1rem;
    transition: background-color 250ms ease;
}

.contenido-hero__boton:hover {
    background-color: var(--cyan);
    animation: float 2s infinite;
}

.contenido-hero__boton svg{
    width: 5rem;
    height: auto;
}

@media (max-width: 758px) {

    .contenido-hero__boton {
        width: 80%;
    }
}

/* contenido principal*/

.contenedor-servicios {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    column-gap: 2rem;
    row-gap: 4rem;
}

.servicio {
    padding: 1rem;
    border-radius: 15px;
    background-color: var(--blanco);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 21px -7px rgba(112,112,112,1);
}

.servicio__imagen {
    width: 100%;
    height: auto;
    border-radius: 15px;
    
}

.contenido-hero__boton--servicio {
    width: 90%;
    height: 8rem;

}
.servicio-banner, .servicio-banner__blur {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.servicio-banner--fiesta {
    background-image: url(../img/recursosdefiesta.jpg);
    grid-column: 3/5;
    
}

.servicio-banner--sublimacion {
    background-image: url(../img/sublimacionbanner.jpg);
    grid-column: 1/3;
}

.servicio-banner--secretarial {
    background-image: url(../img/serviciossecretarial.jpg);
    grid-column: 1/3;
}

.servicio-banner {
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-items: center;
    border-radius: 15px;
}

.servicio-banner__blur{
    height: 90%;
    width: 90%;
    backdrop-filter: blur(5px) saturate(200%);
    background-color: #131e29c7;
    border-radius: 15px;
}



.servicio-banner__titulo {
    color: var(--blanco);
}

@media (max-width: 1080px) {
    .contenedor-servicios {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicio-banner--fiesta {
        grid-column: 1/3;
        grid-row: 3/4;
        height: 40rem;
    }

    .servicio-banner {
        height: 40rem;
    }
}

@media (max-width: 700px) {
    .contenedor-servicios {
        grid-template-columns: 100%;
    }

    .servicio-banner--sublimacion {
        grid-column: 1/2;
        height: 40rem;
    }

    .servicio-banner--fiesta {
        grid-column: 1/2;
        grid-row: 4/5;
    }

    .servicio-banner--secretarial {
        grid-column: 1/2
    }

}

.ubicacion {
    width: 90%;
    margin: 2rem auto;
}

.mapa {
    width: 100%;
    height: 50rem;
    align-content: center;
    border-radius: 25px;
}

.ubicacion__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ubicacion__direccion,
.ubicacion__horarios,
.ubicacion__contacto {
    color: var(--negro);
    font-size: 2rem;
    font-family: var(--fuenteprincipal);
    text-align: center;
}


.nosotros {
    padding: 3rem;
    background-color: var(--gris-claro);
    text-align: center;
}

.titulo-nosotros {
    font-size: 3.6rem;
    color: var(--oscuro);
    margin-bottom: 2rem;
    font-family: var(--fuenteprincipal);
}

.subtitulo-nosotros {
    font-size: 2.8rem;
    color: var(--magenta);
    margin-bottom: 1.5rem;
    font-family: var(--fuentesecundaria);
}

.descripcion-nosotros {
    font-size: 1.8rem;
    color: var(--oscuro);
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 2rem;
    font-family: var(--fuentesecundaria);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para la imagen */
.contenedor-nosotros__imagen {
    margin-bottom: 2rem;
    text-align: center;
}

.imagen-nosotros {
    width: 70%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Estilos para las secciones de Misión y Visión */
.mision-vision {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 3rem;
}

.mision, .vision {
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.mision h2, .vision h2 {
    font-size: 2.4rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .mision-vision {
        flex-direction: column;
        align-items: center;
    }

    .mision, .vision {
        width: 100%;
        margin-bottom: 2rem;
    }

    .imagen-nosotros {
        width: 100%;
        margin: 0 auto;
    }
}


.pie-de-pagina {
    background-color: var(--oscuro);
    color: var(--blanco);
    border-radius: 25px 25px 0 0;
}

.contenedor-foooter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    padding: 2rem;
}

.contenedor-footer__derechos {
    grid-column: 1/4;
}

 .contenedor-footer__descripcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1rem;
     border-right: 1px solid var(--blanco);
     
 }
 
 .contenedor-footer__descripcion:last-of-type {
        border-right: none;
 }

 .footer-logo {
    width: 15rem;
    height: auto;
 }


 
.enlace {
    color: var(--blanco);
}

@media (max-width: 900px) {
    .contenedor-foooter {
        grid-template-columns: 100%;
    }
    
    .contenedor-footer__derechos {
        grid-column: 1/2;
    }
    .contenedor-footer__descripcion {
        border-right: none;
    }
}

.contacto-simple {
    text-align: center;
    padding: 3rem;
    background-color: var(--gris-claro);
}

.contacto-simple__titulo {
    font-size: 3.2rem;
    color: var(--oscuro);
    margin-bottom: 3rem;
    font-family: var(--fuenteprincipal);
}

.contacto-simple__redes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.red-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--blanco);
    border-radius: 15px;
    width: 30rem;
    height: 30rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.red-social:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.red-social__icono {
    width: 40%;
    height: auto;
    margin-bottom: 1rem;
}

.red-social__nombre {
    font-family: var(--fuenteprincipal);
    font-size: 1.8rem;
    color: var(--oscuro);
}

@media (max-width: 768px) {
    .red-social {
        width: 140px;
        height: 140px;
    }

    .red-social__icono {
        width: 50px;
        height: 50px;
    }

    .red-social__nombre {
        font-size: 1.6rem;
    }
}
