/* responsive.css - Mobile-first responsive design */

/* Base mobile styles */
body {
    font-size: 16px;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Header and Navigation */
header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    margin-bottom: 15px;
}

nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

nav ul.active {
    display: flex;
}

nav ul li {
    margin: 10px 0;
}

.menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Hero Section */
.hero {
    height: auto;
    padding: 60px 0;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Property Grid */
.property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.property-card {
    flex-direction: column;
}

.property-image {
    width: 100%;
    height: 200px;
}

.property-details {
    width: 100%;
    padding: 15px;
}

.property-features {
    flex-direction: column;
    align-items: flex-start;
}

.property-features span {
    margin-bottom: 5px;
}

/* Features Section */
.features {
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Footer */
.footer-content {
    flex-direction: column;
}

.footer-section {
    width: 100%;
    margin-bottom: 30px;
}

/* Property Single Page */
.property-gallery {
    grid-template-columns: 1fr;
}

.property-main-image {
    height: 250px;
}

.property-thumbnails {
    grid-template-columns: repeat(3, 1fr);
}

.property-info-container {
    flex-direction: column;
}

.property-description, .property-sidebar {
    width: 100%;
}

.property-sidebar {
    margin-top: 30px;
}

.amenities-grid {
    grid-template-columns: 1fr;
}

.host-section {
    flex-direction: column;
    align-items: flex-start;
}

.host-image {
    margin-bottom: 15px;
}

/* Contact Form */
.contact-container {
    flex-direction: column;
}

.contact-form, .contact-info {
    width: 100%;
}

.contact-info {
    margin-top: 30px;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-gallery {
        grid-template-columns: 2fr 1fr;
    }
    
    .property-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .host-section {
        flex-direction: row;
        align-items: center;
    }
    
    .property-features {
        flex-direction: row;
    }
    
    .property-features span {
        margin-bottom: 0;
        margin-right: 15px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    nav ul {
        display: flex;
        flex-direction: row;
        width: auto;
    }
    
    nav ul li {
        margin: 0 0 0 20px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-info-container {
        flex-direction: row;
    }
    
    .property-description {
        width: 65%;
    }
    
    .property-sidebar {
        width: 30%;
        margin-top: 0;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        flex-direction: row;
    }
    
    .contact-form {
        width: 60%;
    }
    
    .contact-info {
        width: 35%;
        margin-top: 0;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-section {
        width: 30%;
        margin-bottom: 0;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .property-main-image {
        height: 500px;
    }
}