/* Estilos para la cabecera */
header {
    background-color: rgba(255, 255, 255, 0.8); /* Blanco con transparencia */
    color: black;
    padding: 5px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra ligera para dar profundidad */
    position: fixed;
    top: 0; /* Alinearlo al borde superior */
    left: 0; /* Alinearlo al borde izquierdo */
    width: 100%; /* Asegurar que se extiende a lo ancho */
    z-index: 1000; /* Elevado para mantenerlo sobre otros elementos */
}

.header-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* INICIO - ESTILOS LOGO  */

.logo-container {
    position: relative; /* Contenedor principal para el logo y las líneas */
    display: inline-block; /* O usa flexbox si prefieres */
    /* Otros estilos que necesites */
}

.logo::before {
    content: '';
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Difuminado suave */
    height: 2px;
    background-color: #606060;
    position: absolute;
    top: 0%; /* Ajusta este valor para el margen superior */
    left: -1%; /* Extiende ligeramente hacia la izquierda */
    width: 100%; /* Ligeramente más ancho que el contenedor para compensar */
}

.logo::after {
    content: '';
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Difuminado suave */
    height: 2px;
    background-color: #606060;
    position: absolute;
    bottom: 10%; /* Ajusta este valor para el margen inferior */
    right: 45%; /* Extiende ligeramente hacia la izquierda */
    width: 56%; /* Ligeramente más ancho que el contenedor para compensar */
}

.logo {
    position: relative;
    display: block;
    font-family: 'Arial', sans-serif; /* Asumiendo una fuente similar */
    color: rgba(230, 0, 0, 0.6); /* Un rojo más pálido que el rojo puro */
    text-transform: lowercase;
}

.logo a{
    color: rgba(230, 0, 0, 0.6); /* Un rojo más pálido que el rojo puro */
    text-decoration: none;
}

.logo-main {
    font-size: 32px; /* Ajusta esto según la escala de tu sitio */
    font-weight: bold;
    text-align: left;
}

.logo-sub {
    font-size: 32px; /* Ajusta esto según la escala de tu sitio */
}

.logo-tagline {
    font-size: 14px; /* Ajusta esto según la escala de tu sitio */
    color: #666; /* Un gris para el tagline */
    text-align: right;
}

.logo-main-small {
    font-size: 19px; /* Ajusta esto según la escala de tu sitio */
    font-weight: bold;
    text-align: left;
}

.logo-sub-small {
    font-size: 19px; /* Ajusta esto según la escala de tu sitio */
}

.logo-tagline-small {
    font-size: 8px; /* Ajusta esto según la escala de tu sitio */
    color: #666; /* Un gris para el tagline */
    text-align: right;
}

.logo-main-bot {
    font-size: 21px; /* Ajusta esto según la escala de tu sitio */
    font-weight: bold;
    text-align: left;
}

.logo-sub-bot {
    font-size: 21px; /* Ajusta esto según la escala de tu sitio */
}

.logo-tagline-bot {
    font-size: 9px; /* Ajusta esto según la escala de tu sitio */
    color: #666; /* Un gris para el tagline */
    text-align: right;
}

/* FIN - ESTILOS LOGO  */



/* INICIO - ESTILOS MENU  */

.navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navigation ul li {
    margin-left: 20px;
    position: relative; /* Para la línea de subrayado */
}

.navigation ul li a {
    color: black;
    text-decoration: none;
    padding: 5px 0; /* Espaciado para la línea de subrayado */
    font-family: 'Arial', sans-serif;
    font-size: 15px;
}

.navigation ul li a:hover {
    text-decoration: none;
}

.navigation ul li a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: -5px; /* Posición de la línea de subrayado */
    left: 0;
}

/* FIN - ESTILOS MENU  */


/* INICIO - ESTILOS FOTO 1  */

.full-width-image{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}
.full-width-image img {
    width: 100%;
    height: 100%; /* Esto establece el alto de la imagen igual al alto de la ventana del navegador */
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.full-width-image:hover img {
    opacity: 0.7;
  }

  /* FIN - ESTILOS FOTO 1  */



/* INICIO - INSTAGRAM LOGO  */

.instagram-logo {
    height: 20px; /* Ajusta esto según el tamaño deseado */
    width: auto; /* Mantiene la proporción del logo */
    vertical-align: top; /* Opcional: para alinear verticalmente si es necesario */
    margin-top: -7%;
    margin-left: 20%;
    transition: transform 0.3s ease-in-out;
}

.instagram-logo:hover {
    transform: scale(1.2); /* Aumenta el tamaño del logo al 120% */
}
.instagram-logo:hover::after {
    transform: scale(1.2); /* Aumenta el tamaño del logo al 120% */
}

.navigation ul li a.instagram-link:hover::after {
    content: none;
}

/* FIN - INSTAGRAM LOGO  */



/* INICIO - PIE DE PAGINA  */

.footer-bar {
    background-color: #333; /* Gris oscuro */
    color: #eee; /* Gris claro */
    text-align: center;
    padding: 20px 0;
    width: 100%;
    z-index: 4;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #ccc; /* Gris casi blanco */
    text-decoration: none;
    font-size: 16px;
    margin: 0 10%;
}

.cookie-policy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7); /* Gris casi blanco y un poco traslúcido */
    padding: 2% 0;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-link {
        margin: 0 20px;
    }
}

/* FIN - PIE DE PAGINA  */


  
  .dynamic-rectangle {
    position: absolute;
    right: -100%; /* Iniciar fuera de la pantalla */
    bottom: 7%;
    width: 35%;
    height: 20%;
    background-color: rgba(255, 0, 0, 0.5); /* Rojo pálido translúcido */
    color: white;
    display: flex;
    align-items: center; /* Centra verticalmente el texto en el rectángulo */
    justify-content: center; /* Centra horizontalmente el texto en el rectángulo */
    transition: right 3s; /* Suaviza el movimiento */
  }
  
  .dynamic-rectangle p {
    margin: 0;
    padding: 20px;
    text-align: center;
  }

  .quienes-somos-container {
    position: relative;
    background-color: #e4dfc6; /* Color de fondo crema */
    z-index: 2;
}

.quienes-somos-container-fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #e4dfc6; /* Color de fondo crema */
    z-index: 2;
}
.quienes-somos-collage {
    position: relative;
    height: 100vh; /* Ajusta según la altura deseada */
    width: 60%;
}

.qs-img {
    position: absolute;
    width: 25vh; /* Ajusta según el tamaño deseado */
    border-radius: 5px; /* Opcional, para bordes redondeados */
}

.quienes-somos-titulo{
    width: 40%;
}

.full-width-image2{
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 3;
}
.full-width-image2 img {
    width: 100%;
    height: 100%; /* Esto establece el alto de la imagen igual al alto de la ventana del navegador */
    object-fit: cover;
}

.que-hacemos-container {
    position: relative;
    background-color: #e4dfc6; /* Color de fondo crema */
    z-index: 3;
}
.que-hacemos-collage {
    position: relative;
    height: 100vh; /* Ajusta según la altura deseada */
    width: 60%;
}

.qh-img {
    position: absolute;
    width: 25vh; /* Ajusta según el tamaño deseado */
    border-radius: 5px; /* Opcional, para bordes redondeados */
}

.que-hacemos-titulo{
    width: 40%;
}



/* INICIO - POPUP CONTACTO  */

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    z-index: 1010;
}

.popup-content {
    background-color: #f2f2f2;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    text-align: center;
}

.contact-item {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item i {
    margin-bottom: 5px;
    margin-right: 10px;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

#contactoForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contactoForm input[type="text"],
#contactoForm input[type="email"],
#contactoForm textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contactoForm button {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contactoForm button:hover {
    background-color: #555;
}


#contactoBtn {
    background-color: transparent;
    border: 0.5px solid #191919;
    color: inherit; /* Usa el mismo color que los enlaces del menú */
    font-family: 'Arial', sans-serif; /* Usa la misma fuente que los enlaces del menú */
    font-size: 15px; /* Usa el mismo tamaño de fuente que los enlaces del menú */
    cursor: pointer; 
    transition: background-color 0.2s, color 0.2s; /* Transición suave */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);   
}
#contactoBtnPhone {
    background-color: transparent;
    border: 0.5px solid #191919;
    color: inherit; /* Usa el mismo color que los enlaces del menú */
    font-family: 'Arial', sans-serif; /* Usa la misma fuente que los enlaces del menú */
    font-size: 15px; /* Usa el mismo tamaño de fuente que los enlaces del menú */
    cursor: pointer; 
    transition: background-color 0.2s, color 0.2s; /* Transición suave */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);   
}

#contactoBtnSmall {
    background-color: transparent;
    border: 0.5px solid #191919;
    color: inherit; /* Usa el mismo color que los enlaces del menú */
    font-family: 'Arial', sans-serif; /* Usa la misma fuente que los enlaces del menú */
    font-size: 11px; /* Usa el mismo tamaño de fuente que los enlaces del menú */
    cursor: pointer; 
    transition: background-color 0.2s, color 0.2s; /* Transición suave */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);   
}

#contactoBtn:hover {
    background-color: #5a5a5a; /* Fondo gris oscuro al pasar el mouse */
    color: #fff; /* Texto en blanco al pasar el mouse */
}

/* FIN - POPUP CONTACTO  */


/* INICIO - BOTON MENU  */

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px; /* Ajusta el tamaño como prefieras */
    cursor: pointer;
    margin-top: -10px;
}

.es-button{
    background-color: transparent;
    border: 0;
    color: inherit; /* Usa el mismo color que los enlaces del menú */
    font-family: 'Arial', sans-serif; /* Usa la misma fuente que los enlaces del menú */
    font-size: 13px; /* Usa el mismo tamaño de fuente que los enlaces del menú */
    cursor: pointer; 
    transition: background-color 0.2s, color 0.2s; /* Transición suave */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
    display: block;
}

.cat-button{
    background-color: transparent;
    border: 0;
    color: inherit; /* Usa el mismo color que los enlaces del menú */
    font-family: 'Arial', sans-serif; /* Usa la misma fuente que los enlaces del menú */
    font-size: 13px; /* Usa el mismo tamaño de fuente que los enlaces del menú */
    cursor: pointer; 
    transition: background-color 0.2s, color 0.2s; /* Transición suave */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
    display: block;
}

.navigationPhone {
    display: none; /* Inicia oculto */
    position: fixed;
    width: 50%;
    height: 100vh;
    top: 0;
    left: 50%;
    background-color: rgba(255, 255, 255, 0.9); /* Blanco con transparencia */;
    z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
}

.navigationPhone ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 20%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
}

.navigationPhone ul li {
    margin-top: 10%;
    position: relative; /* Para la línea de subrayado */
}

.navigationPhone ul li a {
    color: black;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
}

.navigationPhone ul li:after {
    content: ''; /* Necesario para que el pseudo-elemento se muestre */
    position: absolute;
    left: 25%; /* Centra el pseudo-elemento al iniciar a 25% del inicio */
    bottom: -7px; /* Posiciona la línea en la parte inferior del elemento li */
    width: 50%; /* Ancho del pseudo-elemento que es la línea */
    border-bottom: 1px solid black; /* Estilo del borde que será la línea */
    display: block; /* Asegúrate de que se comporte como un bloque para propiedades de ancho y posición */
}


/* FIN - BOTON MENU  */
