/* Custom Styles for Southern Home and Design */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.delay-100 { transition-delay: 100ms; }
.reveal-on-scroll.delay-200 { transition-delay: 200ms; }

/* Initial state for JS-controlled reveals (handled in script.js) */
/* We keep them visible by default for accessibility, 
   but if JS runs, we add the animation class */

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

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

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

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

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

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

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #b87b5d;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav, #contact, #portfolio, .reveal-on-scroll {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
