/* Custom styles for Oyster Bay Optics */

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

/* Geometric shapes in hero */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #5eead4;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #99f6e4;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #2dd4bf;
    top: 30%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: #ccfbf1;
    top: 20%;
    right: 15%;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: spin 12s linear infinite;
}

.shape-square-2 {
    width: 60px;
    height: 60px;
    background: #99f6e4;
    bottom: 25%;
    right: 8%;
    border-radius: 12px;
    transform: rotate(20deg);
    animation: spin 8s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #5eead4;
    top: 40%;
    right: 25%;
    animation: float 9s ease-in-out infinite;
    opacity: 0.08;
}

.shape-dots {
    background-image: radial-gradient(circle, #99f6e4 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 30%;
    opacity: 0.15;
}

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

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

/* Scroll reveal */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove number input arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Custom selection color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}
