/* Custom Styles for My L&J Insurance Services */

:root {
    --charcoal-dark: #374151;
    --charcoal-light: #4B5563;
    --coral: #FF7F50;
    --coral-dark: #E86A3F;
    --coral-light: #FF9F7F;
    --off-white: #FAFAFA;
    --white: #FFFFFF;
}

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

/* Custom font classes */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Custom color classes */
.text-charcoal-dark {
    color: var(--charcoal-dark);
}

.text-charcoal-light {
    color: var(--charcoal-light);
}

.text-coral {
    color: var(--coral);
}

.text-coral-dark {
    color: var(--coral-dark);
}

.text-coral-light {
    color: var(--coral-light);
}

.bg-charcoal-dark {
    background-color: var(--charcoal-dark);
}

.bg-coral {
    background-color: var(--coral);
}

.bg-coral-dark {
    background-color: var(--coral-dark);
}

.bg-off-white {
    background-color: var(--off-white);
}

/* Navigation active state */
.nav-link.active {
    color: var(--coral) !important;
}

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

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

button:active,
a:active {
    transform: translateY(0);
}

/* Input focus effects */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
