/* Custom Fonts */
.font-pacifico {
    font-family: 'Pacifico', cursive;
}

.font-quicksand {
    font-family: 'Quicksand', sans-serif;
}

/* Floating Sweets Animation */
.sweet-float {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.sweet-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sweet-2 {
    top: 60%;
    left: 5%;
    animation-delay: 1s;
}

.sweet-3 {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.sweet-4 {
    top: 70%;
    right: 15%;
    animation-delay: 3s;
}

.sweet-5 {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf2f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ec4899, #f59e0b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #db2777, #d97706);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Card Hover Effects */
.sweet-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.sweet-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.25);
}

/* Carousel Animation */
.carousel-slide {
    transition: transform 0.5s ease-in-out;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Animation */
@keyframes pulse-sweet {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-sweet {
    animation: pulse-sweet 2s infinite;
}

/* Bounce Animation for CTA */
@keyframes bounce-cta {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce-cta {
    animation: bounce-cta 2s infinite;
}

/* Loading Animation */
@keyframes spin-sweet {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-sweet {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #ec4899;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-sweet 1s linear infinite;
}