/* 
 * New Horizon Boat Repair - Custom Styles
 * Classic & Elegant Design System
 */

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

body {
    /* Custom font application handled by Tailwind font-family utilities */
}

/* 
 * Custom Scrollbar
 * Matches the forest green theme
 */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #314835;
}

/* 
 * Navbar Scroll Effect
 * Adds background when scrolled
 */
.navbar-scrolled {
    background-color: rgba(252, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 
 * Animation Utilities
 */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
 * Hover Effects for Cards
 */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* 
 * Mobile Menu Transitions
 */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* 
 * Print Styles
 */
@media print {
    nav, #contactForm, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-forest-900, .bg-forest-950 {
        background: #fff !important;
        color: #000 !important;
    }
}
