/* Custom styles for The Grimsby Lodge */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3d5630;
}

/* Selection color */
::selection {
    background: #557142;
    color: #FAFAF8;
}

/* Navbar scroll state */
#navbar.scrolled #nav-bg {
    opacity: 1;
}

/* Button hover effects */
button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 67, 37, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(85, 113, 66, 0.1);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    #navbar,
    #contact-form,
    #form-success {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
