/* ============================================
   DIRECT OWNER PROPERTY PORTAL - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0F172A;
    --secondary: #1E293B;
    --accent: #10B981;
    --accent-dark: #059669;
    --accent-light: #34D399;
    --bg: #F8FAFC;
    --bg-dark: #F1F5F9;
    --text: #1E293B;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --glass: rgba(255,255,255,0.1);
    --glass-border: rgba(255,255,255,0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

.accent {
    color: var(--accent);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(16, 185, 129, 0.1);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.loader-text span {
    color: var(--accent);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
}

.nav-brand i {
    font-size: 1.8rem;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    color: var(--text-lighter);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-lighter);
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

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

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    z-index: 9998;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #064E3B;
    color: #6EE7B7;
    border-left: 4px solid var(--accent);
}

.notification.error {
    background: #7F1D1D;
    color: #FCA5A5;
    border-left: 4px solid #EF4444;
}

.notification.info {
    background: #1E3A5F;
    color: #93C5FD;
    border-left: 4px solid #3B82F6;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding-top: 70px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(16,185,129,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(59,130,246,0.05) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, -5%); }
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-lighter);
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Hero Search */
.hero-search {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.search-tab {
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: rgba(255,255,255,0.05);
    color: var(--text-lighter);
}

.search-tab.active {
    background: var(--accent);
    color: var(--white);
}

.search-tab:hover:not(.active) {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-form input,
.search-form select {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-form input::placeholder {
    color: var(--text-lighter);
}

.search-form input:focus,
.search-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
}

.search-form select option {
    background: var(--secondary);
    color: var(--white);
}

.search-btn {
    padding: 14px 36px;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.3);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-stat .number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-top: 4px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-header .section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16,185,129,0.08);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ============================================
   FEATURED & LATEST PROPERTIES
   ============================================ */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

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

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

.property-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.property-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.badge {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: var(--white);
}

.badge-type {
    background: rgba(15,23,42,0.85);
    color: var(--white);
}

.badge-purpose {
    background: var(--accent);
    color: var(--white);
}

.badge-purpose.rent {
    background: #3B82F6;
}

.card-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
    font-size: 1.1rem;
}

.card-favorite:hover,
.card-favorite.active {
    background: #FEE2E2;
    color: #EF4444;
}

.card-image-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

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

.property-card-price {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-card-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.property-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.property-card-location i {
    color: var(--accent);
}

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

.property-card-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.property-card-features i {
    color: var(--accent);
    font-size: 0.9rem;
}

.property-card-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.card-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.card-btn-whatsapp:hover {
    background: #1DA851;
}

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

.card-btn-details:hover {
    background: var(--secondary);
}

.card-btn-compare {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
}

.card-btn-compare:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, #f1f5f9 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease infinite;
    border-radius: 8px;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skeleton-image {
    height: 240px;
}

.skeleton-body {
    padding: 20px;
}

.skeleton-line {
    height: 16px;
    margin-bottom: 12px;
    width: 80%;
}

.skeleton-line.short {
    width: 50%;
}

.skeleton-line.medium {
    width: 65%;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(16,185,129,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--accent);
    color: var(--white);
}

.category-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--accent);
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #F59E0B;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    font-family: var(--font-primary);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    text-align: left;
}

.faq-question i {
    transition: var(--transition);
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.footer-brand i {
    font-size: 1.8rem;
    color: var(--accent);
}

.footer-col p {
    color: var(--text-lighter);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.footer-col h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-col ul li a {
    color: var(--text-lighter);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.contact-info li i {
    color: var(--accent);
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-lighter);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-lighter);
    font-size: 0.85rem;
}

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

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(16,185,129,0.08) 0%, transparent 50%);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 8px;
}

.page-header p {
    position: relative;
    z-index: 1;
    color: var(--text-lighter);
    font-size: 1rem;
}

/* ============================================
   FILTERS
   ============================================ */
.filters-section {
    background: var(--white);
    padding: 24px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 70px;
    z-index: 100;
}

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

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

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

/* ============================================
   PROPERTY LISTING
   ============================================ */
.listing-section {
    padding: 40px 0;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.listing-count {
    font-size: 0.95rem;
    color: var(--text-light);
}

.listing-count strong {
    color: var(--text);
}

.listing-sort select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.pagination a {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
}

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

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

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

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

.property-gallery {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.gallery-main {
    position: relative;
    height: 500px;
    background: var(--bg-dark);
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--text);
}

.gallery-nav:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.gallery-nav.prev {
    left: 16px;
}

.gallery-nav.next {
    right: 16px;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    overflow-x: auto;
}

.gallery-thumbs img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    box-shadow: 0 0 0 3px var(--accent);
}

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

.property-main-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.property-title-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.property-title-section h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.property-meta i {
    color: var(--accent);
}

.property-price-large {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 16px 0;
}

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-item {
    text-align: center;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius);
}

.feature-item i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.feature-item .value {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

.feature-item .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.property-description {
    margin: 24px 0;
}

.property-description h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.property-description p {
    color: var(--text-light);
    line-height: 1.8;
    white-space: pre-line;
}

.property-features-list {
    margin: 24px 0;
}

.property-features-list h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    padding: 8px 16px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text);
    border: 1px solid var(--border);
}

.property-location {
    margin: 24px 0;
}

.property-location h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.map-container {
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.owner-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.owner-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.owner-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg);
}

.owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.owner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.owner-badge.verified {
    background: rgba(16,185,129,0.1);
    color: var(--accent);
}

.owner-badge.unverified {
    background: rgba(239,68,68,0.1);
    color: #EF4444;
}

.owner-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.owner-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.owner-action-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.owner-action-btn.whatsapp:hover {
    background: #1DA851;
}

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

.owner-action-btn.call:hover {
    background: var(--secondary);
}

.owner-action-btn.email {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.owner-action-btn.email:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Similar Properties */
.similar-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.auth-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.08);
}

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

.form-group .input-hint {
    font-size: 0.78rem;
    color: var(--text-lighter);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.form-checkbox label {
    font-size: 0.9rem;
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.3);
}

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

.btn-secondary:hover {
    background: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-danger {
    background: #EF4444;
    color: var(--white);
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: auto;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.otp-section {
    display: none;
}

.otp-section.active {
    display: block;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.otp-inputs input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.otp-inputs input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.08);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}

.dashboard-sidebar {
    background: var(--primary);
    padding: 24px 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.dashboard-sidebar .sidebar-user {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.sidebar-user-info h4 {
    color: var(--white);
    font-size: 0.95rem;
}

.sidebar-user-info p {
    color: var(--text-lighter);
    font-size: 0.8rem;
}

.dashboard-sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-lighter);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dashboard-sidebar .nav-item i {
    width: 20px;
    text-align: center;
}

.dashboard-sidebar .nav-item:hover,
.dashboard-sidebar .nav-item.active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-left-color: var(--accent);
}

.dashboard-content {
    padding: 32px;
    background: var(--bg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
}

.dashboard-header .header-actions {
    display: flex;
    gap: 12px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.green { background: rgba(16,185,129,0.1); color: var(--accent); }
.stat-icon.blue { background: rgba(59,130,246,0.1); color: #3B82F6; }
.stat-icon.yellow { background: rgba(245,158,11,0.1); color: #F59E0B; }
.stat-icon.red { background: rgba(239,68,68,0.1); color: #EF4444; }
.stat-icon.purple { background: rgba(139,92,246,0.1); color: #8B5CF6; }

.stat-info .stat-number {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
}

.stat-info .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Dashboard Table */
.dashboard-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h2 {
    font-size: 1.1rem;
}

.table-responsive {
    overflow-x: auto;
}

.dashboard-table table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    text-align: left;
    padding: 14px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.dashboard-table td {
    padding: 14px 24px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table tr:hover td {
    background: var(--bg);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-badge.approved,
.status-badge.active {
    background: rgba(16,185,129,0.1);
    color: var(--accent);
}

.status-badge.pending {
    background: rgba(245,158,11,0.1);
    color: #F59E0B;
}

.status-badge.rejected {
    background: rgba(239,68,68,0.1);
    color: #EF4444;
}

.table-actions {
    display: flex;
    gap: 6px;
}

.table-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.table-btn.edit { background: rgba(59,130,246,0.1); color: #3B82F6; }
.table-btn.edit:hover { background: #3B82F6; color: var(--white); }
.table-btn.delete { background: rgba(239,68,68,0.1); color: #EF4444; }
.table-btn.delete:hover { background: #EF4444; color: var(--white); }
.table-btn.view { background: rgba(16,185,129,0.1); color: var(--accent); }
.table-btn.view:hover { background: var(--accent); color: var(--white); }

/* Subscription Card */
.subscription-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.subscription-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscription-card h3 i {
    color: var(--accent);
}

.subscription-features {
    margin: 16px 0;
}

.subscription-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.subscription-features li i {
    color: var(--accent);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 1.3rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border);
}

/* ============================================
   DRAG & DROP UPLOAD
   ============================================ */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(16,185,129,0.03);
}

.upload-zone i {
    font-size: 3rem;
    color: var(--text-lighter);
    margin-bottom: 16px;
}

.upload-zone h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.upload-zone p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.upload-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.upload-preview {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239,68,68,0.9);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .search-form {
        flex-direction: column;
    }
    .search-form input {
        min-width: 100%;
    }
    .section {
        padding: 50px 0;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .properties-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .auth-card {
        padding: 32px 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .gallery-main {
        height: 300px;
    }
    .dashboard-content {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .property-detail-grid {
        grid-template-columns: 1fr;
    }
    .property-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .listing-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .filters-form {
        flex-direction: column;
    }
    .filter-group {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .property-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--text-lighter);
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 8px;
}

/* Empty image placeholder */
.img-placeholder {
    background: linear-gradient(135deg, var(--bg-dark), var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 2rem;
}
