/* Custom styles for Bayshore Realty Group */

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

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

/* Scroll animation base - content is visible by default for progressive enhancement */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animate.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Navbar transition */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile menu link hover */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfcf3;
}
::-webkit-scrollbar-thumb {
    background: #d4724a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c45a35;
}

/* Selection color */
::selection {
    background: #d4724a;
    color: white;
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 114, 74, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Image aspect ratio helpers */
.aspect-card {
    aspect-ratio: 4 / 3;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4724a;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #navbar, #mobile-menu-btn, .scroll-animate {
        display: none !important;
    }
    body {
        color: #1e2d42;
        background: white;
    }
}
