/* Custom styles for Freeman's Grub & Pub */

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

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

::-webkit-scrollbar-track {
    background: #1C1C1C;
}

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

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

/* Text selection */
::selection {
    background: #FF6B6B;
    color: #121212;
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Button focus states */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Ensure proper spacing for sections */
section {
    scroll-margin-top: 80px;
}
