/*
 * =========================================
 * HOJA DE ESTILOS - HAPPYJUMPING (Versión Final)
 * =========================================
 * Extraído de tu nuevo diseño.
 */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
    position: relative;
    padding-top: 100px; /* ¡ESTA LÍNEA ES LA SOLUCIÓN! */
}

:root {
    --rosa: #ff3c8d;
    --celeste: #00c6ff;
    --amarillo: #ffeb3b;
    --naranja: #ff8c00;
    --verde: #00d084;
    --morado: #7b2ff7;
}

/* FUENTE PERSONALIZADA (Bouncy) */
@font-face {
    font-family: 'Bouncy';
    /* Ruta relativa desde /public/css/ (donde está este archivo) 
      hasta /public/fonts/ (donde subiste la fuente)
    */
    src: url('../fonts/Bouncy-Thin-PERSONAL_USE_ONLY.otf') format('truetype');
}

.fuente_bouncy {
    font-family: 'Bouncy', sans-serif;
}


/* NAVBAR */
.navbar {
    background: linear-gradient(90deg, var(--rosa), var(--celeste), var(--amarillo));
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.navbar-brand img {
    height: 70px;
    margin-right: 10px;
}
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    margin-right: 20px;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--amarillo) !important;
}

/* HERO */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* Ruta relativa a la imagen del banner */
    background: url('../img/banner.jpeg') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease;
}
.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
}
.hero p {
    font-size: 1.3rem;
    margin-top: 15px;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-top: 70px;
    margin-bottom: 40px;
    color: var(--morado);
    text-transform: uppercase;
}

/* SECCIONES */
.info-section {
    padding: 30px 0;
    position: relative;
}

.info-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 60px; /* ← Ajusta aquí el espacio interior (padding general) */
    max-width: 850px;  /* ← AJUSTA AQUÍ el ancho total de la tarjeta */
    margin: 0 auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInCard 1.5s ease;
    z-index: 2;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}

.info-card img {
    border-radius: 15px;
    width: 100%;
    max-width: 320px; /* ← AJUSTA AQUÍ el tamaño máximo de la imagen */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

.info-card .text {
    flex: 1;
    max-width: 420px;
}

.info-card h3 {
    color: var(--rosa);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1.1rem;
    color: #555;
}

.info-card .btn {
    background: var(--celeste);
    border: none;
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 10px;
}

.info-card .btn:hover {
    background: var(--rosa);
}

/* MANCHAS EXTERNAS */
.paint {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    animation: float 10s infinite ease-in-out;
    pointer-events: none;
    /* Ruta relativa a la imagen de la mancha */
    background-image: url('../img/mancha.webp');
}

.paint.cumple-top-left {
    top: -60px;
    left: -20px;
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

.paint.cumple-bottom-right {
    bottom: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    background-image: url('../img/mancharosa.png');
    animation-delay: 3s;
}

.paint.entradas-top-left {
    top: -50px;
    left: -30px;
    width: 230px;
    height: 230px;
    animation-delay: 2s;
}

.paint.entradas-bottom-right {
    bottom: -70px;
    right: -60px;
    width: 230px;
    height: 230px;
    animation-delay: 4s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* FOOTER */
footer {
    background: linear-gradient(90deg, var(--morado), var(--rosa), var(--naranja));
    color: white;
    padding: 40px 0;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--amarillo);
}

footer a i {
    transition: color 0.3s;
}

footer a:hover i {
    color: var(--amarillo);
}

/*
 * =========================================
 * ESTILOS AÑADIDOS PARA LA PÁGINA "ENTRADAS"
 * =========================================
 */

/* TÍTULO (Aseguramos que exista) */
.section-title {
    text-align: center;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 30px;
    color: var(--morado);
    text-transform: uppercase;
}

/* TARJETAS GRANDES (Para Precios y Promos) */
.card-grande {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    height: 600px; /* altura fija */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9; /* Color de fondo mientras carga la img */
}

.card-grande:hover {
    transform: scale(1.02);
}

.card-grande img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* muestra toda la imagen sin recortar */
}

/* MANCHAS (Aseguramos las nuevas clases de esta página) */
.paint.top-left {
    top: -60px;
    left: -20px;
    width: 250px;
    height: 250px;
    background-image: url('../img/mancha.webp');
}
.paint.bottom-right {
    bottom: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    background-image: url('../img/mancha.webp');
}

/*
 * =========================================
 * ESTILOS AÑADIDOS PARA LA PÁGINA "CONÓCENOS"
 * =========================================
 */

/* Header (Hero) de la página "Conócenos" */
.header-conocenos {
    height: 90vh;
    /* Ruta dinámica a la imagen de fondo */
    background: url('../img/fondo_conocenos.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}
.header-conocenos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.header-conocenos h1 {
    position: relative;
    z-index: 1;
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    animation: fadeInUp 1.5s ease;
}

/* Contenido de la página (Misión/Visión) */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
}
.about-text h2 {
    color: var(--morado);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Sección del Mapa */
.map-container {
    margin-top: 80px;
    text-align: center;
}
.map-container h2 {
    color: var(--celeste);
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 3rem;
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* * Manchas de pintura específicas para "Conócenos"
 * Usamos clases nuevas para no entrar en conflicto con otras páginas
*/
.paint.conocenos-top-left {
    top: -60px;
    left: -20px;
    width: 200px;
    height: 200px;
    /* Usamos la URL de Flaticon que especificaste */
    background-image: url('https://cdn-icons-png.flaticon.com/512/5231/5231579.png');
    animation-delay: 1s;
}
.paint.conocenos-bottom-right {
    bottom: -50px;
    right: -30px;
    width: 230px;
    height: 230px;
    /* Usamos la URL de Flaticon que especificaste */
    background-image: url('https://cdn-icons-png.flaticon.com/512/5231/5231583.png');
    animation-delay: 3s;
}

/*
 * =========================================
 * ESTILOS AÑADIDOS PARA LA PÁGINA "CUMPLEAÑOS"
 * =========================================
 */

/* Header (Hero) de la página de cumpleaños */
.header-cumpleanos {
    height: 90vh;
    /* Usa la misma imagen de banner que el index */
    background: url('../img/banner.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}
.header-cumpleanos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.header-cumpleanos h1 {
    position: relative;
    z-index: 1;
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    animation: fadeInUp 1.5s ease;
}

/* Tarjetas de Paquetes */
.package-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}
.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.package-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 0;
}
.package-body {
    padding: 35px 40px;
}
.package-body h3 {
    color: var(--morado);
    font-weight: 700;
    margin-bottom: 15px;
}
.package-body ul {
    margin: 10px 0 10px 20px;
    line-height: 1.6;
}
.package-body li {
    margin-bottom: 5px;
}
.price {
    font-weight: 700;
    color: var(--naranja);
    margin-top: 10px;
    font-size: 1.1rem;
}
.btn-contratar {
    background: linear-gradient(90deg, var(--rosa), var(--naranja));
    color: white;
    font-weight: 600;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    transition: background 0.3s ease;
}
.btn-contratar:hover {
    background: linear-gradient(90deg, var(--naranja), var(--rosa));
}

/* Tarjeta extra colorida */
.extra-card {
    background: linear-gradient(135deg, var(--morado), var(--rosa));
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    max-width: 900px;
}