html {
    scroll-behavior: smooth;
}

@import url('fonts/le-petit-cochon.otf');

@font-face {
    font-family: "le-petit-cochon";
    src: url("fonts/le-petit-cochon.otf") format("opentype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: linear-gradient(rgb(86, 198, 218), rgba(155, 125, 125, 0.5)), url('img/fondo1.webp');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 300px;
}


header {
    background-image: url('img/imagen-header.webp');
    background-size: cover;
    background-position: bottom;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgb(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: auto;
    padding: 0 60px;
}

.logo-img {
    scale: 1.3;
    height: 140px;
    width: auto;
    display: block;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 1));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.2);
    /* El logo crece un poquito al pasar el mouse */
}

.nav-links {
    background-color: rgba(26, 108, 156, 0.4);
    /* Una cajita negra suave */
    padding: 10px 20px;
    border-radius: 50px;
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    color: white;
    /* Cambia el color a uno sólido que resalte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Sombra: derecha, abajo, difuminado, color */
    font-weight: 600;
    /* Un poco más de grosor ayuda a la lectura */
}

.nav-links a {
    color: rgb(65, 221, 18);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 1s ease;
}

.nav-links a:hover {
    color: #effa5d;
}

.btn-menu {
    background-color: #e67e22;
    padding: 8px 15px;
    border-radius: 20px;
    color: white !important;

}

.btn-menu:hover {
    background-color: #d35400;
}

.hero {
    background-image: linear-gradient(rgba(163, 186, 236, 0.288), rgba(155, 125, 125, 0.5)), url('img/header-principal\ \(1\).webp');
    background-position: center 20%;
    height: 60vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(247, 247, 247);
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    letter-spacing: 6px;
    font-size: 5rem;
    color: rgb(78, 196, 141);
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 1);

}

h1 {
    font-family: 'le-petit-cochon', sans-serif;
    font-size: x-large;
}


.container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;

}

.titleCatalogo {
    font-size: 30px;
    text-decoration: underline;
}

/* Estilos para la Filosofía */

.tagline {
    font-style: oblique 20px;
    font-size: 25px;
    color: #e7d47f;
    margin-bottom: 10px;
}

.descripcion-filosofica {
    font-size: 1.3rem;
}

.columnas-info {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.col {
    background: rgba(155, 125, 125, 0.8);
    padding: 20px;
    border-radius: 15px;
    flex: 1;
}

.icono {
    display: block;
    margin-bottom: 10px;
    font-size: 3rem;
}

/* Estilos para Servicios Adicionales */

p {
    font-size: 18px;
    font-weight: 500;
}

.servicios-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.servicio-card {
    flex: 1;
    min-width: 300px;
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
    transition: transform 0.3s ease;
}

.servicio-card:hover {
    transform: translatey(-10px);
}

.glitter {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent), url('img/glitter.webp');
}

.arte {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent), url('img/arte.jpg');
}

.servicio-texto {
    color: rgb(255, 255, 255);
    padding: 20px;
    text-align: left;

}

.grid-juegos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.card {
    margin-top: 20px;
    background-color: #25D366;
    padding: 0px;
    color: rgb(245, 245, 245);
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 15px 15px 0 0;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    color: #e67e22;
    font-size: 1.5rem;
    transition: transform 0.5s;
}

/*nuevo*/
.fila-ubuntu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.fila-invertida {
    flex-direction: row-reverse;
}

.col-imagen img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
    display: block;
}

.col-texto {
    padding: 20px;
    text-align: left;
}

.col-texto h3 {
    font-size: 2rem;
    color: #e67e22;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}


.col-texto p {
    font-size: 1.2rem;
    color: #555;
}

@media (max-width: 768px) {

    .logo-img {
        height: 120px;
        width: auto;
        scale: 1.4;
        transition: transform 0.3s ease;
        margin-left: -5px;
    }

    nav {
        padding: 5px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        background: #e67e22;
        color: white;
        border: 2px solid white;
        font-size: 2.2rem;
        padding: 10px 18px;
        border-radius: 15px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        animation: pulsoMenu 1.5s infinite;
    }
    .menu-toggle:hover, .menu-toggle:active {
        background-color: #d35400;
        transform: scale(1.05);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgb(26, 108, 156, 0.95);
        padding: 20px;
        border-radius: 0 0 20px 20px;
        gap: 15px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        font-size: 1.2rem;
        display: block;
        width: 100%;
        text-align: center;
    }
}

@keyframes pulsoMenu {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(230, 126, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}
    /*Estilo del botón hamburguesa */


    /* Pie de pagina */

    .btn-whatsapp {
        display: inline-block;
        background-color: #25D366;
        color: white;
        padding: 12px 24px;
        text-decoration: none;
        border-radius: 50px;
        font-weight: bold;
        margin-top: 20px;
        transition: transform 0.3s ease;
    }

    /*Botón Flotante de Whatsapp*/

    .whatsapp-float {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 40px;
        right: 40px;
        background-color: #25D366;
        border-radius: 50px;
        text-align: center;
        font-size: 30px;
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.9);
        z-index: 10000;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        background-color: #128c7e;
    }

    .whatsapp-icon {
        width: 35px;
        height: 35px;
    }
    @media (min-width: 769px) {
        .menu-toggle {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .whatsapp-float {
            width: 50px;
            height: 50px;
            bottom: 20px;
            right: 20px;
        }
    }

    /*Como funciona Ubuntu*/

    .pasos-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
        margin-top: 50px;
    }

    .titulo-seccion {
        text-align: center;
        justify-content: center;
        margin-bottom: 30px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        font-family: 'le-petit-cochon', sans-serif;
        font-size: 4rem;
        color: #25D366;
        background-color: rgba(26, 108, 156, 0.4);
        /* Una cajita negra suave */
        padding: 10px 20px;
        border-radius: 50px;
        display: flex;
        gap: 20px;
        align-items: center;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        /* Sombra: derecha, abajo, difuminado, color */
        font-weight: 600;
    }

    .paso {
        flex: 1;
        min-width: 220px;
        background: rgba(255, 255, 255, 0.9);
        padding: 30px;
        border-radius: 20px;
        position: relative;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border: 2px solid #e67e22;
        transition: transform 0.3s ease;

    }

    .paso:not(.last-paso)::after {
        content: "➜";
        position: absolute;
        right: -35px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 30px;
        color: #e67e22;
        font-weight: bold;
    }

    @media (max-width: 992px) {
        .pasos-container {
            flex-direction: column;
            align-items: center;
        }

        .paso {
            width: 100%;
            max-width: 400px;
        }

        .paso:not(.last-paso)::after {
            content: "⬇";
            right: auto;
            left: 50%;
            bottom: -35px;
            top: auto;
            transform: translateX(-50%);
        }
    }

    .paso:hover {
        transform: translatey(-5px);
    }

    .paso-numero {
        position: absolute;
        top: -15px;
        left: -15px;
        background-color: #e67e22;
        color: #128c7e;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        font-family: 'le-petit-cochon', sans-serif;
        font-size: 2.2rem;
    }

    .paso-icono {
        font-size: 3rem;
        display: block;
        margin-bottom: 15px;
    }

    .paso h3 {
        color: #24486b;
        margin-bottom: 10px;
    }

    .paso p {
        font-size: 1rem;
        line-height: 1.4;
    }

    @media (max-width: 600px) {
        .pasos-container {
            flex-direction: column;
            padding-left: 20px;
        }
    }

    /*Estilos de la página Galería*/

    .galeria-page {
        padding-top: 40px;
        text-align: center;
    }

    .filtros-galeria {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 10px 25px;
        border: 2px solid #e67e22;
        background: white;
        color: #e67e22;
        border-radius: 50px;
        cursor: pointer;
        font-weight: bold;
        transition: 0.3s;
    }

    .filter-btn.active,
    .filter-btn:hover {
        background: #e67e22;
        color: white;
    }

    /* Grid de la Galería Full */
    .galeria-full-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .column {
        flex: 1;
        min-width: 300px;
        display: none;
    }

    .show {
        display: block;
    }

    .galeria-card {
        border-radius: 20px !important;
        overflow: hidden !important;
        position: relative;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        background-color: transparent !important;
    }

    .galeria-card img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        display: block;
        border-radius: 20px !important;
    }

    .card-desc {
        background: rgba(255, 255, 255, 0.9);
        padding: 10px;
        font-weight: bold;
        color: #24486b;
    }

    /* --- PAGINA MÁS SERVICIOS --- */
    .mas-servicios {
        padding-top: 30px;
    }

    .servicio-detalle {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 30px;
        padding: 40px;
        margin-bottom: 50px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border: 2px solid transparent;
        transition: transform 0.3s;
    }

    .glitter-seccion {
        border-color: #f39c12;
    }

    .artistas-seccion {
        border-color: #9b59b6;
    }

    .servicio-fila {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .badge {
        display: inline-block;
        background: #e67e22;
        color: white;
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .servicio-info h2 {
        font-family: 'le-petit-cochon', sans-serif;
        font-size: 3rem;
        color: #24486b;
        margin-bottom: 20px;
    }

    .lista-detalles {
        list-style: none;
        margin-top: 20px;
    }

    .lista-detalles li {
        margin-bottom: 12px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .img-serv-destacada {
        width: 100%;
        max-width: 450px;
        height: 400px;
        object-fit: cover;
        border-radius: 25px;
        /* Redondeo perfecto */
        box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.05);
    }

    .cta-servicios {
        text-align: center;
        margin-top: 60px;
        background: rgba(26, 108, 156, 0.8);
        padding: 40px;
        border-radius: 30px;
        color: white;
    }

    .cta-servicios h3 {
        font-family: 'le-petit-cochon', sans-serif;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    /* Responsive para móvil */
    @media (max-width: 768px) {
        .servicio-fila {
            flex-direction: column;
        }

        .servicio-fila.fila-invertida {
            flex-direction: column;
        }

        .img-serv-destacada {
            height: 250px;
        }
        .fila-ubuntu {
            flex-direction: column !important;
            gap: 20px;
            margin-bottom: 40px;
        } 
        .fila-invertida {
            flex-direction: column !important;    
        }
        .col-imagen, .col-texto {
            width: 100%;
            text-align: center;
        }
        .col-imagen img {
            height: auto;
            max-height: 300px;
            width: 100%;
            object-fit: cover;
            border-radius: 20px;
        }
        
    }

    /*Página Nosotros */

    .nosotros-page {
        padding: 40px 20px;
    }

    .nosotros-grid {
        display: flex;
        gap: 50px;
        align-items: center;
        margin-top: 30px;
    }

    .nosotros-texto {
        flex: 1;
        text-align: left;
    }

    .nosotros-texto p {
        margin-bottom: 20px;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .nosotros-imagenes {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .img-wrapper {
        border-radius: 20px;
        overflow: hidden;
        line-height: 0;
    }

    .img-nosotros {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 20px !important;
        box-shadow: 10px 10px 0px #e67e22;
        display: block;
    }

    .separador {
        margin: 60px 0;
        border: 0;
        height: 2px;
        background-image: linear-gradient(to right, transparent, #25d366, transparent);
    }

    .significado-caja {
        background: rgba(255, 255, 255, 0.8);
        padding: 40px;
        border-radius: 30px;
        border: 3px dashed #e67e22;
        margin-top: 20px;
    }

    .quote {
        font-family: 'le-petit-cochon', sans-serif;
        font-size: 2.5rem;
        color: #24486b;
        margin-bottom: 20px;
    }

    /* Pagina Nosotros Ajuste móviles */
    @media (max-width: 768px) {
        .nosotros-grid {
            flex-direction: column;
        }

        .nosotros-imagenes {
            grid-template-columns: 1fr;
        }
    }

    /* Pie de Página */

    footer {
        background-image: linear-gradient(rgba(0, 0, 0, 0.048), rgba(0, 0, 0, 0.3)), url('img/imagen-footer.webp');
        height: auto;
        background-size: cover;
        background-position: center 30%;
        box-shadow: 0 4px 10px rgb(0, 0, 0, 0.3);
        position: relative;
        color: white;
        text-align: center;
        padding: 60px 20px;
        z-index: 1;
    }

    footer .btn-whatsapp {
        margin-bottom: 20px;
    }

    .footer {
        padding: 10px 0px;
        text-align: center;
    }

    .copyright {
        font-size: 0.8rem;
        color: #bdc3c7;
    }