/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Landing page styles */
.landing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

/* Search container */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-container input {
    width: 70%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.search-container button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #1d4ed8;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Results page styles */
.results-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.results-page header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.back-button {
    padding: 8px 16px;
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #4b5563;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-card .content {
    padding: 20px;
}

.property-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.property-info {
    margin-bottom: 15px;
    color: #666;
}

.stars {
    color: #fbbf24;
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .search-container input {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-container button {
        width: 100%;
    }

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