/* Custom styles for Berwick Insurance Group */

/* Smooth scrolling is handled by Tailwind's scroll-smooth, but we add custom easing */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for Webkit */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdfcfa;
}
::-webkit-scrollbar-thumb {
    background: #e8d7b5;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d15a41;
}

/* Animation classes for scroll reveal (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

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

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

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(209, 90, 65, 0.2);
}

/* Custom selection color */
::selection {
    background-color: #d15a41;
    color: white;
}
