/* Custom Styles for Somerset Fencing & Decks */

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

body {
    /* Prevent font smoothing on some displays for sharper text, 
       but keep it for smoother curves on Mac */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAF9;
}
::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #166534;
}

/* Utility for thin lines */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

/* Image hover effects handled in HTML via Tailwind, 
   but adding a global smooth transition here for consistency */
img {
    transition: transform 0.5s ease;
}

/* Form Focus States */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 1px 0 0 #166534;
}

/* Animation utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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