/* Custom styles for Geekfest FL */

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

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

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

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

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

/* Selection color */
::selection {
    background: #d95a2e;
    color: #fff;
}

/* Subtle hover animations for cards */
.group:hover img {
    filter: brightness(1.05);
}

/* Button focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d95a2e;
    outline-offset: 2px;
}

/* Ensure all images have consistent behavior */
img {
    max-width: 100%;
    height: auto;
}

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Back to top button visibility */
#backToTop.visible {
    opacity: 1;
    pointer-events: all;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-weight: 800;
    }
}

/* Print styles */
@media print {
    nav, #backToTop, .group:hover img {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
