/* Custom styles for C & M Concessions */

:root {
    --color-midnight-800: #0d1f33;
    --color-mint-500: #2cb884;
}

html {
    scroll-behavior: smooth;
}

/* Scroll reveal — progressive enhancement, only active when JS runs */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-up {
        transform: translateY(30px);
    }

    .reveal-left {
        transform: translateX(-30px);
    }

    .reveal-right {
        transform: translateX(30px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Reduced motion — disable all transitions */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(13, 31, 51, 0.08);
}

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

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

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(13, 31, 51, 0.12);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #1a9568 0%, #2cb884 50%, #4fd3a4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4fd3a4;
}

/* Selection color */
::selection {
    background: #bdf0db;
    color: #0d1f33;
}
</style>
