/* ========================================
   LUXURY REAL ESTATE - PREMIUM STYLESHEET
   Gulf Countries Edition
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Premium Color Palette */
    --color-gold: #D4AF37;
    --color-gold-light: #F2D974;
    --color-gold-dark: #B8941E;
    --color-navy: #0A1628;
    --color-charcoal: #1A1A2E;
    --color-dark: #16213E;
    --color-white: #FFFFFF;
    --color-off-white: #FBF8F3;
    --color-warm-bg: #F5F0E8;
    --color-cream: #FAF7F2;
    --color-gray-light: #E8E3DC;
    --color-gray: #6C757D;
    --color-text: #2C2C2C;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: linear-gradient(to bottom, var(--color-cream) 0%, var(--color-warm-bg) 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== NAVIGATION BAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 1px;
}

.logo i {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
    letter-spacing: 0.5px;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all var(--transition-base);
}

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

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

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

.mobile-only {
    display: none;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5), inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:active {
        transform: scale(0.95);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    }
    
    .btn-secondary:active {
        transform: scale(0.95);
        background: var(--color-white);
        color: var(--color-navy);
    }
    
    .btn-outline:active {
        transform: scale(0.95);
        background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
        color: var(--color-white);
    }
}

.btn-hero {
    animation: floatingButton 3s ease-in-out infinite;
}

@keyframes floatingButton {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Disable floating animation on mobile to save performance */
@media (max-width: 768px) {
    .btn-hero {
        animation: none;
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 0.9rem 2.5rem;
    border: 2px solid var(--color-white);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-white);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--color-navy);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--color-white);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    padding: 0.9rem 2rem;
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: var(--color-white);
    border-color: var(--color-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.btn-hero {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    display: block;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 26, 46, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    font-size: 0.85rem;
    letter-spacing: 1px;
    animation: bounce 2s infinite, fadeInUp 1s ease-out 1.2s backwards;
}

.scroll-indicator i {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: var(--color-gold);
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

.section-label::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    animation: slideInFromLeft 0.8s ease-out;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== PROPERTY SECTION ========== */
.properties-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-warm-bg) 100%);
}

.filters {
    margin-bottom: 3rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(145deg, #FFFFFF 0%, var(--color-off-white) 100%);
    border: 2px solid var(--color-gray-light);
    color: var(--color-text);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .filter-btn:active {
        transform: scale(0.95);
        border-color: var(--color-gold);
    }
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.filter-dropdowns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(145deg, #FFFFFF 0%, var(--color-off-white) 100%);
    border: 2px solid var(--color-gray-light);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--color-gold);
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* ========== PROPERTY GRID ========== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.property-card {
    background: linear-gradient(145deg, #FFFFFF 0%, var(--color-off-white) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInScale 0.6s ease-out backwards;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 2px var(--color-gold);
}

/* Mobile touch interactions */
@media (hover: none) and (pointer: coarse) {
    .property-card:active {
        transform: scale(0.98);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 0 2px var(--color-gold);
    }
    
    /* Always show slider navigation on mobile */
    .property-slider-nav {
        opacity: 1;
    }
}

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

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

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-rent {
    background: var(--color-gold);
}

.badge-offplan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.property-slider-nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.property-card:hover .property-slider-nav {
    opacity: 1;
}

.slider-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.property-info {
    padding: 2rem;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.8rem;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

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

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

.property-features {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 1.5rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-size: 0.9rem;
}

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

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* ========== OFF-PLAN SECTION ========== */
.off-plan-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

.off-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.off-plan-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.off-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .off-plan-card:active {
        transform: scale(0.98);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }
}

.off-plan-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.completion-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(10, 22, 40, 0.9);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.off-plan-info {
    padding: 2rem;
}

.off-plan-info h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.8rem;
}

.off-plan-info .location {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.off-plan-info .location i {
    color: var(--color-gold);
}

.off-plan-features {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.price-from {
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.price-from span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-navy);
    display: block;
    margin-top: 0.3rem;
}

/* ========== MAP SECTION ========== */
.map-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-warm-bg) 0%, var(--color-cream) 100%);
}

.map-container {
    position: relative;
}

.location-pins {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.location-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.location-card:hover,
.location-card.active {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .location-card:active {
        transform: scale(0.98);
        border-color: var(--color-gold);
    }
}

.location-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.3rem;
}

.location-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.3rem;
}

.location-details p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.map-placeholder {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder iframe {
    display: block;
}

/* ========== AGENTS SECTION ========== */
.agents-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.agent-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .agent-card:active {
        transform: scale(0.98);
    }
    
    /* Always show agent overlay on mobile */
    .agent-overlay {
        opacity: 1;
    }
}

.agent-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

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

.agent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 22, 40, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.agent-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .social-link:active {
        transform: scale(0.9);
        background: var(--color-gold);
        color: var(--color-white);
    }
}

.agent-info {
    padding: 2rem;
}

.agent-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.agent-title {
    color: var(--color-gold);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.agent-experience {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-experience i {
    color: var(--color-gold);
}

.agent-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-navy);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-top: 0.3rem;
}

.agent-actions {
    display: flex;
    gap: 1rem;
}

.agent-actions .btn-outline,
.agent-actions .btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.benefits-section .section-label {
    color: var(--color-gold);
}

.benefits-section .section-title {
    color: var(--color-white);
}

.benefits-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: var(--color-gold);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .benefit-card:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.08);
    }
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-warm-bg) 0%, var(--color-cream) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.contact-info .social-links {
    display: flex;
    gap: 1rem;
}

.contact-info .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.contact-info .social-link:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: linear-gradient(145deg, #FFFFFF 0%, var(--color-off-white) 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--color-gold);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

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

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--color-gold);
}

.footer-column ul li i {
    color: var(--color-gold);
    margin-right: 0.5rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .whatsapp-float {
        animation: none;
    }
    
    .whatsapp-float:active {
        transform: scale(0.95);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
    }
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--color-gray-light);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.modal-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.modal-header i {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.modal-form {
    padding: 2rem;
}

/* ========== SUCCESS MESSAGE ========== */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--color-white);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transition: transform 0.4s ease;
}

.success-message.active {
    transform: translate(-50%, -50%) scale(1);
}

.success-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.success-content p {
    color: var(--color-gray);
    font-size: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-navy);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: right var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .cta-btn {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .mobile-cta {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .agents-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-hero {
        width: 100%;
    }
    
    /* Reduce animation complexity on mobile */
    .hero-background {
        animation: none;
        background-attachment: scroll;
    }
    
    /* Disable parallax on mobile */
    .hero-background {
        transform: none !important;
    }
    
    /* Simplify card animations on mobile */
    .property-card,
    .off-plan-card,
    .agent-card {
        animation: fadeIn 0.4s ease-out backwards;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .off-plan-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-dropdowns {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .location-pins {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .property-info {
        padding: 1.5rem;
    }
    
    .agent-info {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    /* Better button sizes for touch */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        min-height: 48px;
        padding: 1rem 2rem;
    }
    
    /* Improve touch targets */
    .nav-link {
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* ========== SELECTION STYLE ========== */
::selection {
    background: var(--color-gold);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-gold);
    color: var(--color-white);
}
