/* Custom styles for Yeargin Construction */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Selection color */
::selection {
    background: #E8634B;
    color: white;
}

/* Hero parallax effect */
#hero {
    background-attachment: fixed;
}

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

/* Card hover lift effect */
.group:hover {
    transform: translateY(-4px);
}

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

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #E8634B;
    outline-offset: 2px;
}

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

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #hero {
        background-attachment: scroll;
    }
}

/* Print styles */
@media print {
    header,
    #contact-form,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: white;
    }
}
