/* Custom Styles for IceBurgh Creamery */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #946b54;
}

/* Selection Color */
::selection {
    background: #b08870;
    color: #faf9f6;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid #b08870;
    outline-offset: 2px;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Image hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Button hover effects */
button, 
a {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus,
textarea:focus {
    border-color: #b08870;
    box-shadow: 0 0 0 3px rgba(176, 136, 112, 0.1);
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-charcoal {
        background: #fff !important;
        color: #000 !important;
    }
}
