/* Custom Styles for Duke City Customs */

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

body {
    /* Ensures serif fonts look crisp */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling for anchor links */
section {
    scroll-margin-top: 80px; /* Accounts for fixed navbar */
}

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

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

::-webkit-scrollbar-thumb {
    background: #134e4a; /* Teal 800 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #042f2e; /* Teal 900 */
}

/* Animation Utilities */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Transition States */
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95); /* Slate 900 with opacity */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-not-scrolled {
    background-color: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Image hover zoom effect */
img {
    max-width: 100%;
    height: auto;
}
