/* 406C Moonspinner Condominiums — Custom Styles */

/* Base reset & typography */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(255, 87, 51, 0.3);
    color: #f7f7f8;
}

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

/* Smooth image rendering */
img {
    display: block;
    max-width: 100%;
}

/* Prevent awkward image stretching */
img[width][height] {
    height: auto;
}

/* Nav height transition */
#navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

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

/* Print styles */
@media print {
    body { background: #fff; color: #000; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
    #mobile-menu, #menu-overlay { display: none !important; }
}

/* Tablet adjustments */
@media (max-width: 767px) {
    .hero-grid { min-height: auto; }
    #hero { padding-top: 80px; }
}
