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

:root {
    /* Refined color palette with stronger contrast */
    --color-primary: #1a1a1a;
    --color-secondary: #2c3e50;
    --color-accent: #3a7bc8;
    --color-light: #ffffff;
    --color-white: #ffffff;
    --color-gray-100: #fafafa;
    --color-gray-200: #f5f5f5;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-gray-600: #5a5a5a;
    --color-gray-700: #4a4a4a;
    --color-gray-800: #2a2a2a;
    --color-gray-900: #000000;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

/* Disable animations on mobile for better performance */
@media (min-width: 769px) {
    .page-animate {
        animation: fadeInUp 0.6s ease-out;
    }

    .page-animate-delay {
        animation: fadeInUp 0.6s ease-out 0.2s both;
    }

    .hero-title {
        animation: fadeInSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    .hero-subtitle {
        animation: fadeInSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    }

    .hero-buttons {
        animation: fadeInSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    }
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    background: var(--color-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

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

a:hover {
    color: var(--color-primary);
}

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

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

/* ===== Navigation - COMPLETELY REWORKED ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .navbar {
        backdrop-filter: none;
        background: #ffffff;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--spacing-md);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    font-family: var(--font-display);
    z-index: 10002;
    transition: color 0.3s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: transparent;
    transition: background 0.3s ease;
}

.logo.menu-open {
    color: #ffffff;
}

.logo.menu-open::after {
    background: rgba(255, 255, 255, 0.4);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    margin: 0;
}

.nav-menu a {
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

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

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

/* ELEGANT CIRCULAR MENU BUTTON */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.mobile-toggle:active {
    transform: scale(0.95);
}

.mobile-toggle span {
    display: block !important;
    width: 20px;
    height: 2px;
    background: #1a1a1a !important;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-toggle span:nth-child(1) {
    top: 18px;
    transform: translateX(-50%);
}

.mobile-toggle span:nth-child(2) {
    top: 23px;
    transform: translateX(-50%);
}

.mobile-toggle span:nth-child(3) {
    top: 28px;
    transform: translateX(-50%);
}

/* Perfect X animation */
.mobile-toggle.active span:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-toggle.active {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-toggle.active span {
    background: #1a1a1a !important;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -90px;
    padding-top: 90px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/realheader.jpg') center/cover no-repeat;
    z-index: -2;
}

@media (max-width: 768px) {
    .hero-image {
        background-position: center center;
        background-size: cover;
    }
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(74, 144, 226, 0.3) 100%);
    z-index: 1;
    will-change: auto;
}

@media (max-width: 768px) {
    .hero-image::before {
        background: rgba(26, 26, 26, 0.6);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f0f0f0;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-disclaimer {
        font-size: 0.75rem;
        margin-top: 1.5rem;
    }
}

/* ===== Buttons - ELEGANT & REFINED ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: #1a1a1a;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

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

.btn-white:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-link:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    color: #ffffff;
}

/* ===== Sections ===== */
.featured-section,
.services-section {
    padding: var(--spacing-xxl) 0;
}

.services-section {
    background: var(--color-gray-100);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    font-weight: 300;
}

.section-footer {
    text-align: center;
    margin-top: calc(var(--spacing-xl) * 1.5);
    padding-top: calc(var(--spacing-xl) * 1.5);
    position: relative;
}

.section-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    border-radius: 1px;
}

.section-footer .btn-primary {
    background: var(--color-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.section-footer .btn-primary:hover {
    background: var(--color-secondary);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ===== Property Grid ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

/* Featured Grid - 2 Centered Cards */
.featured-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    gap: 3rem;
}

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

@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.property-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.property-card:active {
    transform: translateY(-4px) scale(0.98);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
    background: var(--color-gray-200);
}

/* Fallback gradients for property images */
.property-card:nth-child(1) .property-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.property-card:nth-child(2) .property-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.property-card:nth-child(3) .property-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.property-card:nth-child(4) .property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--color-gray-200);
}

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

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

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: var(--color-primary);
}

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

.gallery-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

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

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

.gallery-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.property-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.property-location {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.property-description {
    color: var(--color-gray-700);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
}

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

.property-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.property-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-400);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-column h3,
.footer-column h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.5rem !important;
}

.footer-text {
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links,
.footer-contact,
.footer-hours {
    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--color-gray-400);
}

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

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

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.footer-credit a {
    color: var(--color-accent);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Increase base font size for better readability */
    html {
        font-size: 17px;
    }
    
    /* Optimized Navigation */
    .nav-wrapper {
        padding: 1rem var(--spacing-md);
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo {
        font-size: 1.35rem;
        position: relative;
        transform: none;
    }
    
    .logo::after {
        bottom: -3px;
    }
    
    .nav-menu {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(165deg, 
            rgba(10, 15, 30, 0.98) 0%, 
            rgba(20, 30, 48, 0.96) 50%,
            rgba(10, 15, 30, 0.98) 100%);
        backdrop-filter: blur(24px) saturate(150%);
        -webkit-backdrop-filter: blur(24px) saturate(150%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3rem 2rem;
        gap: 0;
        z-index: 9999;
        overflow-y: auto;
        margin: 0 auto !important;
        transform: none !important;
        width: 100%;
        opacity: 0;
        transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
    }
    
    .nav-menu.closing {
        opacity: 0;
    }
    
    .nav-menu li {
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        list-style: none;
        opacity: 0;
        animation: itemFloat 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        text-align: center;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.18s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.26s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.34s; }
    
    @keyframes itemFloat {
        0% {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.1rem 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        letter-spacing: 0.02em;
        font-family: var(--font-primary);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -1px;
        width: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        transform: translateX(-50%);
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu a:hover {
        color: #ffffff;
        transform: scale(1.05);
        letter-spacing: 0.06em;
    }
    
    .nav-menu a:hover::after {
        width: 100%;
    }
    
    .nav-menu a.active {
        color: #ffffff;
        font-weight: 500;
    }
    
    .nav-menu a.active::after {
        width: 60%;
        background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.8), transparent);
    }
    
    .mobile-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
        z-index: 10002 !important;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 85vh;
        height: auto;
    }
    
    .hero-content {
        padding-top: 100px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
    
    /* Property Grid Mobile */
    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }
    
    .featured-grid {
        grid-template-columns: 1fr !important;
        max-width: 100%;
        gap: var(--spacing-md);
    }
    
    /* Mobile Gallery - Always show indicators */
    .gallery-indicators {
        opacity: 1;
        bottom: 15px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .gallery-dot.active {
        width: 28px;
    }
    
    .gallery-nav {
        opacity: 1;
        background: rgba(255, 255, 255, 0.9);
        pointer-events: auto;
    }
    
    /* Swipe hint animation on mobile */
    @keyframes swipeHint {
        0%, 100% { transform: translateY(-50%) translateX(0); }
        50% { transform: translateY(-50%) translateX(5px); }
    }
    
    .gallery-nav.next {
        animation: swipeHint 2s ease-in-out 1s 2;
    }
    
    .property-details {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .property-card {
        border-radius: 8px;
    }
    
    .service-card {
        border-radius: 8px;
    }
}