/* Custom Styles for Whitmore & Hale */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Typography Overrides */
.font-serif {
    font-family: 'Baskervville', serif;
}

.font-sans {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Logo Styling */
.brand-text {
    font-family: 'Baskervville', serif;
    font-style: normal !important;
}

.brand-text .ampersand {
    font-style: italic !important;
}

.logo-text {
    color: #000000 !important;
}

/* Navigation Link Underline Effect */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #C6A87C;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Disable underline for CTA buttons */
nav a.no-underline-nav::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

/* Card Hover Lift & Shadow */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}