/* Custom styles for Diversity Den Cafe */

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

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

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: -3%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(253, 250, 240, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(249, 115, 22, 0.4);
    top: 25%;
    left: 5%;
    animation-delay: 1s;
    transform: rotate(15deg);
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 78px solid rgba(251, 191, 36, 0.3);
    bottom: 30%;
    right: 8%;
    animation-delay: 3s;
    transform: rotate(-20deg);
}

.square-1 {
    width: 80px;
    height: 80px;
    background: rgba(244, 63, 94, 0.3);
    top: 60%;
    right: 15%;
    animation-delay: 2.5s;
    transform: rotate(45deg);
}

.square-2 {
    width: 60px;
    height: 60px;
    background: rgba(253, 250, 240, 0.2);
    bottom: 15%;
    left: 20%;
    animation-delay: 5s;
    transform: rotate(30deg);
}

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

/* Scroll reveal animations (below the fold only) */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.1);
}

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

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

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

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

/* Selection color */
::selection {
    background: #059669;
    color: #FDFBF7;
}

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

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Prevent layout shift */
.rounded-3xl {
    border-radius: 1.5rem;
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}
