/* --- VARIABLES Y CONFIGURACIÓN GENERAL --- */
:root {
    --color-principal: #FADADD; /* Rosa pálido */
    --color-acento: #E83E8C; /* Rosa intenso */
    --color-texto-oscuro: #333333;
    --color-texto-claro: #FFFFFF;
    --color-fondo-claro: #FFFFFF;
    --color-fondo-oscuro: #F8F9FA;
    --font-titulos: 'Lora', serif;
    --font-cuerpo: 'Montserrat', sans-serif;
    --shadow-suave: 0 4px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cuerpo);
    color: var(--color-texto-oscuro);
    background-color: var(--color-fondo-claro);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADER Y NAVEGACIÓN --- */
.main-header {
    background-color: var(--color-fondo-claro);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-acento);
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    color: var(--color-texto-oscuro);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-acento);
}

.nav-button {
    background-color: var(--color-acento);
    color: var(--color-texto-claro);
    padding: 10px 20px;
    border-radius: 50px;
    margin-left: 15px;
}

.nav-button:hover {
    color: var(--color-texto-claro);
    background-color: #d6337e;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-cuerpo);
    font-size: 1rem;
    font-weight: 500;
    margin: 0 15px;
    color: var(--color-texto-oscuro);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-fondo-claro);
    min-width: 180px;
    box-shadow: var(--shadow-suave);
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--color-texto-oscuro);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
}

.dropdown-content a:hover {
    background-color: var(--color-principal);
    color: var(--color-acento);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- SECCIÓN HERO --- */
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('imagenes/banner.png');
    background-size: cover;
    background-position: center;
    color: var(--color-texto-claro);
    text-align: center;
    padding: 150px 20px;
}

.hero-content h1 {
    font-family: var(--font-titulos);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --- SECCIÓN GALERÍA --- */
.gallery-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-titulos);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-texto-oscuro);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.profile-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-suave);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card a {
    text-decoration: none;
    color: inherit;
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* <-- LÍNEA AÑADIDA */
    aspect-ratio: 400 / 520;
    display: block;
}


.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px 20px 20px;
    color: var(--color-texto-claro);
}

.card-overlay h3 {
    font-family: var(--font-titulos);
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.card-overlay p {
    margin: 0;
    font-weight: 300;
}

/* --- SECCIÓN CTA --- */
.cta-section {
    background-color: var(--color-principal);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-titulos);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.btn {
    background-color: var(--color-acento);
    color: var(--color-texto-claro);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #d6337e;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-fondo-oscuro);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-content a {
    color: var(--color-texto-oscuro);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

.footer-content a:hover {
    color: var(--color-acento);
}

.footer-content span {
    color: #ccc;
}

.copyright {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

/* --- BOTÓN TELEGRAM --- */
.telegram-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #0088cc;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}
.telegram-flotante:hover {
    transform: scale(1.1);
}

/* --- NUEVA SECCIÓN: TODAS LAS MASAJISTAS --- */
.all-masajistas-section {
    background-color: var(--color-fondo-oscuro); /* Un fondo ligeramente diferente para distinguir la sección */
    padding-top: 60px; /* Ajuste del padding para esta sección */
}

.all-masajistas-section .section-title {
    margin-bottom: 40px;
    color: var(--color-texto-oscuro);
}

/* --- DISEÑO RESPONSIVO --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================= */
/* --- ESTILOS PÁGINAS DE CONTENIDO (FAQ, Publicite, etc) --- */
/* ================================================= */

.page-content-section {
    padding: 60px 0;
    background-color: var(--color-fondo-oscuro);
}

.page-content-section .container {
    max-width: 800px;
    background-color: var(--color-fondo-claro);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-suave);
}

.page-content-section .section-title {
    margin-bottom: 20px;
}

.page-content-section .intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.7;
}

.content-section h2 {
    font-family: var(--font-titulos);
    color: var(--color-acento);
    border-bottom: 2px solid var(--color-principal);
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.content-section p, .content-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.content-section ul {
    list-style-type: '✓'; /* Viñeta moderna */
    padding-left: 25px;
    margin-top: 20px;
}

.content-section ul li {
    padding-left: 15px;
    margin-bottom: 15px;
}

.contact-button-container {
    text-align: center;
    margin-top: 50px;
}

.btn-whatsapp {
    background-color: #25D366;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    color: white;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Estilos para la página de FAQ */
.faq-container {
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.faq-question {
    font-size: 1.3rem;
    color: var(--color-acento);
    margin-bottom: 10px;
    font-family: var(--font-titulos);
}
.faq-answer {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    padding-left: 10px;
}
/* ================================================= */
/* --- ESTILOS ESPECÍFICOS PARA PÁGINAS DE PERFIL --- */
/* ================================================= */

.profile-section {
    padding: 60px 0;
    background-color: var(--color-fondo-oscuro);
}

.profile-section .container {
    max-width: 1000px;
    background-color: var(--color-fondo-claro);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-suave);
}

.profile-card-details {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se apilen en pantallas pequeñas */
    gap: 40px;
    align-items: flex-start;
}

.profile-card-image {
    flex: 1 1 350px; /* Flex-grow, flex-shrink, base-width */
    max-width: 400px; /* Ancho máximo para la imagen */
    text-align: center;
}

.profile-card-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-suave);
    border: 1px solid var(--color-borde);
}

.profile-card-info {
    flex: 2 1 450px; /* Más espacio para la información */
}

.profile-card-info h1 {
    font-family: var(--font-titulos);
    font-size: 2.8rem;
    color: var(--color-principal);
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

.profile-card-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
    text-align: left;
}

.profile-card-info p strong {
    color: var(--color-acento);
    min-width: 120px; /* Asegura alineación de etiquetas */
    display: inline-block;
}

.profile-card-info .description {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.profile-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px; /* Espacio entre los botones */
    flex-wrap: wrap;
    justify-content: flex-start; /* Alinea botones a la izquierda */
}

.profile-buttons .btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex; /* Para centrar ícono y texto */
    align-items: center;
    gap: 8px; /* Espacio entre ícono y texto */
}

.profile-buttons .btn-primary {
    background-color: var(--color-acento);
    color: white;
}

.profile-buttons .btn-primary:hover {
    background-color: #d12e6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-buttons .btn-secondary {
    background-color: #25D366;
    color: white;
}

.profile-buttons .btn-secondary:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Galería dentro del perfil */
.profile-gallery {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.profile-gallery .section-title {
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: var(--color-principal);
}

.profile-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Columnas responsivas */
    gap: 20px;
}

.profile-gallery .gallery-item-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-suave);
    transition: transform 0.2s ease;
}

.profile-gallery .gallery-item-link:hover {
    transform: scale(1.03);
}

.profile-gallery .gallery-item-link img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top; /
    display: block;
    border-radius: 8px;
}

/* Estilos para el Lightbox (Pop-up de imagen) */
.lightbox {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 9999; /* Por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita scroll si la imagen es muy grande */
    background-color: rgba(0,0,0,0.8); /* Fondo oscuro semitransparente */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    animation: zoomIn 0.3s ease-out; /* Animación de entrada */
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}

.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive para perfil */
@media (max-width: 992px) {
    .profile-card-details {
        flex-direction: column;
        align-items: center;
    }
    .profile-card-image, .profile-card-info {
        max-width: 100%;
        flex: 1 1 100%;
        text-align: center; /* Centra la imagen en móvil */
    }
    .profile-card-info h1,
    .profile-card-info p {
        text-align: center; /* Centra el texto en móvil */
    }
    .profile-buttons {
        justify-content: center; /* Centra los botones en móvil */
    }
    .profile-card-image img {
        max-width: 80%; /* Reduce el tamaño de la imagen de perfil en móvil */
    }
}

@media (max-width: 576px) {
    .profile-section .container {
        padding: 30px 20px;
    }
    .profile-card-info h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    .profile-card-info p {
        font-size: 1rem;
    }
    .profile-buttons .btn {
        width: 100%; /* Botones de ancho completo en móviles pequeños */
        justify-content: center;
    }
    .profile-gallery .gallery-grid {
        grid-template-columns: 1fr; /* Una columna en pantallas muy pequeñas */
    }
    .profile-gallery .gallery-item-link img {
        height: 250px; /* Ajusta la altura de las imágenes de la galería */
    }
    .close-button {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* ================================================= */
/* --- ESTILOS LIGHTBOX CON NAVEGACIÓN --- */
/* ================================================= */

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(30, 30, 30, 0.5);
    color: white;
    font-size: 30px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none; /* Evita que el texto de la flecha se seleccione */
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}