/* Custom geometric shapes and animations */
.geometric-shape {
    position: absolute;
    opacity: 0.15;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid #fbbf24;
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    background: #fbbf24;
    border-radius: 50%;
    bottom: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid #fbbf24;
    top: 40%;
    left: 5%;
    animation: rotate 12s linear infinite;
}

.shape-square {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(251, 191, 36, 0.5);
    top: 60%;
    right: 15%;
    animation: rotate 10s linear infinite;
}

.shape-ring {
    width: 200px;
    height: 200px;
    border: 4px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    top: 25%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

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

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

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

.scroll-reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile menu animations */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* Smooth hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .animate-bounce,
    .animate-pulse {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
}
