/* DenverRVStorage.com - Stylesheet */
/* Colors: Navy Blue #1e3a5f, Warm Earth #c4843e, Slate #4A5568, Dark #1a1a2e */

:root {
    --green: #1e3a5f;
    --green-light: #2c5282;
    --green-dark: #142a45;
    --blue: #c4843e;
    --blue-light: #d49a5a;
    --slate: #4A5568;
    --dark: #1a1a2e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --danger: #dc2626;
    --warning: #f59e0b;
    --success: #10b981;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-light); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9375rem;
    cursor: pointer; border: none;
    transition: all 0.2s; text-decoration: none;
    line-height: 1.4;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-200); color: var(--gray-700); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #b91c1c; color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 32px; font-size: 1.0625rem; }
.btn-nav { padding: 10px 20px; font-size: 0.875rem; }
.btn-nav-cta { background: var(--green-dark); color: var(--white) !important; border-radius: var(--radius); }
.btn-nav-cta:hover { background: var(--green); color: var(--white) !important; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ── Header ── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; gap: 24px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.25rem; color: var(--dark);
    text-decoration: none; white-space: nowrap;
}
.logo strong { color: var(--green); }
.logo:hover { color: var(--dark); }

.nav-menu {
    display: flex; align-items: center; gap: 4px;
}
.nav-menu a {
    padding: 8px 14px; color: var(--gray-600);
    font-size: 0.9375rem; font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.nav-menu a:hover { color: var(--green); background: var(--gray-50); }

.nav-dropdown { position: relative; }
.dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    min-width: 200px; padding: 8px 0; z-index: 50;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 8px 16px;
    font-size: 0.875rem; border-radius: 0;
}
.dropdown-menu a:hover { background: var(--gray-50); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-600); margin: 5px 0; transition: 0.3s; }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, rgba(30,58,95,0.85) 0%, rgba(30,58,95,0.75) 50%, rgba(196,132,62,0.7) 100%), url('/images/rvstoragedenver.jpg') center/cover no-repeat;
    color: var(--white); padding: 80px 0;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,500 Q200,350 400,400 T800,350 T1200,450 L1200,600 L0,600Z" fill="rgba(255,255,255,0.05)"/><path d="M0,550 Q300,400 600,450 T1200,400 L1200,600 L0,600Z" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat bottom center;
    background-size: cover;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.75rem; color: var(--white); margin-bottom: 16px; }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 600px; margin-bottom: 32px; }
.hero-search {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 8px; display: flex; gap: 8px;
    max-width: 650px; box-shadow: var(--shadow-lg);
}
.hero-search input, .hero-search select {
    flex: 1; padding: 14px 16px; border: none;
    font-size: 1rem; background: transparent;
    color: var(--gray-800); outline: none;
}
.hero-search select { max-width: 180px; cursor: pointer; }
.hero-search .btn { white-space: nowrap; }

.hero-sm { padding: 48px 0; }
.hero-sm h1 { font-size: 2rem; margin-bottom: 8px; }
.hero-sm p { font-size: 1rem; margin-bottom: 0; }

/* ── Cards ── */
.card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: var(--shadow);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-image {
    height: 200px; background: var(--gray-100);
    background-size: cover; background-position: center;
    position: relative;
}
.card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--green); color: var(--white);
    padding: 4px 10px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.125rem; margin-bottom: 8px; }
.card-body h3 a { color: var(--dark); }
.card-body h3 a:hover { color: var(--green); }
.card-meta { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 8px; }
.card-meta span { margin-right: 12px; }
.card-price { font-size: 1.25rem; font-weight: 700; color: var(--green); }
.card-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.amenity-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; background: var(--gray-100);
    border-radius: 20px; font-size: 0.75rem;
    color: var(--gray-600);
}

/* ── Grid Layouts ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-sidebar { display: grid; grid-template-columns: 1fr 350px; gap: 40px; }

/* ── Sections ── */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
    text-align: center; margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--gray-500); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }

/* ── City Cards ── */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.city-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 16px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    text-align: center; transition: all 0.2s;
    text-decoration: none; color: var(--gray-700);
}
.city-card:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.city-card h3 { font-size: 1rem; margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.city-card span { font-size: 0.8125rem; color: var(--gray-400); }

/* ── Listing Detail ── */
.listing-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.listing-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.listing-gallery img { width: 100%; height: 300px; object-fit: cover; }
.listing-gallery img:first-child { grid-row: span 2; height: 100%; }

.listing-amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.amenity-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: var(--gray-50);
    border-radius: var(--radius); font-size: 0.9375rem;
}
.amenity-item .icon { font-size: 1.25rem; }
.amenity-item.active { background: #dbeafe; color: var(--green-dark); }
.amenity-item.inactive { color: var(--gray-400); text-decoration: line-through; }

.listing-sidebar {
    position: sticky; top: 80px;
}
.sidebar-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 24px;
    box-shadow: var(--shadow); margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1.125rem; margin-bottom: 16px; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 6px;
    font-weight: 600; font-size: 0.875rem;
    color: var(--gray-700);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    font-size: 0.9375rem; font-family: inherit;
    color: var(--gray-800); background: var(--white);
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 0; cursor: pointer;
}
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.form-error { color: var(--danger); font-size: 0.8125rem; margin-top: 4px; }

.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ── Blog ── */
.blog-card .card-body { padding: 20px; }
.blog-card .card-meta { margin-bottom: 8px; }
.blog-card h3 { font-size: 1.0625rem; }
.blog-card p { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: 12px; }
.blog-card .read-more { font-weight: 600; font-size: 0.875rem; color: var(--green); }

.post-content { font-size: 1.0625rem; line-height: 1.8; }
.post-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.post-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }

.author-box {
    display: flex; gap: 20px; padding: 24px;
    background: var(--gray-50); border-radius: var(--radius-lg);
    margin-top: 40px;
}
.author-box .avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--green); display: flex; align-items: center;
    justify-content: center; color: var(--white);
    font-size: 2rem; font-weight: 700; flex-shrink: 0;
}
.author-box h4 { margin-bottom: 4px; }
.author-box p { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: 0; }

/* ── Breadcrumbs ── */
.breadcrumbs { padding: 16px 0; }
.breadcrumbs ol { display: flex; list-style: none; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li { font-size: 0.875rem; color: var(--gray-500); }
.breadcrumbs li::after { content: '/'; margin-left: 8px; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs li.current { color: var(--gray-800); font-weight: 500; }
.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--green); }

.hero .breadcrumbs { padding: 0 0 12px; }
.hero .breadcrumbs li { color: rgba(255,255,255,0.7); }
.hero .breadcrumbs li::after { color: rgba(255,255,255,0.5); }
.hero .breadcrumbs li.current { color: var(--white); }
.hero .breadcrumbs a { color: rgba(255,255,255,0.7); }
.hero .breadcrumbs a:hover { color: var(--white); }

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white); padding: 64px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { opacity: 0.9; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn { background: var(--white); color: var(--green); font-weight: 700; }
.cta-section .btn:hover { background: var(--gray-100); color: var(--green-dark); }

/* ── Stats ── */
.stats-row { display: flex; justify-content: center; gap: 60px; padding: 40px 0; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--green); }
.stat-label { font-size: 0.875rem; color: var(--gray-500); margin-top: 4px; }

/* ── Footer ── */
.site-footer {
    background: var(--gray-900); color: var(--gray-400);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-grid h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 16px; }
.footer-grid h4 { color: var(--gray-200); font-size: 0.9375rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer-grid p { font-size: 0.9375rem; line-height: 1.7; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--gray-400); font-size: 0.875rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: 20px 0; text-align: center;
    font-size: 0.8125rem;
}

/* ── Flash Messages ── */
.flash-message {
    padding: 14px 0; text-align: center; font-weight: 500;
}
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-warning { background: #fef3c7; color: #92400e; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); }
th { background: var(--gray-50); font-weight: 600; font-size: 0.8125rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; }
td { font-size: 0.9375rem; }
tr:hover td { background: var(--gray-50); }

/* ── Admin ── */
.admin-layout { min-height: 100vh; }
.admin-sidebar {
    background: var(--dark); color: var(--gray-400);
    padding: 20px 0; position: fixed; width: 240px;
    height: 100vh; overflow-y: auto;
}
.admin-sidebar .logo { padding: 0 20px; margin-bottom: 24px; font-size: 1rem; color: var(--white); }
.admin-sidebar nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: var(--gray-400);
    font-size: 0.875rem; transition: all 0.2s;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.admin-sidebar nav a .icon { width: 20px; text-align: center; }
.admin-main { margin-left: 240px; padding: 24px 32px; background: var(--gray-50); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 1.5rem; font-family: 'Inter', sans-serif; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
    background: var(--white); padding: 20px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    border-left: 4px solid var(--green);
}
.stat-card h4 { font-size: 0.8125rem; color: var(--gray-500); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.stat-card .number { font-size: 2rem; font-weight: 800; color: var(--dark); }

.status-badge {
    display: inline-block; padding: 4px 10px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-featured { background: #dbeafe; color: #1e40af; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-inactive { background: var(--gray-200); color: var(--gray-600); }
.badge-delinquent { background: #fee2e2; color: #991b1b; }
.badge-unverified { background: #fef3c7; color: #92400e; }

/* ── Unverified Notice ── */
.unverified-notice {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; background: #fffbeb; border: 1px solid #fde68a;
    border-radius: var(--radius); margin-bottom: 20px;
    font-size: 0.9375rem; color: #92400e; line-height: 1.5;
}
.unverified-notice .notice-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.unverified-notice strong { color: #78350f; }

/* ── Claim Listing ── */
.claim-card {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg); padding: 24px;
    margin-bottom: 20px; text-align: center;
}
.claim-card h3 { font-size: 1rem; margin-bottom: 8px; color: #78350f; }
.claim-card p { font-size: 0.875rem; color: #92400e; margin-bottom: 16px; }
.btn-claim {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9375rem;
    background: #f59e0b; color: var(--white);
    border: none; cursor: pointer; text-decoration: none;
    transition: all 0.2s;
}
.btn-claim:hover { background: #d97706; color: var(--white); }

/* ── Listing Title with Badge ── */
.listing-title-row {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.listing-title-row h1 { margin-bottom: 0; }
.badge-inline {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
}
.badge-inline-unverified { background: #fef3c7; color: #92400e; }

/* ── Card Unverified Badge ── */
.card-badge-unverified {
    position: absolute; top: 12px; right: 12px;
    background: #fef3c7; color: #92400e;
    padding: 4px 10px; border-radius: 20px;
    font-size: 0.6875rem; font-weight: 600;
}

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 40px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 500;
    border: 1px solid var(--gray-300); color: var(--gray-600);
}
.pagination a:hover { background: var(--gray-100); color: var(--green); }
.pagination .current { background: var(--green); color: var(--white); border-color: var(--green); }

/* ── Search Results ── */
.search-filters {
    display: flex; gap: 12px; flex-wrap: wrap;
    padding: 20px; background: var(--gray-50);
    border-radius: var(--radius-lg); margin-bottom: 24px;
}
.search-filters select, .search-filters input {
    padding: 10px 14px; border: 1px solid var(--gray-300);
    border-radius: var(--radius); font-size: 0.875rem;
    background: var(--white);
}

/* ── Owner Dashboard ── */
.owner-layout { min-height: 100vh; }
.owner-sidebar {
    background: var(--white); border-right: 1px solid var(--gray-200);
    padding: 20px 0; position: fixed; width: 220px;
    height: 100vh; overflow-y: auto;
}
.owner-sidebar .logo { padding: 0 16px; margin-bottom: 20px; font-size: 0.9375rem; }
.owner-sidebar nav a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; color: var(--gray-600);
    font-size: 0.875rem; transition: all 0.2s;
}
.owner-sidebar nav a:hover, .owner-sidebar nav a.active { color: var(--green); background: var(--gray-50); }
.owner-main { margin-left: 220px; padding: 24px 32px; background: var(--gray-50); min-height: 100vh; }

/* ── Map ── */
.map-container { width: 100%; height: 400px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; background: var(--gray-100); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .listing-amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-search { flex-direction: column; }
    .hero-search select { max-width: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .stats-row { flex-wrap: wrap; gap: 30px; }
    .listing-gallery { grid-template-columns: 1fr; }
    .listing-gallery img { height: 200px; }
    .listing-gallery img:first-child { grid-row: auto; }
    .listing-header { flex-direction: column; }
    .city-grid { grid-template-columns: repeat(2, 1fr); }

    .nav-menu {
        display: none; position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column;
        padding: 16px; border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { padding: 12px 16px; }
    .nav-dropdown:hover .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
    .mobile-toggle { display: block; }

    .admin-layout, .owner-layout { grid-template-columns: 1fr; }
    .admin-sidebar, .owner-sidebar { position: static; width: 100%; height: auto; }
    .admin-main, .owner-main { margin-left: 220px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.5rem; }
    .city-grid { grid-template-columns: 1fr 1fr; }
    .stat-cards { grid-template-columns: 1fr; }
    .listing-amenities-grid { grid-template-columns: 1fr; }
}
