/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #fafafc;
    color: #1e293b;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f0f2f5;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e53935, #b91c1c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #e53935;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e53935;
    color: #e53935;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
}

.btn-primary {
    background: #e53935;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #c62828;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #fee2e2;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

.hero p {
    color: #475569;
    margin: 0.5rem 0 1.5rem;
}

.search-bar {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    background: white;
    padding: 0.5rem;
    border-radius: 60px;
    border: 1px solid #eef2f8;
}

.search-bar input, .search-bar select {
    flex: 2;
    padding: 0.8rem 1rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    background: #e53935;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* Section titles */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e53935;
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}

.listing-card, .city-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.listing-card:hover, .city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
}

.listing-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 30px;
}

.listing-info, .city-info {
    padding: 1rem;
}

.listing-title {
    font-weight: 800;
    font-size: 1.2rem;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.5rem 0;
}

.btn-sm {
    background: #e53935;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .search-bar {
        flex-direction: column;
        border-radius: 30px;
    }
    .grid-4 {
        gap: 1rem;
    }
}

.nested-categories { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.cat-main { border-bottom: 1px solid #eef2f8; }
.cat-main-header { padding: 10px 12px; background: #f8fafc; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cat-main-header:hover { background: #fff0f0; }
.cat-icon { font-size: 12px; color: #e53935; }
.cat-sub { padding: 8px 12px 8px 32px; background: white; }
.subcat-option { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: normal; font-size: 13px; cursor: pointer; }