/* Mobile First Approach */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium devices (tablets, 768px to 1199px) */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .search-tabs {
        flex-wrap: wrap;
    }
    
    .search-tabs button {
        flex: 1;
        min-width: 120px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        height: 70vh;
        margin-top: 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .search-container {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .featured-destinations,
    .reviews {
        padding: 3rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-buttons {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn-search {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
        height: auto;
    }
    
    .search-container {
        box-shadow: none;
        border: 1px solid #000;
    }
}
/* Add to responsive.css */
@media (max-width: 768px) {
    .passenger-dropdown {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        border-radius: 20px 20px 0 0;
    }
    
    .search-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}