/* Palm Air Country Club Condominium #2 — Custom Styles */

/* Base resets and utilities */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: #34D399;
    color: #040B14;
}

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

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* 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.hidden-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .headline-serif {
        /* Larger serif headlines on bigger screens */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid currentColor;
    }
    .cta-btn {
        border: 2px solid currentColor;
    }
}

/* Landscape phones - prevent overly tall hero */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-split {
        min-height: auto;
    }
    .hero-split > div:first-child {
        padding: 2rem;
    }
}
