/* Custom Styles for Papillon Beauty & Body */

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Floating Animation for Hero Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(3deg);
    }
    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

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

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

/* Apply floating animations */
.absolute.top-0.right-12 {
    animation: float 6s ease-in-out infinite;
}

.absolute.top-48.left-0 {
    animation: float-delayed 7s ease-in-out infinite;
}

.absolute.bottom-24.right-8 {
    animation: float-delayed-2 5s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .absolute.top-0.right-12,
    .absolute.top-48.left-0,
    .absolute.bottom-24.right-8 {
        display: none;
    }
}

/* Ensure text contrast is maintained */
.text-cream {
    color: #fbfbf5;
}

.text-cream\/60 {
    color: rgba(251, 251, 245, 0.6);
}

.text-cream\/70 {
    color: rgba(251, 251, 245, 0.7);
}

.text-cream\/80 {
    color: rgba(251, 251, 245, 0.8);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}
