/* Custom styles for Ocean Breeze Beach House */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Subtle wave pattern for sections */
section::before {
    content: '';
    display: block;
    pointer-events: none;
}

/* Navbar scroll state */
header.scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

header.scrolled .navbar-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #d4a843;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e0be6a;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #0a1628;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

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