/* Mobile & Tablet Responsive */

@media (max-width: 1024px) {
    /* Hide desktop navigation list and rely on hamburger menu */
    #primaryNavDesktop {
        display: none;
    }
    
    /* Showcase Villas Tablet */
    .showcase-villas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .section-title-big,
    .section-title {
        font-size: 2.5rem;
        font-weight: 300;
        letter-spacing: 8px;
        line-height: 1;
    }
    
    /* Experiences Tablet */
    .experiences-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .experience-card {
        height: 380px;
    }
    
    .experience-title {
        font-size: 1.4rem;
    }
    
    /* Cities Tablet */
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .city-card {
        height: 350px;
    }
    
    .city-name {
        font-size: 1.4rem;
    }
    
    .city-description {
        font-size: 0.85rem;
    }
    
    /* Villas Page Tablet */
    .villas-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filters-sidebar {
        position: relative;
        top: 0;
    }
    
    /* Footer Tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-form {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .search-horizontal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-section {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }
    
    .search-section:last-of-type {
        border-bottom: none;
    }
    
    .search-divider {
        display: none;
    }
    
    .search-btn {
        margin: 0 auto;
        width: 100%;
        border-radius: 12px;
        height: 50px;
    }
    
    .nav-right .nav-link {
        display: none;
    }
    
    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .menu-content {
        padding: 2rem 1.5rem;
    }
    
    .menu-close {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .villa-grid {
        grid-template-columns: 1fr;
    }
    
    /* Experiences Mobile */
    .experiences-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .experience-card {
        height: 350px !important;
    }
    
    .experience-number {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.6rem !important;
        line-height: 45px !important;
        top: 1rem !important;
        right: 1rem !important;
    }
    
    .experience-content {
        padding: 2rem 1.5rem !important;
    }
    
    .experience-title {
        font-size: 1.3rem !important;
    }
    
    .experience-description {
        font-size: 0.9rem !important;
    }
    
    /* Cities Mobile */
    .cities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .city-card {
        height: 300px !important;
    }
    
    .city-content {
        padding: 1.5rem 1rem !important;
    }
    
    .city-name {
        font-size: 1.2rem !important;
    }
    
    .city-subtitle {
        font-size: 0.7rem !important;
    }
    
    .city-description {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Showcase Villas Mobile */
    .showcase-villas-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .showcase-villa-card {
        height: 400px !important;
    }
    
    .section-title-big {
        font-size: 2rem !important;
        font-weight: 300 !important;
        letter-spacing: 6px !important;
        line-height: 1 !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        font-weight: 300 !important;
        letter-spacing: 6px !important;
        line-height: 1 !important;
    }
    
    .section-subtitle-elegant,
    .section-subtitle {
        font-size: 1.1rem !important;
        font-weight: 300 !important;
    }
    
    .section-header,
    .section-header-center {
        padding-bottom: 1.5rem !important;
    }
    
    .showcase-villa-name {
        font-size: 1.6rem !important;
    }
    
    .showcase-villa-description {
        font-size: 1rem !important;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .footer-brand {
        padding-right: 0 !important;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 1.5rem !important;
    }
    
    .footer-tagline {
        font-size: 1rem !important;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-col h4 {
        font-size: 0.7rem !important;
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem !important;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        grid-template-columns: repeat(4, 1fr);
    }
}

