/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Luxury Teal Real Estate Color Palette */
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;

    /* Luxury Gradients */
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    --gradient-accent: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #0891b2 50%, #06b6d4 100%);

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-gray-900);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-brand {
    color: var(--color-gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: var(--color-gray-50);
}

.btn-admin {
    background: var(--gradient-primary) !important;
    color: var(--color-white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-full) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-gray-900);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}


.btn-outline {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
    box-shadow: none;
}

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

.btn-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 2px solid #fee2e2;
}

.btn-danger:hover {
    background: #ef4444;
    color: var(--color-white);
    border-color: #ef4444;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline-danger {
    border: 2px solid #ef4444;
    color: #ef4444;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #ef4444;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    transition: var(--transition-base);
}

.btn-icon:hover {
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,100 Q300,200 600,100 T1200,100 L1200,0 L0,0 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-xl);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    font-family: var(--font-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: var(--color-white);
    font-size: 2rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition-base);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

/* ===== SECTION STYLING ===== */
.featured-section,
.why-section,
.specializations-section,
.testimonials-section,
.listings-section,
.about-section,
.contact-section,
.mission-section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    font-family: var(--font-secondary);
}

/* ===== PROPERTY CARDS ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

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

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

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

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

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

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.property-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-info {
    padding: var(--spacing-md);
}

.property-type {
    display: inline-block;
    background: var(--color-gray-100);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-gray-900);
}

.property-developer {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-gray-500);
    margin-left: 0.25rem;
}

.property-location {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: var(--spacing-sm);
}

.property-features span {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.property-features i {
    color: var(--primary-color);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    right: var(--spacing-md);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.flash {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

.flash-success {
    border-left: 4px solid #10b981;
}

.flash-success i {
    color: #10b981;
}

.flash-error {
    border-left: 4px solid #ef4444;
}

.flash-error i {
    color: #ef4444;
}

.flash-close {
    margin-left: auto;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-gray-400);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.footer-col p {
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-md);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--color-gray-400);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-white);
    padding-left: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-800);
    color: var(--color-gray-400);
}

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

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

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(-10px);
    }

    50% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== LISTINGS PAGE ===== */
.listings-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.filters-sidebar,
.filter-card,
.admin-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.filters-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.filter-group {
    margin-bottom: var(--spacing-md);
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-gray-700);
}

.filter-select,
.filter-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition-fast);
}

.filter-select:focus,
.filter-input:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.listings-header {
    margin-bottom: var(--spacing-md);
}

.results-count {
    color: var(--color-gray-600);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
}

.empty-state i {
    font-size: 4rem;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-md);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
}

/* ===== PROPERTY DETAIL PAGE ===== */
.property-detail-section {
    padding: var(--spacing-xl) 0;
    margin-top: 70px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

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

.breadcrumb i {
    font-size: 0.75rem;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-lg);
}

.property-type-badge {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.property-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.property-location-large {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-header-price {
    text-align: right;
}

.price-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.property-gallery {
    margin-bottom: var(--spacing-xl);
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    height: 500px;
}

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

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.gallery-thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 150px;
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

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

.property-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.detail-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
}

.detail-card h2,
.detail-card h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: var(--primary-color);
}

.feature-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.feature-item span {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

.property-description {
    line-height: 1.8;
    color: var(--color-gray-700);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-gray-700);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.contact-divider {
    text-align: center;
    margin: var(--spacing-md) 0;
    color: var(--color-gray-400);
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--color-gray-200);
}

.contact-divider::before {
    left: 0;
}

.contact-divider::after {
    right: 0;
}

.similar-section {
    margin-top: var(--spacing-2xl);
}

.similar-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.experience-badge strong {
    display: block;
    font-size: 3rem;
    font-weight: 800;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.about-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--color-gray-700);
}

.about-highlights {
    margin-top: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-item p {
    margin: 0;
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.mission-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #fbbf24;
    margin-bottom: var(--spacing-md);
}

.testimonial-card p {
    margin-bottom: var(--spacing-md);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-container,
.contact-info-container {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-info-cards {
    margin-top: var(--spacing-xl);
}

.contact-info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-details p,
.contact-details a {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

.social-connect {
    margin-top: var(--spacing-xl);
}

.social-links-large {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links-large a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-base);
}

.social-links-large a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.map-container {
    margin-top: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-placeholder {
    background: var(--color-gray-100);
    padding: var(--spacing-2xl);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-md);
}

/* ===== ADMIN PAGES ===== */
.admin-login-page {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: var(--spacing-md);
}

.login-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
}

.login-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.login-header i {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
}

.login-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--color-gray-600);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-400);
}

.input-with-icon input {
    padding-left: 3rem;
}

.login-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.admin-header {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    margin-top: 70px;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.admin-content {
    padding: var(--spacing-xl) 0;
}

.admin-card {
    margin-bottom: var(--spacing-xl);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-gray-200);
}

.admin-card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-card-header h2 i {
    color: var(--primary-color);
}

.admin-card-body {
    padding-top: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-gray-700);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.typology-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: end;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.typology-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.typology-row button {
    height: 40px;
    min-width: 40px;
    align-self: flex-end;
}

.btn-remove {
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #ef4444;
    color: var(--color-white);
}

.btn-view:hover {
    background: #3b82f6;
    color: var(--color-white);
}

.btn-edit {
    background: #fef3c7;
    color: #92400e;
}

.btn-edit:hover {
    background: #f59e0b;
    color: var(--color-white);
}

.btn-delete {
    background: #fee2e2;
    color: #991b1b;
}

.btn-delete:hover {
    background: #ef4444;
    color: var(--color-white);
}

.property-form .form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-input {
    border: 2px dashed var(--color-gray-300);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-left: 1.5rem;
}

.current-images {
    margin-bottom: var(--spacing-md);
}

.current-images label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-sm);
}

.image-preview {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 120px;
}

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

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

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-xl);
        transition: var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

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

    .listings-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        margin-bottom: var(--spacing-md);
    }

    .property-header {
        flex-direction: column;
    }

    .property-header-price {
        text-align: left;
    }

    .gallery-main {
        height: 300px;
    }

    .features-grid-large {
        grid-template-columns: 1fr;
    }

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

    .admin-header-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .admin-actions {
        width: 100%;
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .flash-container {
        right: var(--spacing-sm);
        left: var(--spacing-sm);
    }

    .flash {
        min-width: auto;
    }
}

/* ===== CONTAINER FIX (consolidated) ===== */
/* Container Full Width Fix */
.container {
    max-width: 100% !important;
    width: 100%;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    margin: 0 auto;
}

/* Responsive padding for smaller screens */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}
/* ===== NAVBAR FIX (consolidated) ===== */
/* Navigation Fix - Override for visibility and alignment */

/* Ensure navbar is always on top */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

/* Fix missing navbar container and brand styles */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Fix navigation menu links - make them highly visible */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 600 !important;
    color: #374151 !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-menu a:hover {
    color: #6366f1 !important;
    background: #f3f4f6;
}

.nav-menu a.active {
    color: #6366f1 !important;
    background: #f3f4f6;
    font-weight: 700;
}

/* Admin button styling */
.btn-admin {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 9999px !important;
}

/* ===== RESPONSIVE STYLES ===== */
/* Activate mobile menu for tablets (1024px) and smaller */
@media (max-width: 1024px) {

    /* Show hamburger button */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        padding: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
    }

    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background: #111827;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hide nav menu by default */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    /* Show menu when active */
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem !important;
    }

    /* Hamburger animation when active */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

