/* Custom styles for Brazilian Acai Cream */

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

/* Geometric shapes for hero */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #FCE4EC;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #FCE4EC;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 120px;
    height: 120px;
    background: #FCE4EC;
    top: 40%;
    right: 15%;
    animation: float 5s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.06;
}

.triangle-1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #FCE4EC;
    top: 20%;
    left: 8%;
    animation: spin 12s linear infinite;
}

.triangle-2 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #FCE4EC;
    bottom: 15%;
    right: 10%;
    animation: spin 15s linear infinite reverse;
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #FCE4EC;
    opacity: 0.06;
    top: 60%;
    left: 15%;
    animation: rotate 10s linear infinite;
}

.square-1 {
    width: 80px;
    height: 80px;
    background: #FCE4EC;
    opacity: 0.05;
    top: 15%;
    right: 25%;
    animation: rotate 8s linear infinite reverse;
}

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

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

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

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

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

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(128, 0, 32, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile menu */
#mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger animation */
#menu-btn.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active #bar2 {
    opacity: 0;
}
#menu-btn.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-marquee {
        animation: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF8F0;
}
::-webkit-scrollbar-thumb {
    background: #800020;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5a0017;
}
