/* Custom styles for MoSaVe Designs */

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(253, 249, 238, 0.3);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(253, 249, 238, 0.1);
    border-radius: 50%;
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(253, 249, 238, 0.08);
    border: 2px solid rgba(253, 249, 238, 0.2);
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.geo-square-2 {
    width: 60px;
    height: 60px;
    background: rgba(253, 239, 192, 0.15);
    bottom: 25%;
    left: 8%;
    transform: rotate(20deg);
    animation-delay: 3s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(253, 249, 238, 0.08);
    top: 45%;
    left: 15%;
    animation-delay: 4s;
}

.geo-dots {
    background-image: radial-gradient(rgba(253, 249, 238, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 20%;
    animation-delay: 2.5s;
}

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

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

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

/* Mobile menu animations */
#mobileMenu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Menu lines animation */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(6, 78, 59, 0.1);
}

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

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

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

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

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

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