/* Custom Styles for Gray's Bicycles */

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    filter: blur(60px);
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: #10b981;
    bottom: 20%;
    left: -50px;
    transform: rotate(45deg);
    filter: blur(40px);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #10b981;
    top: 40%;
    left: 10%;
    opacity: 0.05;
    filter: blur(30px);
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 20%;
    filter: blur(80px);
}

.shape-square-2 {
    width: 150px;
    height: 150px;
    background: #059669;
    top: 60%;
    right: 5%;
    transform: rotate(30deg);
    opacity: 0.08;
    filter: blur(20px);
}

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

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Selection Color */
::selection {
    background: #10b981;
    color: #0f172a;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
