/* ============================================
   HomeFind - Real Estate Portal
   ============================================ */

:root {
    --primary: #1a365d;
    --primary-dark: #0f2440;
    --secondary: #2b6cb0;
    --accent: #e2b714;
    --accent-hover: #d4a814;
    --success: #48bb78;
    --danger: #f56565;
    --warning: #ed8936;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary);
}

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--white) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--white) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-badge span {
    color: var(--accent);
    font-weight: 600;
}

/* ========== SEARCH BAR ========== */
.search-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: -48px auto 60px;
    position: relative;
    z-index: 10;
}

.search-bar .search-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
    flex: 1;
    min-width: 160px;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: all 0.2s;
    outline: none;
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(43,108,176,0.1);
}

.search-bar .btn {
    padding: 14px 32px;
    flex-shrink: 0;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .section-badge {
    display: inline-block;
    background: rgba(43,108,176,0.08);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== PROPERTY CARD ========== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.property-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--gray-200);
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover .property-card-image img {
    transform: scale(1.08);
}

.property-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-sale {
    background: var(--accent);
    color: var(--primary-dark);
}

.badge-rent {
    background: var(--secondary);
    color: var(--white);
}

.property-card-featured {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--danger);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

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

.property-card-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-card-price .price-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
}

.property-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.property-card-title a {
    color: inherit;
}

.property-card-title a:hover {
    color: var(--primary);
}

.property-card-location {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-card-specs {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.property-card-specs .spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-600);
}

.property-card-specs .spec-icon {
    font-size: 16px;
    color: var(--secondary);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(43,108,176,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--secondary);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.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: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-dark);
}

.footer-about {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: var(--gray-400);
    font-size: 15px;
    transition: color 0.2s;
}

.footer ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== PROPERTIES LISTING PAGE ========== */
.page-header {
    background: var(--primary);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

.page-section {
    padding: 60px 0;
}

/* Filters */
.filters-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.filters-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filters-form .filter-group {
    flex: 1;
    min-width: 150px;
}

.filters-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filters-form input,
.filters-form select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: all 0.2s;
    outline: none;
}

.filters-form input:focus,
.filters-form select:focus {
    border-color: var(--secondary);
    background: var(--white);
}

.filters-form .btn {
    height: 44px;
    padding: 0 28px;
    flex-shrink: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ========== PROPERTY DETAIL PAGE ========== */
.property-detail {
    padding: 40px 0 80px;
}

.property-detail-header {
    margin-bottom: 32px;
}

.property-detail-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: var(--gray-500);
    font-size: 15px;
}

.property-gallery {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    background: var(--gray-200);
    height: 500px;
}

.property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-400);
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.property-description h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.property-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.property-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.property-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.property-spec-item .spec-label {
    font-size: 13px;
    color: var(--gray-500);
}

.property-spec-item .spec-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
}

.property-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-bottom: 32px;
}

.property-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-50);
    border-radius: 50px;
    font-size: 14px;
    color: var(--gray-700);
}

.property-features-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* Sidebar */
.property-sidebar {
    position: sticky;
    top: 96px;
}

.inquiry-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.inquiry-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--white);
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43,108,176,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== ABOUT / CONTACT PAGES ========== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 40px 0 16px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(43,108,176,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--secondary);
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 0;
}

/* ========== ALERTS ========== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 15px;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* ========== ADMIN STYLES ========== */
.admin-body {
    background: var(--gray-100);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--primary-dark);
    color: var(--white);
    flex-shrink: 0;
    padding: 24px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-sidebar-brand {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-dark);
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.admin-topbar h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th {
    background: var(--gray-50);
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
}

.admin-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-700);
}

.admin-table tr:hover td {
    background: var(--gray-50);
}

.admin-actions {
    display: flex;
    gap: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-bar {
        margin: -24px 16px 40px;
    }

    .search-bar .search-form {
        flex-direction: column;
    }

    .search-bar input,
    .search-bar select {
        width: 100%;
        min-width: 100%;
    }

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

    .property-detail-grid {
        grid-template-columns: 1fr;
    }

    .property-gallery {
        height: 300px;
    }

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

    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        margin-left: 200px;
    }

    .filters-form {
        flex-direction: column;
    }

    .filters-form .filter-group {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .property-card-image {
        height: 200px;
    }

    .admin-sidebar {
        width: 60px;
        padding: 12px;
    }

    .admin-sidebar .admin-sidebar-brand span,
    .admin-sidebar .admin-nav a span {
        display: none;
    }

    .admin-main {
        margin-left: 60px;
        padding: 16px;
    }
}
