/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-controls {
        gap: 10px;
    }
    .about{
        text-align: justify;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
    }
    
    .theme-toggle i {
        font-size: 14px;
    }
    
    .btn-primary{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        display: flex;
        width: 100vw;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 90px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 15px 0;
        font-size: 1.2rem;
        width: 80%;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: var(--bg-secondary);
        color: var(--accent-color);
        transform: translateX(10px);
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-items: stretch;
    }

    .hero-content p{
        visibility: hidden;
    }

    .btn-hero{
        width: auto;
    }
    
    /* Add overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Filters responsive styles */
    .filters-bar {
        padding: 100px 15px 40px !important;
        min-height: auto;
    }

    .filters-bar .container {
        padding: 0 10px;
    }

    .filter-caracteristicas {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .filter-negocio {
        flex-direction: column;
        gap: 0;
    }

    .pill-group {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
    }

    .pill {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .checkbox-group {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .checkbox-item {
        flex: 0 1 calc(50% - 10px);
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .checkbox-text {
        font-size: 0.85rem;
    }

    .filter-field {
        margin: 10px 5px;
    }

    .filter-field label {
        font-size: 0.9rem;
    }

    .filter-field input,
    .filter-field select {
        font-size: 0.9rem;
    }

    .filter-actions {
        margin-top: 20px;
        justify-content: center;
    }

    .btn-limpar {
        width: 100%;
        max-width: 300px;
    }

    .quartos img, 
    .banheiros img, 
    .vagas img, 
    .filter-area img {
        max-width: 18px;
        max-height: 18px;
    }

    .min {
        font-size: 10px;
    }

    .contato{
        display: flex;
        flex-direction: column;
    }

    .card {
        min-width: 300px;
        max-width: 350px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
    .filters-bar {
        padding: 90px 10px 30px !important;
    }

    .checkbox-item {
        flex: 0 1 100%;
        font-size: 0.8rem;
    }

    .pill {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .pill-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .filter-caracteristicas {
        gap: 20px !important;
    }

    .filter-field label {
        font-size: 0.85rem;
        padding: 8px;
    }

    .filter-field input,
    .filter-field select {
        padding: 8px;
        font-size: 0.85rem;
    }

    .quartos, 
    .banheiros, 
    .vagas, 
    .filter-area {
        gap: 15px;
    }

    .listing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .page-content {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .card {
        min-width: 280px;
        max-width: 320px;
    }
}