/* Custom Geometric Decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    top: 20%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(253, 228, 165, 0.15) 0%, rgba(253, 228, 165, 0.05) 100%);
    bottom: 10%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(16, 185, 129, 0.08);
    pointer-events: none;
}

.geo-triangle-1 {
    top: 15%;
    left: 5%;
    animation: rotate 20s linear infinite;
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(16, 185, 129, 0.1);
    pointer-events: none;
    transform: rotate(45deg);
}

.geo-square-1 {
    top: 40%;
    right: 8%;
    animation: float 6s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.geo-dots-1 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 3%;
    opacity: 0.5;
}

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

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

/* Selection Color */
::selection {
    background-color: #059669;
    color: white;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#menu-line-1 {
    transform-origin: center;
}

#menu-line-2 {
    transform-origin: center;
}

#menu-line-3 {
    transform-origin: right;
}

.mobile-menu-open #menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #menu-line-2 {
    opacity: 0;
}

.mobile-menu-open #menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Button Hover Effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .geo-circle,
    .geo-triangle,
    .geo-square,
    .geo-dots {
        display: none;
    }
    
    #back-to-top {
        display: none;
    }
}
