/* Custom Styles for H2O Specialties */

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

/* Geometric Shape Animations */
.geometric-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.8) 0%, rgba(254, 253, 248, 0) 70%);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.6) 0%, rgba(254, 253, 248, 0) 70%);
    border-radius: 50%;
    top: 60%;
    right: 5%;
    animation-delay: -5s;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.7) 0%, rgba(254, 253, 248, 0) 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(254, 253, 248, 0.1);
    top: 30%;
    right: 15%;
    animation-delay: -7s;
    transform: rotate(15deg);
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(254, 253, 248, 0.1);
    bottom: 30%;
    left: 10%;
    animation-delay: -12s;
    transform: rotate(45deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .scroll-reveal {
        animation: none;
        transition: none;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

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

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

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

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

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

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

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Print Styles */
@media print {
    nav,
    .geometric-shape,
    button {
        display: none;
    }
    
    body {
        color: #064e3b;
        background: white;
    }
}
