body {
    background: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Encabezado principal */
.encabezado { background-color: #ffffff;
    border: 1px solid #e0e0e0; 
    padding: 20px;
    margin: 10px auto;
    max-width: 1000px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.contenedor-encabezado {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.info-contacto {
    text-align: left;
    line-height: 1.8; 
    font-size: 16px;
}

.info-contacto h1 {
    margin: 0;
    font-size: 24px;
    color: rgb(0, 0, 0);
}

.info-contacto p {
    margin: 8px 0;
    font-size: 16px;
    color: rgb(1, 126, 1);
    display: inline-block;
}

/* Imagen principal */
.imagen-principal img {
    width: 100%;
    height: 400px;
    display: block;
    margin-top: 2%;
}

/* Encabezado institucional */
.encabezado-institucional {
    background-color: #ddf3df;
    color: #2e7d32; /*color de letras*/
    padding: 2pt 20px;
    text-align: center;
    border-bottom: 3px solid #ddf3df; /*borde entre la hamburguesa y el emcabezado*/
    width: 100%;
    margin: 0;
}

.encabezado-institucional h2 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}

.encabezado-institucional p {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
}


/* Contenedor de columnas */
.contenedor-columnas {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

/* Columnas individuales */
.columna {
    flex: 1;
    min-width: 280px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.columna h3 {
    font-size: 20px;
    color: #388E3C;
    margin-bottom: 10px;
}

.columna p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.columna ul {
    list-style: none;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Seccion videos de podología */
.videos-podologia {
    padding: 40px 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.videos-podologia h2 {
    font-size: 26px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.videos-podologia video {
    max-width: 400px;
    border: 2px solid #ccc;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}



/* Formulario de contacto*/
.formulario-caja {
    background-color: #ffffff;
    border: 2px solid #ccc;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contacto h2 {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 20px;
}

/* Footer general */
footer {
    background-color: #e8f5e9; 
    color: #2e7d32; /*color letras pequeñas fotter*/
    text-align: center;
    padding: 20px;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

/* Footer contacto */
.footer-contacto {
    margin-bottom: 20px;
}

.footer-contacto h3 {
    margin: 0;
    font-size: 20px;
    color: #2e7d32;
}

.footer-contacto p {
    margin-top: 10px;
    font-size: 16px;
}

/* Footer final */
.footer-final p {
    font-size: 14px;
    color: #2e7d32;
    margin: 0;
}

/* Menu de navegacion */
.menu-navegacion {
    background-color: #034201b9; /*color del fondo de la hamburguesa*/
    padding: 10px 0;
    text-align: center;
}

.menu-navegacion ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu-navegacion li a {
    color: white; /*letras de la hamburguesa*/
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Imagenes generales */
.imagen-principal img,
.presentacion img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.imagen-principal img:hover,
.presentacion img:hover {
    transform: scale(1.02);
}

/*Seccion ubicacion*/
.ubicacion {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contenedor-ubicaciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.bloque-ubicacion {
    max-width: 400px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloque-ubicacion h3 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.bloque-ubicacion img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cuadro-mapa {
    background-color: #e8f5e9;
    padding: 10px;
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

.cuadro-mapa a {
    text-decoration: none;
    color: #1b5e20;
    font-weight: bold;
}

.bloque-ubicacion:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Seccion contacto */
.contacto {
    background-image: url("img/Dentro\ de\ viñedos.png"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.contacto::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.6); 
    z-index: -1;
}

/* Seccion ubicación */
.ubicacion {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contenedor-ubicaciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.bloque-ubicacion {
    max-width: 400px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloque-ubicacion h3 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.bloque-ubicacion img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cuadro-mapa {
    background-color: #e8f5e9;
    padding: 10px;
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

.cuadro-mapa a {
    text-decoration: none;
    color: #1b5e20;
    font-weight: bold;
}

.bloque-ubicacion:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Seccion contacto */
.contacto {
    background-image: url("img/Dentro\ de\ viñedos.png"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.contacto::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.6); 
    z-index: -1;
}

/* Imagen fachada Viñedos */
.imagen-fachada-viñedos img {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.imagen-fachada-viñedos img:hover {
    transform: scale(1.02);
}

/* audios de podología */
.audios-podologia {
    text-align: center;
    padding: 40px 20px;
}

.contenedor-audios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.bloque-audio {
    max-width: 300px;
    text-align: center;
}

.bloque-audio audio {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/*  Para celular */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 10px;
    }

    .menu-navegacion ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .formulario-caja {
        width: 100%;
        padding: 10px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .pie-pagina {
        text-align: center;
        padding: 10px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    video {
        width: 100%;
        height: auto;
    }
}

/* Botón hamburguesa */
.hamburguesa {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

/* hamburguesa para celulares */
@media (max-width: 768px) {
    .hamburguesa {
        display: block; 
        margin: 10px;
    }

    .menu-navegacion ul {
        display: none; 
        flex-direction: column;
        background: #4CAF50;
        padding: 10px;
    }

    .menu-navegacion ul.activo {
        display: flex; 
    }
}

/* Luces navideñas */
.luces {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.luz {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: parpadeo 1s infinite alternate;
    box-shadow: 0 0 10px;
}

.rojo { background-color: red; box-shadow: 0 0 10px red; }
.verde { background-color: limegreen; box-shadow: 0 0 10px limegreen; }
.azul { background-color: dodgerblue; box-shadow: 0 0 10px dodgerblue; }
.amarillo { background-color: gold; box-shadow: 0 0 10px gold; }

.luz:nth-child(1) { animation-delay: 0s; }
.luz:nth-child(2) { animation-delay: 0.2s; }
.luz:nth-child(3) { animation-delay: 0.4s; }
.luz:nth-child(4) { animation-delay: 0.6s; }
.luz:nth-child(5) { animation-delay: 0.8s; }
.luz:nth-child(6) { animation-delay: 1s; }

@keyframes parpadeo {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.tratamientos table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-top: 10px;
}

.tratamientos th, .tratamientos td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}


.institucional-mercaderes-ficha {
    padding: 60px 20px;
    background-color: #ffffff;
}

.contenido-mercaderes {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.texto-mercaderes {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.texto-mercaderes h2 {
    font-size: 28px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.texto-mercaderes h3 {
    font-size: 20px;
    color: #388e3c;
    margin-top: 20px;
}

.texto-mercaderes p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.imagen-mercaderes {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.imagen-mercaderes img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}




.tarjeta-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
    border-left: 6px solid #a5d6a7; 
    margin: 20px auto;
    padding: 20px;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tarjeta-horizontal:hover {
    transform: scale(1.01);
}

.texto-tratamiento {
    flex: 1;
    padding: 10px 20px;
}

.texto-tratamiento h3 {
    font-size: 22px;
    color: #388E3C;
    margin-bottom: 10px;
}

    .texto-tratamiento p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}





.institucional-vinedos-ficha {
    padding: 60px 20px;
    background-color: #ffffff;
    }

.contenido-vinedos {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.texto-vinedos {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.texto-vinedos h2 {
    font-size: 28px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.texto-vinedos h3 {
    font-size: 20px;
    color: #388e3c;
    margin-top: 20px;
}

.texto-vinedos p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.imagen-vinedos {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.imagen-vinedos img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}




