@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700;900&display=swap');

/* --- GLOBALES --- */
body {
    font-family: 'League Spartan', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
}

.page-inner {
    min-height: 100vh;
}

/* --- BOTONES --- */
.btn-primary {
    background-color: #ec008c;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff33a8;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ec008c;
    color: #ec008c;
    padding: 13px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #ec008c;
    color: #fff;
}

/* --- HEADER / NAVEGACIÓN --- */
.top-nav {
    background-color: rgba(22, 22, 22, 0.9);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-left {
    display: flex;
    gap: 20px;
}

.nav-left a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-left a {
    position: relative;
    padding-bottom: 5px;
}

.nav-left a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ec008c;
    transition: width 0.3s ease;
}

.nav-left a:hover::after {
    width: 100%;
}

.nav-center h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    letter-spacing: 1px;
}

/* --- MENÚ MÓVIL Y HAMBURGUESA --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    display: none;
}

/* Reglas específicas para pantallas móviles (Tablets y Teléfonos) */
@media (max-width: 768px) {
    .desktop-only { 
        display: none !important; 
    }
    
    .hamburger-menu { 
        display: flex; 
    }

    .nav-center h3 {
        font-size: 18px;
    }

    /* Menú lateral que entra desde la izquierda */
    .mobile-menu-overlay {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%; 
        width: 250px;
        height: 100vh;
        background-color: rgba(17, 17, 17, 0.98);
        z-index: 1001;
        padding-top: 80px;
        transition: left 0.3s ease;
        border-right: 1px solid #333;
    }

    .mobile-menu-overlay.active {
        left: 0;
    }

    .mobile-menu-overlay a {
        color: #fff;
        text-decoration: none;
        padding: 20px 25px;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-overlay a:hover {
        color: #ec008c;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* --- HERO SECTION --- */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/img/hero_bg.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5em;
    font-style: italic;
    margin-bottom: 10px;
}

.hero-phone {
    color: #fff;
    font-size: 2.5em;
    margin: 10px 0 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- SECCIÓN SERVICIOS (FONDO MAGENTA) --- */
.services-section {
    background-color: #ec008c;
    color: #fff;
    padding: 80px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img-col, .service-text-col {
    flex: 1;
    min-width: 300px;
}

.service-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.circle-img {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}

.service-text-col h2 {
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 20px;
}

.service-text-col p, .service-text-col ul {
    font-size: 1.2em;
    line-height: 1.6;
}

/* --- GALERÍA CARRUSEL --- */
.gallery-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    color: #ec008c;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.swiper {
    width: 100%;
    max-width: 1000px;
    padding-bottom: 50px !important;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

:root {
    --swiper-navigation-color: #ec008c;
    --swiper-pagination-color: #ec008c;
}

/* --- CONTACTO --- */
.contact-section {
    padding: 60px 20px;
    background-color: #111;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-form-col, .contact-info-col {
    flex: 1;
    min-width: 300px;
}

.contact-form-col h2 {
    font-size: 2.5em;
    color: #ec008c;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    background-color: #222;
    color: #fff;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #888;
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.contact-info-col h3 {
    font-size: 2em;
    margin-top: 0;
    color: #fff;
}

.contact-info-col p {
    font-size: 1.2em;
    color: #ccc;
}

.phone-link {
    color: #ec008c;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

.contact-info-col h4 {
    font-size: 1.5em;
    margin-top: 30px;
    color: #fff;
}

/* --- FOOTER --- */
.footer {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.copyright-text {
    margin: 0;
    color: #aaa;
}

.developer-credit a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: #ec008c;
}

.galleries-wrapper {
    background-color: #f7f7f7; 
    padding: 60px 0;
    width: 100%;
}

.gallery-section {
    max-width: 1000px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.gallery-title {
    color: #ec008c;
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.title-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    width: 100px;
    margin: 0 auto 30px auto;
}

.gallery-container {
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Estilos para el carrusel principal de cada galería */
.gallery-main {
    height: 500px;
    width: 100%;
    margin-bottom: 10px;
}

.gallery-main .swiper-slide {
    text-align: center;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev {
    color: #ec008c;
    background-color: rgba(255,255,255,0.7);
    padding: 30px 20px;
    border-radius: 5px;
}

/* Estilos para el carrusel de miniaturas */
.gallery-thumbs {
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6; 
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #ec008c;
    box-sizing: border-box;
}

.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flechas para las miniaturas */
.thumb-arrow {
    color: #ec008c !important;
    transform: scale(0.5);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- CONTACTO --- */
.contact-section {
    padding: 60px 20px;
    background-color: #fff;
    color: #333;
}

.contact-main-title {
    color: #ec008c;
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 10px;
}

.contact-container {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-form-col, .contact-info-col {
    flex: 1;
    min-width: 300px;
}

.form-title {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #666;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #666;
}

.attach-link {
    color: #ec008c;
    cursor: pointer;
    font-weight: bold;
}

.btn-submit {
    background-color: #ec008c;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #ff33a8;
}

.recaptcha-text {
    font-size: 0.8em;
    text-align: center;
    color: #666;
}

.recaptcha-text a {
    color: #ec008c;
    text-decoration: none;
}

/* Información de Contacto Derecha */
.company-name {
    font-size: 3.5em;
    color: #ec008c;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}

.company-address {
    font-size: 1.1em;
    color: #666;
}

.company-phone {
    color: #ec008c;
    text-decoration: none;
    font-size: 1.1em;
}

.hours-title {
    font-size: 3.5em;
    color: #ec008c;
    margin: 30px 0 20px 0;
}

/* Horario Interactivo */
.schedule-container {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 30px;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #666;
}

.schedule-today-hours {
    color: #ec008c;
}

.schedule-arrow {
    color: #ec008c;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Lista de días desplegable */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: none;
}

.schedule-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    color: #666;
}

.day-name {
    width: 35px;
}

/* Clases dinámicas añadidas por JS */
.schedule-container.expanded .schedule-list {
    display: block;
}

.schedule-container.expanded .schedule-arrow {
    transform: rotate(180deg);
}

.closed-day {
    color: #999 !important; 
}

.today-highlight {
    font-weight: bold;
    color: #333 !important;
}

.whatsapp-info {
    font-size: 1.1em;
    color: #666;
}

.whatsapp-info p {
    margin: 5px 0;
}

/* --- FOOTER FINAL --- */
.footer {
    background-color: #f7f7f7;
    padding: 60px 20px 30px 20px;
    text-align: center;
}

.footer-title {
    color: #ec008c;
    font-size: 2.8em;
    margin-bottom: 10px;
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 1em;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: #ec008c;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
}

/* --- BURBUJA WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.attach-link {
    cursor: pointer;
    display: inline-block;
}

/* --- FLECHAS MODERNAS PARA EL CARRUSEL --- */
.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev {
    color: #fff !important;
    background-color: rgba(236, 0, 140, 0.7) !important; /* Fondo magenta con 70% de opacidad */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important; /* Las hace circulares */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease !important;
}

.gallery-main .swiper-button-next:hover,
.gallery-main .swiper-button-prev:hover {
    background-color: rgba(236, 0, 140, 1) !important;
    transform: scale(1.1); /* Efecto de rebote al pasar el mouse */
}

/* Achicar el icono interno de la flecha */
.gallery-main .swiper-button-next::after,
.gallery-main .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: 900;
}

/* En móviles, hacerlas súper discretas */
@media (max-width: 768px) {
    .gallery-main .swiper-button-next,
    .gallery-main .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
    }
    .gallery-main .swiper-button-next::after,
    .gallery-main .swiper-button-prev::after {
        font-size: 12px !important;
    }
}

/* --- PANTALLA DE LOGIN --- */
        .login-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: #0a0a0a;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999; /* Por encima de todo */
            transition: opacity 0.5s ease;
        }

        .login-box {
            background-color: #111;
            padding: 40px;
            border-radius: 10px;
            width: 100%;
            max-width: 350px;
            text-align: center;
            border: 1px solid #333;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        .login-logo {
            color: #ec008c;
            font-size: 2rem;
            font-weight: 900;
            margin-bottom: 10px;
        }

        .login-box input {
            width: 100%;
            box-sizing: border-box;
            margin-bottom: 15px;
        }

        .login-error {
            color: #ff4444;
            font-size: 0.9rem;
            margin-top: 15px;
            min-height: 20px;
        }