/**
 * Suhana Balloons - Celebration & Balloon Design System Stylesheet
 * Brand Palette: Celebration Coral, Warm Peach, Champagne Gold, Pearl Cream, Deep Midnight Plum
 */

:root {
    --color-coral: #F43F5E;
    --color-coral-dark: #E11D48;
    --color-coral-light: #FDA4AF;
    --color-peach: #FB7185;
    --color-peach-light: #FFE4E6;
    --color-gold: #EABF6A;
    --color-gold-light: #FDE68A;
    --color-gold-dark: #B48227;
    --color-cream: #FFF8F1;
    --color-plum: #240F22;
    --color-plum-deep: #160815;
    --color-dark-text: #211A22;
    --color-muted: #6B6470;
    --color-border: rgba(244, 63, 94, 0.15);
    --shadow-balloon: 0 20px 40px -15px rgba(244, 63, 94, 0.25);
    --shadow-gold: 0 20px 40px -15px rgba(234, 191, 106, 0.3);
    --shadow-card: 0 10px 30px -10px rgba(36, 15, 34, 0.08);
}

/* Base resets & typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--color-cream);
    color: var(--color-dark-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF0E6;
}
::-webkit-scrollbar-thumb {
    background: #FDA4AF;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F43F5E;
}

/* Inflated Rounded Geometry */
.balloon-card {
    border-radius: 28px;
    background: #FFFFFF;
    border: 1px solid rgba(244, 63, 94, 0.1);
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.balloon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(244, 63, 94, 0.18);
    border-color: rgba(244, 63, 94, 0.25);
}

/* Balloon Luster Highlight */
.balloon-gloss {
    position: relative;
}
.balloon-gloss::after {
    content: '';
    position: absolute;
    top: 6%;
    left: 8%;
    width: 25%;
    height: 35%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 75%);
    transform: rotate(-30deg);
    pointer-events: none;
    border-radius: 50%;
}

/* Soft Festive Floating Keyframes */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(2deg);
    }
}

@keyframes floatMedium {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-24px) rotate(-3deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(244, 63, 94, 0.3);
    }
    50% {
        box-shadow: 0 0 45px rgba(234, 191, 106, 0.5);
    }
}

.animate-float-slow {
    animation: floatSlow 7s ease-in-out infinite;
}

.animate-float-medium {
    animation: floatMedium 5s ease-in-out infinite;
}

.animate-glow {
    animation: pulseGlow 4s infinite ease-in-out;
}

/* Floating Balloon Canvas Background */
#balloon-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

/* Interactive Before & After Slider */
.ba-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(36, 15, 34, 0.25);
    user-select: none;
    touch-action: pan-y;
}

.ba-image-before,
.ba-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-image-after {
    clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-pos, 50%);
    width: 4px;
    background: #FFFFFF;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 20;
    box-shadow: 0 0 16px rgba(0,0,0,0.5);
}

.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--color-coral);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(244, 63, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-handle:hover .ba-handle-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.4), 0 0 0 6px rgba(244, 63, 94, 0.25);
}

/* Lightbox Modal */
.lightbox-modal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Pill Badges */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-coral {
    background: #FFE4E6;
    color: #E11D48;
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.badge-gold {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid rgba(234, 191, 106, 0.35);
}

/* Verification Tag Marker */
.verify-tag {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.6875rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(234, 191, 106, 0.15);
    color: #92400E;
    border: 1px dashed rgba(234, 191, 106, 0.5);
    font-weight: 600;
}

/* Sticky Mobile Quick CTA Bar */
@media (max-width: 768px) {
    .sticky-mobile-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 45;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(244, 63, 94, 0.15);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    }
}
