/* ========================================
   Hakuna Shows - Custom Styles
   ======================================== */

/* CSS Variables - Paleta basada en el logo (neutro/universal) */
:root {
    --primary: #8a63a2;
    /* Violeta del logo */
    --secondary: #8ba23a;
    /* Verde del logo */
    --accent: #5DADE2;
    /* Celeste complementario */
    --bg-gradient-start: #FFFFFF;
    --bg-gradient-end: #F5F5F0;
    /* Crema muy suave */
    --bg-soft-neutral: #F9F9F7;
    /* Gris cálido muy claro */
    --bg-soft-green: #F4F7F0;
    /* Verde muy suave */
    --bg-soft-purple: #F5F3F7;
    /* Violeta muy suave */
    --bg-soft-blue: #F0F7FA;
    /* Celeste muy suave */
    --text-dark: #2D3436;
    --text-muted: #636E72;
    --text-accent: #8a63a2;
    --price-color: #8a63a2;
}

/* Animated Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 50%, var(--bg-soft-lavender) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
}

/* Glow Effect */
.glow-pink {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* 3D Hover Effect for Cards */
.card-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

/* Theme Card Hover */
.theme-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-card:hover {
    transform: scale(1.05);
}

.theme-card:hover .theme-overlay {
    opacity: 1;
}

/* Neon Text Effect */
.neon-text {
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft-neutral);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Hero Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    will-change: transform;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation for CTAs */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(124, 58, 237, 0);
    }
}

.pulse-cta {
    animation: pulse-glow 2s infinite;
}

/* Price Tag Style */
.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--price-color);
}

/* Service Option Cards */
.service-card {
    background: var(--bg-soft-neutral);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-left-color: var(--accent);
    transform: translateX(5px);
}

/* Tag/Badge Styles */
.tag-rumi {
    background: rgba(233, 30, 140, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.tag-zoey {
    background: rgba(0, 206, 209, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.tag-mira {
    background: rgba(255, 215, 0, 0.1);
    color: #DAA520;
    border: 1px solid #DAA520;
}

/* Table Header Style */
.table-header-pink {
    background: var(--secondary);
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .price-tag {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
}

/* ========================================
   ENHANCED SECTION STYLING
   ======================================== */

/* Section with decorative background */
.section-decorated {
    position: relative;
    overflow: hidden;
}

.section-decorated::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

.section-decorated::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

/* Alternating section backgrounds */
.section-green {
    background: linear-gradient(180deg, #F4F7F0 0%, #FFFFFF 100%);
}

.section-purple {
    background: linear-gradient(180deg, #F5F3F7 0%, #FFFFFF 100%);
}

.section-blue {
    background: linear-gradient(180deg, #F0F7FA 0%, #FFFFFF 100%);
}

/* Enhanced glass card */
.glass-card-enhanced {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.glass-card-enhanced:hover {
    box-shadow: 0 12px 48px rgba(138, 99, 162, 0.15);
    transform: translateY(-5px);
}

/* Section divider wave */
.section-wave {
    position: relative;
}

.section-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V95.8C57.43,84.23,117.94,72.15,178.6,68.65,241.55,64.93,308.51,71.64,321.39,56.44Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Price highlight box */
.price-box {
    background: linear-gradient(135deg, var(--bg-soft-purple) 0%, white 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(138, 99, 162, 0.1);
    border: 2px solid rgba(138, 99, 162, 0.1);
}

/* Feature icon circle */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(138, 99, 162, 0.3);
}

/* Table header with gradient */
.table-header-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, #6a8a2a 100%);
    color: white;
}

/* Animated underline for titles */
.title-underline {
    position: relative;
    display: inline-block;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ========================================
   MODERN VISUAL ENHANCEMENTS
   ======================================== */

/* Animated blob background */
.blob-bg {
    position: relative;
    overflow: hidden;
}

.blob-bg::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.08;
    animation: blobMove 15s ease-in-out infinite;
}

.blob-bg::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    opacity: 0.08;
    animation: blobMove 20s ease-in-out infinite reverse;
}

@keyframes blobMove {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-3deg);
    }
}

/* Gallery mesh pattern background */
.gallery-bg {
    background:
        radial-gradient(circle at 20% 80%, rgba(138, 99, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 162, 58, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(93, 173, 226, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
}

/* Shimmer effect for CTAs */
.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge for package highlight */
.badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary), #6a8a2a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(139, 162, 58, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Floating elements animation */
.float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Card with glow on hover */
.card-glow {
    transition: all 0.4s ease;
}

.card-glow:hover {
    box-shadow: 0 20px 60px rgba(138, 99, 162, 0.2);
    transform: translateY(-8px);
}

/* Section separator wave */
.wave-separator {
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,100 720,0 1080,50 C1260,75 1380,60 1440,40 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

/* Confetti-like floating dots */
.confetti-bg {
    position: relative;
}

.confetti-bg::before {
    content: '✦ ✧ ★ ✦ ✧';
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.15;
    animation: floatSlow 8s ease-in-out infinite;
    letter-spacing: 40px;
}

.confetti-bg::after {
    content: '★ ✧ ✦ ★ ✧';
    position: absolute;
    bottom: 20%;
    right: 5%;
    font-size: 1.2rem;
    color: var(--secondary);
    opacity: 0.15;
    animation: floatSlow 10s ease-in-out infinite reverse;
    letter-spacing: 35px;
}

/* ========================================
   PARALLAX SCROLL EFFECT
   ======================================== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Efecto 3D simple para mobile donde fixed no siempre funciona bien */
    transform-style: preserve-3d;
}

/* Optional overlay to darken image */
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}