/* Custom styles for New Jax City 2024 */

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

/* Selection color */
::selection {
    background-color: #C0603A;
    color: #FDF6F0;
}

/* Subtle gradient overlay for hero image card */
#hero img {
    transition: transform 0.6s ease;
}

#hero .rounded-2xl:hover img {
    transform: scale(1.02);
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Floating card animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Thin line decoration */
.line-decoration {
    position: relative;
}

.line-decoration::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #C0603A;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D9BC7E;
    border-radius: 3px;
}

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

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}
