/* Custom styles & overrides */

html {
    scroll-behavior: smooth;
}

/* Ensure hero text is always visible */
.hero-bg {
    position: relative;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f2;
}
::-webkit-scrollbar-thumb {
    background: #c96464;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8b1a2b;
}

/* Selection color */
::selection {
    background: #f0c4c4;
    color: #470e15;
}

/* Nav transition */
#navbar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Mobile menu overlay */
body.menu-open {
    overflow: hidden;
}

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

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, iframe {
        display: none !important;
    }
    body {
        color: #000 !important;
        background: #fff !important;
    }
}
