/* Custom styles for HTX Hail Solutions */

/* Custom color palette */
:root {
    --burgundy: #781F2A;
    --burgundy-dark: #5C1820;
    --blush: #F5E6E0;
    --stone-50: #FAFAF8;
    --stone-100: #F5F5F4;
    --stone-900: #1C1917;
}

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

/* Base font setup */
.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-lato {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Navigation transitions */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

#navbar.scrolled .nav-link {
    color: #44403C;
}

#navbar.scrolled .font-playfair {
    color: #1C1917;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
}

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

/* Fade in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

/* Back to top button */
#back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
    translate: 0 0;
    pointer-events: all;
}

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

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

::-webkit-scrollbar-thumb {
    background: #781F2A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5C1820;
}

/* Input focus styles */
input:focus,
textarea:focus {
    outline: none;
}

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

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Print styles */
@media print {
    nav, #back-to-top, .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
