/* Custom styles for J&J Fireworks */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #fbbf24;
    top: 15%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #fbbf24, #ec4899);
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #fbbf24;
    top: 40%;
    left: 15%;
    animation: rotate 12s linear infinite;
}

.shape-square {
    width: 80px;
    height: 80px;
    background: #ec4899;
    top: 60%;
    right: 20%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.shape-diamond {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #ec4899);
    bottom: 30%;
    right: 35%;
    transform: rotate(45deg);
    animation: rotate 10s linear infinite reverse;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Product Cards */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .product-card,
    .reveal {
        animation: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(80, 7, 36, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fbbf24, #ec4899);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fcd34d, #f472b6);
}
