/* Reseteo de márgenes y padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Navegación */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* Secciones */
section {
    padding: 2rem 1rem;
    text-align: center;
}



section:nth-child(even) {
    background: #e4e4e4;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffa500; /* Cambia a un color naranja al pasar el mouse */
}

section {
    scroll-behavior: smooth;
}

#top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

#top-button:hover {
    opacity: 0.8;
}

/* Encabezado */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.9); /* Fondo transparente */
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: #C8A2C8;
}

/* Sección Hero */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color:#fff;
    
}



.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #C8A2C8;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: #b646b6;
}

/* Sección Sobre Mí */
.about {
    padding: 3rem 1rem;
    background-color: #f4f4f4;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Sección Servicios */
.services {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}



/* General: Estilo del carrusel */
.carousel {
    position: relative;
    overflow: hidden; /* Oculta las imágenes fuera del contenedor */
    width: 100%; /* Se ajusta al ancho del contenedor padre */
    max-width: 600px; /* Tamaño máximo del carrusel */
    height: 300px; /* Altura fija del carrusel */
    margin: 0 auto; /* Centrado horizontal */
}

.carousel-slide {
    display: flex; /* Coloca las imágenes en una fila horizontal */
    transition: transform 0.5s ease-in-out; /* Animación suave al cambiar de imagen */
}

.carousel-slide img {
    width: 100%; /* Cada imagen ocupa todo el ancho del carrusel */
    flex-shrink: 0; /* Evita que las imágenes se reduzcan */
    height: 100%; /* Ocupa toda la altura del contenedor */
    object-fit: cover; /* Asegura que las imágenes mantengan proporciones */
}

/* Opcional: Indicadores para mostrar el carrusel activo */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.carousel-indicators span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicators span.active {
    background: rgba(255, 255, 255, 1); /* Indicador activo más visible */
}



.service-item {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #b646b6;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    
}


/* Sección Portafolio */
.portfolio {
    padding: 3rem 1rem;
    background-color: #f4f4f4;
    text-align: center;
}

.portfolio h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-item img:hover {
    transform: scale(1.1);
}

.portfolio-item p {
    padding: 10px;
    font-size: 1rem;
    color: #555;
}

/* Sección Contacto */
.contact {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.contact-form button {
    padding: 10px;
    background-color: #C8A2C8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form button:hover {
    background-color: #b646b6;
}

/* Estilo para el enlace con el logo */
.enlace {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #f9f9f9;
}

.enlace h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Estilo del logo como botón */
.logo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #C8A2C8;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.logo-button:hover {
    background-color: #b646b6;
}

.logo-button .logo {
    width: 60px; /* Tamaño del logo */
    height: auto;
    margin-right: 10px; /* Espacio entre el logo y el texto */
}

.logo-button span {
    font-size: 1rem;
}

/* Puedes agregar más estilos si deseas personalizar aún más el logo */


/* Sección de contacto WhatsApp */
.whatsapp {

    padding: 3rem 1rem;
    text-align: center;
    background-color: #f4f4f4;
    
    
}

.whatsapp h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Estilo del botón de WhatsApp */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #C8A2C8; 
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #b646b6; 
}

.whatsapp-button .whatsapp-logo {
    width: 30px; /* Tamaño del logo */
    height: auto;
    margin-right: 10px; /* Espacio entre el logo y el texto */
}

.whatsapp-button span {
    font-size: 1rem;
}

/* Sección Sobre mí */
.sobre-mi {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
    text-align: justify;
    
}

.sobre-mi .container {
    display: flex; /* Hacer que los elementos se alineen en fila */
    align-items: center; /* Alinear verticalmente al centro */
    justify-content: space-between; /* Espacio entre texto e imagen */
    flex-wrap: nowrap; /* Evitar que los elementos se apilen en pantallas grandes */
    gap: 2rem; /* Espaciado entre elementos */
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-mi .text {
    flex: 2; /* Ocupa más espacio que la imagen */
    max-width: 60%; /* Limitar ancho del texto */
}

.sobre-mi .text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.sobre-mi .text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
    
}

.sobre-mi .photo {
    flex: 1; /* Ocupa menos espacio que el texto */
    max-width: 300px;
    text-align: center;
}

.sobre-mi .photo .circle-photo {
    width: 100%; /* Tamaño responsivo */
    max-width: 250px; /* Tamaño máximo */
    height: auto;
    border-radius: 50%; /* Convertir la imagen en un círculo */
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .sobre-mi .container {
        flex-wrap: wrap; /* Apilar elementos en pantallas pequeñas */
        text-align: center; /* Centrar contenido */
    }

    .sobre-mi .text,
    .sobre-mi .photo {
        max-width: 100%; /* Ocupan todo el ancho */
        flex: 1; /* Espacio igual */
        
    }

    .sobre-mi .photo {
        margin-top: 1.5rem; /* Agregar espacio arriba de la foto */
    }

    
}


/* Estilo general de la sección */
.schedule-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.schedule-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.schedule-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Estilo del formulario */
.schedule-form {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.schedule-form .form-group {
    display: flex;
    flex-direction: column;
}

.schedule-form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.schedule-form input,
.schedule-form textarea {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.schedule-form input:focus,
.schedule-form textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.schedule-form button.submit-button {
    background-color: #C8A2C8;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.schedule-form button.submit-button:hover {
    background-color: #b646b6;
}


/* Estilo para los enlaces del menú */
.nav-link {
    text-decoration: none;
    color: #333; /* Color predeterminado */
    padding: 10px 20px;
    display: inline-block;
}

.nav-link:hover {
    color: #fff;  /* Color cuando el mouse está sobre el enlace */
    background-color: #007bff; /* Fondo al pasar el mouse */
    transition: background-color 0.3s ease; /* Transición suave */
}

.nav-link.active {
    color: #fff;
    background-color: #0056b3; /* Fondo para el enlace activo */
}




form .form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    appearance: none; /* Oculta el estilo por defecto en algunos navegadores */
}

form .form-group select:focus {
    border-color: #9b59b6; /* Color lila para el borde al enfocar */
    outline: none;
    box-shadow: 0 0 5px rgba(155, 89, 182, 0.5);
}


html {
    scroll-behavior: smooth;
}



#calendar {
    max-width: 600px;
    margin: 0 auto;
}

#horas-disponibles {
    margin-top: 20px;
    text-align: center;
}



/* General para la sección */
.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Cambia a columna en pantallas pequeñas */
    }

    .hero-content div {
        text-align: center; /* Asegura que todo quede centrado */
    }

    .hero img {
        margin-top: 20px; /* Da espacio entre el texto y la imagen */
        width: 180px; /* Tamaño más pequeño en móviles */
        height: 270px;
    }
}











