/* Custom styles for Perk 101 */

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

/* Floating card animations */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-coffee {
    animation-delay: 0s;
}

.floating-card.card-cocktail {
    animation-delay: -2s;
}

.floating-card.card-location {
    animation-delay: -4s;
}

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

/* Menu tab styles */
.menu-tab {
    background: transparent;
    color: var(--tw-text-opacity, 0.7);
    border: 1px solid transparent;
}

.menu-tab.active {
    background: #D14A2E;
    color: #FAF7F2;
}

.menu-tab:not(.active):hover {
    border-color: #D14A2E;
    color: #D14A2E;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(250, 247, 242, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(28, 25, 23, 0.08);
}

/* Mobile menu animation */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: all;
}

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

.mobile-menu-open #menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open #menu-icon span:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

/* Selection color */
::selection {
    background: #F9D4C8;
    color: #722619;
}
