/* Custom styles for LUXE Beauty Supply */

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

/* Floating card animation */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 5s;
}

.floating-card:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(4, 120, 87, 0.08);
}

/* Mobile menu transitions */
.mobile-menu-open {
    display: flex !important;
    opacity: 1 !important;
}

.mobile-menu-closed {
    display: none !important;
    opacity: 0 !important;
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Geometric shape animations */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.geo-spin {
    animation: spin-slow 20s linear infinite;
}

.geo-spin-reverse {
    animation: spin-reverse 15s linear infinite;
}

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

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

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

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Focus styles */
input:focus, textarea:focus {
    border-color: #047857 !important;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1) !important;
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(4, 120, 87, 0.3) !important;
}

/* Product card image hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 1rem;
        animation: none !important;
    }

    .hero-cards-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}
