/* =============================================
   Realtor Mahi - Main Stylesheet
   Premium Real Estate Theme
   ============================================= */

/* =============================================
   Google Fonts Import
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* =============================================
   CSS Custom Properties (Design Tokens)
   ============================================= */
:root {
    /* Primary Colors */
    --primary-navy: #0a1628;
    --primary-dark: #111827;
    --primary-gold: #c9a34f;
    --primary-gold-light: #d4b76a;
    --primary-gold-dark: #a8853d;

    /* Surface Colors */
    --surface-dark: #1a2332;
    --surface-medium: #1e293b;
    --surface-light: #243044;
    --surface-card: #162032;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-gold: #c9a34f;
    --text-dark: #0f172a;

    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --accent-purple: #8b5cf6;

    /* Badge Colors */
    --badge-buy: #22c55e;
    --badge-rent: #3b82f6;
    --badge-sell: #f97316;
    --badge-commercial: #8b5cf6;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #c9a34f, #e8c66a, #c9a34f);
    --gradient-dark: linear-gradient(180deg, #0a1628 0%, #111827 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(17, 24, 39, 0.8) 50%, rgba(10, 22, 40, 0.6) 100%);
    --gradient-card: linear-gradient(145deg, #162032 0%, #1a2332 100%);

    /* Glassmorphism */
    --glass-bg: rgba(22, 32, 50, 0.7);
    --glass-border: rgba(201, 163, 79, 0.15);
    --glass-blur: blur(20px);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 4px 20px rgba(201, 163, 79, 0.3);
    --shadow-glow: 0 0 30px rgba(201, 163, 79, 0.15);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-navy);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* =============================================
   Container & Layout
   ============================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   Navigation Bar
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

.nav-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 20px;
    font-weight: 800;
}

.nav-logo span {
    font-family: var(--font-heading);
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav-login {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-full);
    background: transparent;
    transition: all var(--transition-base);
}

.btn-nav-login:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    z-index: 1001;
    background: none;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 163, 79, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--surface-dark);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-dark:hover {
    background: var(--surface-light);
    border-color: var(--primary-gold);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

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

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-navy);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

/* Animated background elements */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 15s infinite ease-in-out;
}

.hero-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-particles .particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 2s; animation-duration: 18s; }
.hero-particles .particle:nth-child(3) { top: 60%; left: 30%; animation-delay: 4s; animation-duration: 14s; }
.hero-particles .particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 1s; animation-duration: 16s; }
.hero-particles .particle:nth-child(5) { top: 10%; left: 50%; animation-delay: 3s; animation-duration: 20s; }
.hero-particles .particle:nth-child(6) { top: 70%; left: 90%; animation-delay: 5s; animation-duration: 13s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    25% { transform: translateY(-30px) translateX(15px); opacity: 0.5; }
    50% { transform: translateY(-15px) translateX(-10px); opacity: 0.3; }
    75% { transform: translateY(-45px) translateX(20px); opacity: 0.4; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 163, 79, 0.12);
    border: 1px solid rgba(201, 163, 79, 0.25);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title .gold {
    color: var(--primary-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Hero Search Box */
.hero-search {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    box-shadow: var(--shadow-xl);
}

.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: var(--surface-dark);
    padding: 4px;
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.search-tab {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.search-tab.active,
.search-tab:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-field input,
.search-field select {
    padding: 14px 16px;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.search-field input:focus,
.search-field select:focus {
    border-color: var(--primary-gold);
}

.search-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.search-field select option {
    background: var(--surface-dark);
    color: var(--text-primary);
}

.btn-search {
    padding: 14px 32px;
    background: var(--gradient-gold);
    color: var(--primary-navy);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold);
    white-space: nowrap;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 163, 79, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* =============================================
   Featured Properties Section
   ============================================= */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

/* Property Card */
.property-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(201, 163, 79, 0.2);
}

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

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.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: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.badge-buy { background: var(--badge-buy); }
.badge-rent { background: var(--badge-rent); }
.badge-sell { background: var(--badge-sell); }
.badge-commercial { background: var(--badge-commercial); }

.property-card-featured {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(201, 163, 79, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 14px;
}

.property-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.property-card-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
}

.property-card-price .price-unit {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

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

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

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

.property-card-location i {
    color: var(--primary-gold);
    font-size: 12px;
}

.property-card-features {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.property-feature i {
    color: var(--primary-gold);
    font-size: 14px;
}

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

.category-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(201, 163, 79, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-gold);
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* =============================================
   Stats / Why Choose Us
   ============================================= */
.stats-section {
    background: var(--surface-dark);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(201, 163, 79, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-gold);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =============================================
   Team Section
   ============================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 163, 79, 0.2);
    box-shadow: var(--shadow-lg);
}

.team-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.team-card-info {
    padding: 24px;
}

.team-card-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-card-role {
    font-size: 14px;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-card-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-card-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.team-card-socials a:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    background: var(--gradient-card);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 18px;
    font-weight: 800;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
}

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

.footer-column ul li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px !important;
}

.footer-contact li i {
    color: var(--primary-gold);
    font-size: 16px;
    margin-top: 3px;
    width: 20px;
    flex-shrink: 0;
}

.footer-contact li span {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary-gold);
}

/* =============================================
   Properties Listing Page
   ============================================= */
.page-hero {
    padding: 140px 0 60px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--primary-navy));
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-secondary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-gold);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

/* Filters Sidebar */
.properties-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    padding-bottom: 80px;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.filter-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary-gold);
}

.filter-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-group select option {
    background: var(--surface-dark);
}

.price-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
    cursor: pointer;
}

.property-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-md);
}

.sort-info {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-info strong {
    color: var(--primary-gold);
}

.sort-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select {
    padding: 8px 14px;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-toggle button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.view-toggle button.active {
    background: var(--primary-gold);
    color: var(--primary-navy);
    border-color: var(--primary-gold);
}

/* =============================================
   Property Detail Page
   ============================================= */
.property-detail {
    padding: 100px 0 80px;
}

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

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

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

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.gallery-thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumbnails img.active,
.gallery-thumbnails img:hover {
    opacity: 1;
    border-color: var(--primary-gold);
}

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

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.detail-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-muted);
}

.detail-location i {
    color: var(--primary-gold);
}

.detail-price {
    text-align: right;
}

.detail-price .price-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-gold);
}

.detail-price .price-unit {
    font-size: 14px;
    color: var(--text-muted);
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.spec-item {
    text-align: center;
    padding: 16px;
    background: var(--surface-dark);
    border-radius: var(--radius-sm);
}

.spec-item i {
    font-size: 20px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.spec-item .spec-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.spec-item .spec-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-description p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface-dark);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.amenity-item i {
    color: var(--primary-gold);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Inquiry Sidebar */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agent-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
}

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

.agent-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.agent-role {
    font-size: 14px;
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.agent-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agent-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-call:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.inquiry-form-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.inquiry-form-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.inquiry-form .form-group {
    margin-bottom: 14px;
}

.inquiry-form .form-group input,
.inquiry-form .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.inquiry-form .form-group input::placeholder,
.inquiry-form .form-group textarea::placeholder {
    color: var(--text-muted);
}

.inquiry-form .form-group input:focus,
.inquiry-form .form-group textarea:focus {
    border-color: var(--primary-gold);
}

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

/* =============================================
   Contact Page
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.contact-info-card i {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form-card {
    background: var(--gradient-card);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    border: 1px solid rgba(148, 163, 184, 0.08);
}

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

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

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a {
    background: var(--surface-dark);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.pagination a:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    border-color: var(--primary-gold);
}

.pagination .active {
    background: var(--primary-gold);
    color: var(--primary-navy);
    border: 1px solid var(--primary-gold);
}

.pagination .disabled {
    background: var(--surface-dark);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

/* =============================================
   Lightbox
   ============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* =============================================
   Toast Notifications
   ============================================= */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface-dark);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
    min-width: 320px;
}

.toast-success { border-left: 4px solid var(--accent-green); }
.toast-error { border-left: 4px solid var(--accent-red); }
.toast-warning { border-left: 4px solid var(--accent-orange); }
.toast-info { border-left: 4px solid var(--accent-blue); }

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: var(--accent-green); }
.toast-error .toast-icon { color: var(--accent-red); }
.toast-warning .toast-icon { color: var(--accent-orange); }
.toast-info .toast-icon { color: var(--accent-blue); }

.toast-message {
    font-size: 14px;
    color: var(--text-primary);
    flex: 1;
}

.toast-close {
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--surface-light);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* =============================================
   Badge Classes
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background: rgba(34, 197, 94, 0.15); color: var(--accent-green); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.badge-warning { background: rgba(249, 115, 22, 0.15); color: var(--accent-orange); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.badge-primary { background: rgba(201, 163, 79, 0.15); color: var(--primary-gold); }
.badge-secondary { background: rgba(148, 163, 184, 0.15); color: var(--text-secondary); }
.badge-default { background: var(--surface-dark); color: var(--text-secondary); }

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1024px) {
    .hero-title { font-size: 48px; }
    .search-fields { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .property-detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { order: -1; }
    .properties-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 60px 40px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 30px; }
    .hero-stat .stat-number { font-size: 28px; }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .section-title { font-size: 32px; }

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

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

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

    .detail-specs { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }

    .gallery-main { height: 300px; }
    
    .detail-title { font-size: 22px; }
    .detail-price .price-value { font-size: 24px; }
    .detail-header { flex-direction: column; gap: 12px; }
    .detail-price { text-align: left; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .search-tabs { flex-wrap: wrap; }
    .search-tab { padding: 8px 16px; font-size: 13px; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .property-sort-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .amenities-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 32px; }
}

/* =============================================
   Utility Classes
   ============================================= */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }
.no-scroll { overflow: hidden; }
