/* ===================================
   CSS Variables & Root Styles
   =================================== */
:root {
    /* Primary Colors - Gold Theme */
    --primary: #c9a962;
    --primary-dark: #b08d3e;
    --primary-light: #e0c989;
    --primary-rgb: 201, 169, 98;

    /* Secondary Colors */
    --secondary: #1a1a2e;
    --secondary-light: #252542;
    --secondary-dark: #0f0f1a;

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #525252;
    --text-muted: #737373;
    --text-light: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 40px rgba(201, 169, 98, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;

    /* Typography */
    --font-primary: 'Tajawal', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #252542;
    --bg-dark: #0f0f1a;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --gray-100: #252542;
    --gray-200: #2d2d4a;
    --gray-800: #e5e5e5;
}

/* ===================================
   Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* Selection */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    overflow-x: hidden;
}

.highlight {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   Preloader
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
}

.house-loader {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.house-roof {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 35px solid var(--primary);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: roofBounce 1s ease-in-out infinite;
}

.house-body {
    width: 70px;
    height: 45px;
    background: var(--primary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 5px;
}

.house-door {
    width: 15px;
    height: 25px;
    background: var(--secondary);
    border-radius: 10px 10px 0 0;
    animation: doorPulse 1.5s ease-in-out infinite;
}

.house-window {
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 2px;
    animation: windowGlow 1s ease-in-out infinite alternate;
}

.loader-text {
    color: var(--white);
    font-size: var(--font-size-lg);
    margin-bottom: 20px;
    animation: textPulse 1.5s ease-in-out infinite;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: progressBar 2s ease-in-out infinite;
}

@keyframes roofBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes doorPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes windowGlow {
    0% {
        background: var(--secondary);
    }

    100% {
        background: var(--primary-light);
    }
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes progressBar {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

/* ===================================
   Custom Cursor
   =================================== */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    display: none;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: none;
}

@media (min-width: 1024px) {

    .cursor,
    .cursor-follower {
        display: block;
    }

    body {
        cursor: none;
    }

    a,
    button {
        cursor: none;
    }
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--primary-light);
}

/* ===================================
   Floating Contact Buttons
   =================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: var(--z-fixed);
}

.floating-contact a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    animation: floatBounce 3s ease-in-out infinite;
}

.floating-contact .whatsapp-btn {
    background: #25D366;
    animation-delay: 0s;
}

.floating-contact .phone-btn {
    background: var(--primary);
    animation-delay: 0.5s;
}

.floating-contact a:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.navbar:not(.scrolled) .logo-main {
    color: var(--white);
}

.logo-sub {
    font-size: var(--font-size-xs);
    color: var(--primary);
    font-weight: 500;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    padding: 10px 20px;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition-normal);
}

.navbar:not(.scrolled) .nav-link {
    color: var(--white);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 30px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: var(--transition-normal);
}

.navbar:not(.scrolled) .theme-toggle {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.nav-cta {
    padding: 12px 25px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
    transition: var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    gap: 6px;
    z-index: var(--z-fixed);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.navbar:not(.scrolled) .menu-toggle span {
    background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.9) 0%,
            rgba(26, 26, 46, 0.7) 50%,
            rgba(26, 26, 46, 0.8) 100%);
    z-index: -1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin: 0 auto 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(201, 169, 98, 0.2);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: var(--line-height-tight);
    margin-bottom: 25px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: var(--line-height-relaxed);
    animation: fadeInUp 1s ease 0.8s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 1.2s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-lg {
    padding: 18px 45px;
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

.video-btn .play-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white);
    transition: var(--transition-normal);
}

.video-btn:hover .play-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

/* Hero Search */
.hero-search {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    z-index: 2;
    animation: fadeInUp 1s ease 1.4s both;
}

.search-container {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 30px;
    box-shadow: var(--shadow-2xl);
}

[data-theme="dark"] .search-container {
    background: var(--secondary);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.search-tab {
    padding: 10px 30px;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-normal);
}

[data-theme="dark"] .search-tab {
    background: var(--secondary-light);
}

.search-tab.active,
.search-tab:hover {
    background: var(--primary);
    color: var(--white);
}

.search-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.search-group {
    flex: 1;
}

.search-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 10px;
}

.search-group label i {
    color: var(--primary);
}

.search-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    cursor: pointer;
}

[data-theme="dark"] .search-group select {
    background: var(--secondary-light);
    color: var(--text-light);
}

.search-group select:focus {
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-normal);
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(201, 169, 98, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 1.6s both;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: var(--radius-full);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Section Styles
   =================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: var(--line-height-tight);
    margin-bottom: 20px;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-img:hover img {
    transform: scale(1.05);
}

.main-img {
    position: relative;
    z-index: 2;
}

.secondary-img {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    height: 300px;
    z-index: 3;
    border: 5px solid var(--white);
}

[data-theme="dark"] .secondary-img {
    border-color: var(--secondary);
}

.experience-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gradient-primary);
    padding: 20px 25px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-gold);
    z-index: 4;
}

.exp-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.exp-text {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
}

.about-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    opacity: 0.1;
    top: -20px;
    left: -20px;
    animation: shapeFloat 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--primary);
    opacity: 0.15;
    bottom: 100px;
    left: -30px;
    animation: shapeFloat 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary);
    opacity: 0.2;
    top: 50%;
    right: 0;
    animation: shapeFloat 7s ease-in-out infinite;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.about-content {
    padding-right: 20px;
}

.about-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 20px;
}

.about-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: 15px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .feature-item {
    background: var(--secondary-light);
}

.feature-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ===================================
   Properties Section
   =================================== */
.properties {
    padding: var(--section-padding) 0;
}

.properties-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-normal);
}

[data-theme="dark"] .filter-btn {
    background: var(--secondary-light);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

[data-theme="dark"] .property-card {
    background: var(--secondary-light);
}

.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: var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 18px;
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.property-badge.sale {
    background: var(--success);
}

.property-badge.rent {
    background: var(--info);
}

.property-badge.new {
    background: var(--error);
}

.property-type {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.property-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.property-card:hover .property-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.action-btn.favorite.active {
    background: var(--error);
    color: var(--white);
}

.action-btn.favorite.active i {
    font-weight: 900;
}

.property-gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.property-gallery-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.property-gallery-dots .dot.active {
    background: var(--white);
    width: 24px;
    border-radius: var(--radius-full);
}

.property-content {
    padding: 25px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 10px;
}

.property-location i {
    color: var(--primary);
}

.property-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: var(--line-height-tight);
}

.property-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: var(--line-height-relaxed);
}

.property-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

[data-theme="dark"] .property-features {
    border-color: var(--gray-700);
}

.property-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.property-features .feature i {
    color: var(--primary);
    font-size: 16px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.property-price .price {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary);
}

.property-price .currency {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.btn-details {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(201, 169, 98, 0.1);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-details:hover {
    background: var(--primary);
    color: var(--white);
}

.properties-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .service-card {
    background: var(--secondary-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon .icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 98, 0.1);
    border-radius: var(--radius-xl);
    transform: rotate(45deg);
    transition: var(--transition-normal);
}

.service-card:hover .icon-bg {
    background: var(--primary);
    transform: rotate(0deg);
}

.service-icon i {
    position: relative;
    z-index: 1;
    font-size: 36px;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-normal);
}

.service-link:hover {
    gap: 15px;
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us {
    padding: var(--section-padding) 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: var(--line-height-relaxed);
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

[data-theme="dark"] .why-item {
    background: var(--secondary-light);
}

.why-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(-10px);
}

[data-theme="dark"] .why-item:hover {
    background: var(--secondary);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.why-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.why-content p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.why-us-visual {
    position: relative;
}

.visual-container {
    position: relative;
}

.visual-container img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.visual-card {
    position: absolute;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-xl);
    animation: cardFloat 4s ease-in-out infinite;
}

[data-theme="dark"] .visual-card {
    background: var(--secondary);
}

.visual-card.card-1 {
    top: 30px;
    left: -30px;
}

.visual-card.card-2 {
    bottom: 30px;
    right: -30px;
    animation-delay: 1s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.visual-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.card-text {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

[data-theme="dark"] .testimonial-card {
    background: var(--secondary-light);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 100px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.author-info span {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: var(--transition-normal);
}

[data-theme="dark"] .slider-btn {
    background: var(--secondary-light);
    border-color: var(--gray-700);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 35px;
    border-radius: var(--radius-full);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.95) 0%,
            rgba(26, 26, 46, 0.85) 100%);
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-300);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: var(--line-height-relaxed);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

[data-theme="dark"] .contact-method {
    background: var(--secondary-light);
}

.contact-method:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(-10px);
}

[data-theme="dark"] .contact-method:hover {
    background: var(--secondary);
}

.method-icon {
    width: 55px;
    height: 55px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact-method:hover .method-icon {
    background: var(--primary);
    color: var(--white);
}

.method-content h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.method-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    transition: var(--transition-normal);
}

[data-theme="dark"] .social-link {
    background: var(--secondary-light);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .contact-form-container {
    background: var(--secondary-light);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    padding-right: 50px;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--secondary);
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: var(--secondary-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-icon {
    position: absolute;
    top: 45px;
    right: 18px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-icon.textarea-icon {
    top: 52px;
}

.form-group input:focus~.form-icon,
.form-group select:focus~.form-icon,
.form-group textarea:focus~.form-icon {
    color: var(--primary);
}

.contact-form button[type="submit"] {
    margin-top: 10px;
}

.contact-form button[type="submit"] i {
    transition: var(--transition-normal);
}

.contact-form button[type="submit"]:hover i {
    transform: translateX(-5px) rotate(-20deg);
}

/* Form Validation States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: var(--success);
}

.form-group .error-message {
    display: none;
    font-size: var(--font-size-xs);
    color: var(--error);
    margin-top: 5px;
}

.form-group.error .error-message {
    display: block;
}

/* ===================================
   Map Section
   =================================== */
.map-section {
    height: 450px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
    transition: var(--transition-normal);
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--secondary);
    color: var(--gray-300);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-about {
    padding-left: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    background: var(--gradient-primary);
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-about p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: 25px;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 18px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '←';
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 10px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-newsletter p {
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: var(--line-height-relaxed);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form button {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 18px;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    transition: var(--transition-normal);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ===================================
   Modals
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(50px);
    transition: var(--transition-normal);
}

[data-theme="dark"] .modal-content {
    background: var(--secondary);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
    z-index: 10;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modal-close:hover {
    background: var(--error);
    color: var(--white);
    transform: rotate(90deg);
}

/* Video Modal */
.video-modal .modal-content {
    width: 900px;
    max-width: 90%;
    background: var(--black);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Property Modal */
.property-modal .modal-content {
    width: 1000px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.property-modal-content {
    padding: 40px;
}

.property-modal-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.property-modal-gallery .main-image {
    grid-row: span 2;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.property-modal-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-modal-gallery .thumb-image {
    height: 190px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.property-modal-gallery .thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.property-modal-gallery .thumb-image:hover img {
    transform: scale(1.1);
}

.property-modal-info h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.property-modal-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.property-modal-location i {
    color: var(--primary);
}

.property-modal-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
}

.property-modal-price .price {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--primary);
}

.property-modal-price .currency {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
}

.property-modal-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    margin-bottom: 30px;
}

[data-theme="dark"] .property-modal-features {
    background: var(--secondary-light);
}

.modal-feature {
    text-align: center;
}

.modal-feature i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-feature span {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.modal-feature small {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.property-modal-description h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.property-modal-description p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 30px;
}

.property-modal-actions {
    display: flex;
    gap: 15px;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-gold);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.5);
}

/* ===================================
   Toast Notifications
   =================================== */
.toast-container {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    min-width: 350px;
    max-width: 450px;
    animation: toastSlideIn 0.5s ease;
}

[data-theme="dark"] .toast {
    background: var(--secondary);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.hiding {
    animation: toastSlideOut 0.5s ease forwards;
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.toast-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.toast.warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.toast.info .toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.toast-message {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.toast-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.toast-close:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* AOS Custom Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-down"] {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-down"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid,
    .why-us-grid,
    .contact-grid {
        gap: 50px;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 10px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-2xl);
        z-index: var(--z-modal);
    }

    [data-theme="dark"] .nav-links {
        background: var(--secondary);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        font-size: var(--font-size-lg);
        text-align: center;
        border-radius: var(--radius-lg);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(201, 169, 98, 0.1);
    }

    .navbar:not(.scrolled) .nav-link {
        color: var(--text-primary);
    }

    [data-theme="dark"] .navbar:not(.scrolled) .nav-link {
        color: var(--text-light);
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-group {
        flex: 1 1 calc(50% - 10px);
    }

    .search-btn {
        flex: 1 1 100%;
    }

    .about-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .why-us-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-method {
        justify-content: center;
    }

    .contact-method:hover {
        transform: translateY(-5px);
    }

    .social-links {
        justify-content: center;
    }

    .property-modal-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 15px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-content {
        margin-bottom: 200px;
    }

    .hero-badge {
        padding: 8px 15px;
        font-size: var(--font-size-xs);
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-search {
        bottom: 30px;
    }

    .search-container {
        padding: 20px;
    }

    .search-tabs {
        justify-content: center;
    }

    .search-group {
        flex: 1 1 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .secondary-img {
        display: none;
    }

    .experience-badge {
        padding: 15px 20px;
    }

    .exp-number {
        font-size: var(--font-size-2xl);
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .properties-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: var(--font-size-sm);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 30px;
    }

    .testimonial-text {
        font-size: var(--font-size-base);
    }

    .slider-controls {
        margin-top: 30px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        padding-left: 0;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h4::after,
    .footer-newsletter h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        padding-right: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        height: 50px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .floating-contact {
        bottom: 20px;
        left: 20px;
    }

    .floating-contact a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .toast-container {
        top: auto;
        bottom: 20px;
        left: 15px;
        right: 15px;
    }

    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .property-modal-gallery {
        grid-template-columns: 1fr;
    }

    .property-modal-gallery .main-image {
        height: 250px;
    }

    .property-modal-gallery .thumb-image {
        display: none;
    }

    .property-modal-features {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .property-modal-actions {
        flex-direction: column;
    }

    .property-modal-actions .btn {
        width: 100%;
    }

    .visual-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .property-features {
        gap: 10px;
    }

    .property-features .feature {
        flex: 0 0 calc(50% - 5px);
        font-size: var(--font-size-xs);
    }

    .property-price .price {
        font-size: var(--font-size-xl);
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .map-section {
        height: 300px;
    }

    .modal-content {
        max-width: 95%;
        border-radius: var(--radius-xl);
    }

    .property-modal-content {
        padding: 20px;
    }

    .property-modal-info h2 {
        font-size: var(--font-size-xl);
    }

    .property-modal-price .price {
        font-size: var(--font-size-2xl);
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {

    .navbar,
    .floating-contact,
    .back-to-top,
    .hero-search,
    .scroll-indicator,
    .footer,
    .modal,
    .toast-container {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.3);
    }

    body {
        background: white;
        color: black;
    }

    * {
        box-shadow: none !important;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-slide {
        transition: none;
    }
}

/* Focus Visible */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #b8860b;
        --text-primary: #000000;
        --text-secondary: #333333;
    }

    .btn-primary {
        border: 2px solid var(--black);
    }
}