/* General */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #DDB19C; /* rosa  */
    color: #040404b8;
}

h1 {
    font-style: italic;
    font-family: 'monserrat';
    font-size:x-large;
    color: white;
    
}

h3 {
    text-align: center;
    color: #040404b8; 
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0404048d;
    padding: 15px 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    height: 200px;
}
nav {
    display: flex;
    align-items: center;
}
/* Estilos generales del menú */
.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Cuando el menú está activo, se muestra */
.menu.active {
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: #DDB19C;
    font-weight: bold;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 60px; /* Debajo del header */
        left: 0; /* Cambiado de right a left */
        width: 100%; /* Ocupa todo el ancho */
        background-color: rgb(255, 255, 255);
        flex-direction: column;
        padding: 10px;
        z-index: 2000;
        border-radius: 0; /* Quitamos el border-radius */
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 0; /* Cambiado de 10px 0 a 0 */
        text-align: center;
        width: 100%; /* Asegura que los elementos del menú ocupen todo el ancho */
    }

    .menu a {
        color: #DDB19C;
        font-size: 1.1em;
        display: block; /* Hace que el enlace ocupe todo el ancho disponible */
        padding: 8px 0; /* Reducido de 10px a 8px */
    }

    .button-pacientes {
        display: inline-block;
        margin: 5px 0;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none; /* Oculta el botón hamburguesa */
    }

    .menu {
        display: flex;
        flex-direction: row;
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;

    
}

/* Sección Bienestar */
.bienestar {
    position: relative;
    text-align: center;
    color: white;
    font-size:x-large;
}

.background-video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    opacity: 0.7;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    
}

/* Sección Servicios */
.services {
    padding: 40px;
    
}

.escritos {
    padding: 40px;
}

.escritos-intro {
    max-width: 900px;
    margin: 0 auto 10px;
    text-align: center;
    line-height: 1.6;
}

.escritos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px;
}

.escrito-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.escrito-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.12);
}

.escrito-icon {
    font-size: 32px;
}

.escrito-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #655148;
    font-weight: 700;
}

.escrito-title {
    margin: 0;
    color: #040404b8;
}

.escrito-desc {
    margin: 0;
    color: #040404b8;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-item {
    background: white;
    padding: 20px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.service-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

/* Sección Sobre Mí */
.about {
    padding: 40px;
    text-align: left;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-text h4 {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: space-between;
   

}

.about-text p {
    line-height: 1.7;
    margin: 12px 0;
}

 
.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.cv{
    background-color: #655148;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #040404b8;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease;
}
.cv:hover {
    background: #0404046a;
}


/* Sección Contacto */
.contact {
    padding: 40px;
    text-align: center;
    color: #040404b8;
    a {
        color: inherit;         /* Hereda el color del texto del contenedor */
        text-decoration: none;  /* Quita el subrayado */
      }
      
      a:visited {
        color: inherit;         /* Evita que se ponga azul o violeta */
        text-decoration: none;  /* Evita que se subraye */
      }
}

.map-container {
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.map-container iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .map-container {
        width: 90%;
    }
}

/* Footer */
footer {
    text-align: center;
    background: whitesmoke;
    color: #DDB19C;
    padding: 10px;
    font-family:'verdana';
    text-decoration: none;
    a {
        color: inherit;         /* Hereda el color del texto del contenedor */
        text-decoration: none;  /* Quita el subrayado */
      }
      
      a:visited {
        color: inherit;         /* Evita que se ponga azul o violeta */
        text-decoration: none;  /* Evita que se subraye */
      }
      a:hover {
        text-decoration: underline; /* Opcional, para que se subraye solo al pasar el mouse */
        color: #040404b8;             /* También podés poner un color personalizado */
      }
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.whatsapp-float img {
    width: 100px
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
    }
}
@media (min-width: 768px) {
    .menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
    }
    
    .menu-toggle {
        display: none; /* Oculta la hamburguesa en escritorio */
    }
}
h4{
    text-align: left;
    size: 20px;
    color: #040404b8;
}
sobreMi {
    text-align: left;
    width: 50%;
}

.button-pacientes {
    color: white;
    background-color: #655148;
    padding: 8px 15px;
    border-radius: 5px;
  }
  .button-pacientes:hover {
    background: #655148;
    color: white;
}
    .contact .button-pacientes,
    .map-directions .button-pacientes,
    .map-directions a.button-pacientes {
        color: #fff !important;
    }
/* Estilos base omitidos para brevedad (idénticos a los tuyos originales) */
/* Agrego solo lo nuevo para los modales */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #655148;
    text-align: center;
}

#modalEscritos .modal-content {
    text-align: left;
    max-height: 80vh;
    overflow: auto;
}

#modalEscritos h4 {
    margin-top: 0;
    color: #040404b8;
}

.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #040404b8;
}
.service-item h4 {
    cursor: pointer;
  }
.sound-toggle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(128, 128, 128, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2001;
    color: #DDB19C;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    background: rgba(128, 128, 128, 1);
    transform: scale(1.1);
}
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
}
.botonesProfesionales {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}	