/* Custom styles for 9% Milk Tea & Asian Market */

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

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff82a3, #f9cfd9);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4a3b8, #fce7eb);
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffb8cc;
    top: 40%;
    right: 10%;
    animation: float 5s ease-in-out infinite;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #ff82a3;
    top: 20%;
    left: 8%;
    opacity: 0.1;
    animation: spin 20s linear infinite;
}

.square-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f9cfd9, #fce7eb);
    bottom: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.ring-1 {
    width: 160px;
    height: 160px;
    border: 20px solid #ffb8cc;
    border-radius: 50%;
    top: 60%;
    left: 15%;
    opacity: 0.12;
    animation: float 9s ease-in-out infinite reverse;
}

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

@keyframes spin {
    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;
}

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

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(140, 19, 46, 0.08);
}

/* Mobile menu */
.mobile-link {
    transition: all 0.2s ease;
}

/* Button hover effects */
a {
    transition: all 0.2s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

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

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

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

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

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c91f4d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #f9cfd9;
    color: #751329;
}
