/* ===== Additional Responsive Styles ===== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .quick-search {
        position: static;
        transform: none;
        padding: 30px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111;
        color: #ddd;
    }

    .header {
        background-color: rgba(17, 17, 17, 0.95);
    }

    .main-nav a {
        color: #ddd;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: #c9a96e;
    }

    .property-card {
        background-color: #222;
    }

    .filter-card {
        background-color: #222;
    }

    .service-card {
        background-color: #222;
    }

    .testimonial-card {
        background-color: #222;
    }

    .faq-item {
        background-color: #222;
    }

    .modal-content {
        background-color: #222;
        color: #ddd;
    }

    .form-group input,
    .form-group textarea {
        background-color: #333;
        border-color: #444;
        color: #ddd;
    }
}