/* Custom Styles for D's Barbed Wire And Lace */

:root {
    --navy: #0A192F;
    --gold: #D4AF37;
    --cream: #F5F5F0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent layout shift */
    background-color: var(--cream);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Custom Clip Paths for Hero */
.clip-path-slant {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.clip-path-diagonal {
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 40%);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* Navbar Scrolled State */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

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

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

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

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

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
