/* --- CSS Variables & Design Tokens --- */
:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #10B981;
    --dark: #0F172A;
    --light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.w-100 { width: 100%; }
.text-primary { color: var(--primary); }

/* --- Glassmorphism Utilities --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

.btn-outline:hover {
    background: var(--dark);
    color: white;
}

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

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

/* --- Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.navbar {
    width: 100%;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled .nav-container {
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}
.brand span {
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link:hover {
    color: var(--dark);
}

.nav-admin {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.nav-admin:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.6) 40%, rgba(15, 23, 42, 0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

/* Hero Search Glass */
.search-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.search-form {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.input-group {
    flex: 1;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.form-input {
    border: 1px solid #CBD5E1;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    background: white;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-input:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

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

.admin-form-card {
    padding: 2rem;
    background: white;
    max-width: 980px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.divider {
    width: 1px;
    background: #E2E8F0;
    margin: 0.5rem 0;
}

.search-btn {
    border-radius: var(--radius-md);
    padding: 0 2rem;
}

/* --- Property Cards --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.property-grid, .listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.card-content {
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.negotiable-label {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.card-location {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.card-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.negotiable-label {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 1rem;
}

.negotiable-label {
    margin-left: auto;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

/* --- Listings Page Layout --- */
.page-header {
    background: var(--dark);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
}
.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.listings-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.filter-glass {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.filter-glass h3 {
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1.25rem;
}
.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}
.filter-group .form-input {
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 0.75rem;
}
.filter-group .form-input:focus {
    border-color: var(--primary);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* --- Property Detail Page --- */
.pt-100 { padding-top: 100px; }

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

.property-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.property-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
}
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info-card {
    padding: 2rem;
}

.property-info-card h1 {
    font-size: 2.5rem;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.property-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.detail-negotiable {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E2E8F0;
}
.spec-item {
    display: flex;
    flex-direction: column;
}
.spec-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.property-description h3, .brochure-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.property-description p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.brochure-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
}
.doc-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-md);
    border: 1px solid #E2E8F0;
}
.doc-info h4 { margin: 0; }
.doc-info p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.doc-card .btn { margin-left: auto; }

.sticky-sidebar {
    position: sticky;
    top: 100px;
    padding: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}
.contact-form .form-group:first-of-type { margin-top: 1.5rem; }
.contact-form .form-input {
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
}

/* --- Admin Panel --- */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(180deg, #0e1726 0%, #111827 100%);
    color: white;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    border-radius: 0 2rem 2rem 0;
    padding: 2rem 1.25rem;
}
.sidebar .brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.sidebar-menu a {
    display: block;
    width: 100%;
    padding: 1rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    color: #cbd5e1;
    font-size: 0.98rem;
}
.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(79, 70, 229, 0.15);
    color: white;
}
.main-content {
    flex: 1;
    width: calc(100% - 280px);
    padding: 2rem;
    background: #f8fafc;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.75rem;
}
.topbar h2 {
    margin: 0;
    font-size: 1.75rem;
}
.topbar div {
    color: var(--text-muted);
    font-weight: 600;
}
.admin-panel-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
}
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    table-layout: auto;
}
.admin-table th,
.admin-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}
.admin-table th {
    background: #f1f5f9;
    font-weight: 700;
    color: #1f2937;
}
.admin-table tr:nth-child(even) td {
    background: #f8fafc;
}
.admin-table td {
    color: #334155;
}
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.admin-actions .btn {
    white-space: nowrap;
    min-width: 90px;
    font-size: 0.85rem;
}
.message-text {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 420px;
    color: #334155;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.4);
    border-radius: 999px;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: white;
    padding-top: 4rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h3 {
    color: white;
    margin-bottom: 1rem;
}
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}
.footer-col a {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.5rem;
}
.footer-col a:hover {
    color: white;
}
.footer-col p {
    color: #94A3B8;
    margin-bottom: 0.5rem;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    color: #94A3B8;
    font-size: 0.875rem;
}
.footer-bottom div {
    text-align: left;
}
.footer-contact-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
}
@media (max-width: 700px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom div {
        width: 100%;
    }
}

/* --- Animations --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 1rem;
    }
    .section-header {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .page-header {
        padding: 6rem 0 3rem;
    }
    .property-grid, .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .listings-layout,
    .property-detail-layout {
        grid-template-columns: 1fr;
    }
    .filter-glass,
    .sticky-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }
    .filter-glass {
        margin-bottom: 1.5rem;
    }
    .property-detail-layout {
        gap: 1.5rem;
    }
    .page-header {
        padding: 5rem 0 2.5rem;
    }
    .property-gallery {
        height: 320px;
    }
    .card-features {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
        border-bottom: none;
        background: white;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        z-index: 1200;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .hero {
        padding-top: 100px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .search-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    .search-form .input-group {
        background: white;
        margin-bottom: 0.75rem;
        border-radius: var(--radius-md);
        padding: 1rem;
    }
    .search-btn {
        width: 100%;
        padding: 1rem 0;
    }
    .divider { display: none; }
    .property-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    .doc-card {
        flex-direction: column;
        text-align: center;
    }
    .doc-card .btn {
        margin: 1rem auto 0;
    }
    .admin-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-width: auto;
        padding: 1.5rem 1rem;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .sidebar-menu a {
        padding: 0.9rem 1rem;
    }
    .main-content {
        width: 100%;
        padding: 1.5rem;
    }
    .topbar {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
    }
    .admin-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-width: auto;
        padding: 1.5rem 1rem;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .sidebar-menu a {
        padding: 0.9rem 1rem;
    }
    .main-content {
        width: 100%;
        padding: 1.5rem;
    }
    .topbar {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
    }
    .admin-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    .admin-table th, .admin-table td {
        white-space: normal;
    }
    .admin-form-card {
        padding: 1.5rem;
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .form-actions .btn {
        width: 100%;
    }
    .footer-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    .admin-table {
        min-width: 850px;
    }
    .admin-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .admin-actions .btn {
        flex: 1 1 auto;
        min-width: 120px;
    }
    .message-text {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .site-header,
    .glass-panel,
    .admin-form-card,
    .filter-glass,
    .property-info-card,
    .card-content,
    .doc-card {
        border-radius: var(--radius-md);
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    .section-header h2 {
        margin-bottom: 1rem;
    }
    .form-grid,
    .property-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }
    .property-card {
        border-radius: var(--radius-lg);
    }
    .card-img-wrapper {
        height: 220px;
    }
    .page-header {
        padding: 4rem 0 2rem;
    }
    .property-detail-layout {
        gap: 1rem;
    }
    .property-gallery {
        height: 260px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .footer-col {
        text-align: left;
    }
    .footer-bottom {
        font-size: 0.8rem;
    }
    .footer-credit {
        margin-top: 0.25rem;
        font-size: 0.8rem;
        color: #94a3b8;
    }
    .footer-credit a {
        color: #ffffff;
        text-decoration: underline;
    }
}

