/* ============================================
   EUROPA RESIDENCE - Award-Winning Premium Design
   Dark Luxury | Gold Accents | Sales-Driven
   ============================================ */

/* CSS Variables - Premium Color Palette */
:root {
    /* Dark Theme */
    --black: #000000;
    --black-rich: #030303;
    --black-soft: #0a0a0a;
    --dark-900: #0d0d0d;
    --dark-800: #121212;
    --dark-700: #1a1a1a;
    --dark-600: #222222;
    --dark-500: #2a2a2a;
    
    /* Gold Spectrum - Luxury Beige/Gold */
    --gold-dark: #8A703F;     /* Bronze/Dark Gold */
    --gold: #C5A059;          /* Primary Luxury Gold */
    --gold-light: #DBC18D;    /* Champagne/Beige Gold */
    --gold-bright: #F2E3C3;   /* Pale Gold Highlight */
    --gold-pale: #F9F1E1;     /* Very Light Beige */
    
    /* Updated Gradients for smoother luxury feel */
    --gradient-gold: linear-gradient(135deg, #C5A059 0%, #DBC18D 50%, #C5A059 100%);
    --gradient-gold-dark: linear-gradient(135deg, #8A703F 0%, #C5A059 100%);
    
    /* Blue Accents */
    --blue-dark: #0A1628;
    --blue-deep: #0F2847;
    --blue-primary: #1E3A5F;
    --blue-accent: #2E5A8B;
    --blue-light: #4A90D9;
    --blue-glow: #64B5F6;
    
    /* Text Colors - WHITE SPECTRUM */
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);
    
    /* Additional Gradients */
    --gradient-blue: linear-gradient(135deg, #1E3A5F 0%, #4A90D9 100%);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #121212 100%);
    --gradient-radial: radial-gradient(ellipse at center, #1a1a1a 0%, #000000 100%);
    
    /* Glass Effects */
    --glass-dark: rgba(0, 0, 0, 0.6);
    --glass-light: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --glass-border-gold: rgba(197, 160, 89, 0.3);
    --shadow-gold: 0 8px 32px rgba(197, 160, 89, 0.15);
    --shadow-blue: 0 8px 32px rgba(74, 144, 217, 0.15);
    --glow-gold: 0 0 60px rgba(197, 160, 89, 0.25);
    --glow-blue: 0 0 60px rgba(74, 144, 217, 0.2);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.4s var(--ease-smooth);
    --transition-slow: 0.6s var(--ease-smooth);
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;
}

/* Universal Reset for Colors in Dark Theme */
*:not(.text-gold):not(.btn):not(.badge):not(.alert) {
    border-color: inherit;
}

strong, b {
    color: inherit;
}

/* Ensure Hero content specifically is light */
.hero-content {
    color: var(--white);
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--black);
    color: var(--white-90) !important; /* Force light text everywhere */
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Force headings to be white */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--white) !important;
}

/* Override any bootstrap text colors */
.text-dark { color: var(--white-90) !important; }
.text-body { color: var(--white-90) !important; }
.text-black { color: var(--white-90) !important; }

/* Keep gold text gold */
.text-gold { color: var(--gold) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

/* Specific Hero Title Fix */
.hero-title {
    color: var(--white);
}

/* Fix Hero Badge if it has dark text */
.hero-badge {
    color: var(--gold);
}

/* Except for specific badges or buttons where background is light/gold */
.badge.bg-gold.text-dark,
.btn-glass-gold {
    color: var(--black) !important;
}

/* Form Inputs Text Color */
.glass-input, .form-control {
    color: var(--white) !important;
}

/* Card Titles & Text */
.card-title, .card-text {
    color: var(--white-90);
}

/* Table Text */
.table {
    color: var(--white-90);
}

.table th {
    color: var(--white-70);
}

/* Overriding Bootstrap Text Colors for Dark Theme */
.text-muted {
    color: var(--white-50) !important;
}

.text-black-50 {
    color: var(--white-50) !important;
}

.text-secondary {
    color: var(--white-70) !important;
}

/* Ensure links are visible */
a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-bright);
}

/* Fix for form labels if they aren't using .text-white-50 */
label, .form-label {
    color: var(--white-90);
}

/* Input Placeholder Color */
::placeholder {
    color: var(--white-30) !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: var(--white-30) !important;
}

::-ms-input-placeholder {
    color: var(--white-30) !important;
}
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 58, 95, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(201, 162, 39, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse 40% 30% at 10% 80%, rgba(74, 144, 217, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   TYPOGRAPHY - Premium Hierarchy
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); }

p {
    font-size: 1.0625rem;
    color: var(--white-70);
    line-height: 1.8;
}

.text-gold { color: var(--gold-light); }
.text-blue { color: var(--blue-light); }

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Uppercase Label Style */
.label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   NAVIGATION - Premium Fixed Header
   ============================================ */

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition-normal);
}

.glass-nav.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700; /* Bolder */
    color: var(--white);
    letter-spacing: 0.15em; /* Wider tracking */
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.navbar-brand .brand-text span {
    color: var(--gold);
    font-weight: 300; /* Lighter contrast */
}

/* Optional: Add a subtle underline dot or accent */
.navbar-brand .brand-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    opacity: 0;
    transition: var(--transition-fast);
}

.navbar-brand:hover .brand-text::after {
    opacity: 1;
    bottom: -5px;
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-70);
    padding: 0.75rem 1.25rem;
    position: relative;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

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

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

/* Dropdown */
.glass-dropdown {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 1rem;
    min-width: 220px;
}

.glass-dropdown .dropdown-item {
    color: var(--white-70);
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.glass-dropdown .dropdown-item:hover {
    background: var(--white-05);
    color: var(--gold);
}

/* ============================================
   BUTTONS - Sales-Driven CTAs
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Primary CTA - Gold */
.btn-glass-gold {
    background: var(--gold);
    color: var(--black);
    box-shadow: var(--shadow-gold);
}

.btn-glass-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: var(--transition-slow);
}

.btn-glass-gold:hover {
    background: var(--gold-bright);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.btn-glass-gold:hover::before {
    transform: translateX(100%);
}

/* Secondary CTA - Outline */
.btn-glass {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white-30);
}

.btn-glass:hover {
    background: var(--white-05);
    border-color: var(--gold);
    color: var(--gold);
}

/* Blue CTA */
.btn-glass-primary {
    background: var(--blue-primary);
    color: var(--white);
    border: 1px solid var(--blue-accent);
}

.btn-glass-primary:hover {
    background: var(--blue-accent);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

/* Large CTA */
.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION - Cinematic
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2075');
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) saturate(0.8);
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.7;
    z-index: 1;
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.15); }
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(15, 40, 71, 0.5) 100%
    );
    z-index: 1;
}

/* Remove default overlay when video is used (video has its own overlay) */
.hero-section.has-video::before {
    display: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, var(--black) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 100px;
    padding: 0.625rem 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-title strong {
    font-weight: 500;
    display: block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--white-70);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

/* Hero Stats - Proof Points */
.hero-stats {
    display: flex;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--white-10);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--gold);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--white-50);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    z-index: 3;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-gold);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    animation: float 8s ease-in-out infinite;
}

.floating-card-1 {
    right: 8%;
    top: 25%;
}

.floating-card-2 {
    right: 12%;
    bottom: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* ============================================
   SECTIONS - Clean & Spacious
   ============================================ */

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

.section-dark {
    background: var(--dark-900);
}

.section-gradient {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-900) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-badge::before,
.section-badge::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--white-50);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CARDS - Premium Glass Effect
   ============================================ */

.glass-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(201, 162, 39, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--glass-border-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.glass-card:hover::before {
    opacity: 1;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold) 0%, transparent 50%);
    opacity: 0.5;
    z-index: -1;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--black);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: var(--white-50);
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 2rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--gold-bright);
    gap: 1rem;
}

/* Service Cards with Image - Luxury Hover Effects */
a.service-card-image,
.service-card-image {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.service-card-image:hover {
    text-decoration: none;
    color: inherit;
}

.service-card-image:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-image .service-image-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.service-card-image .service-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-image:hover .service-image-bg {
    transform: scale(1.03);
}

.service-card-image .service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 25%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 75%,
        transparent 100%
    );
    opacity: 1;
    transition: opacity 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.service-card-image:hover .service-image-overlay {
    opacity: 0.9;
}

.service-card-image .service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-image h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

.service-card-image p {
    color: var(--white-50);
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
}

.service-card-image .service-link {
    margin-top: 1.5rem;
    transition: color 400ms ease-out;
}

.service-card-image .service-link i {
    transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-image:hover .service-link i {
    transform: translateX(3px);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .service-card-image,
    .service-card-image .service-image-bg,
    .service-card-image .service-image-overlay,
    .service-card-image .service-link,
    .service-card-image .service-link i {
        transition: none;
    }
    
    .service-card-image:hover {
        transform: none;
    }
    
    .service-card-image:hover .service-image-bg {
        transform: none;
    }
    
    .service-card-image:hover .service-link i {
        transform: none;
    }
}

/* ============================================
   PROPERTY CARDS - Luxury Listing Style
   ============================================ */

a.property-card,
.property-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.property-card:hover,
.property-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 25%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 75%,
        transparent 100%
    );
    opacity: 1;
    transition: opacity 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.property-card:hover .property-image::after {
    opacity: 0.85;
}

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

.property-badges {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.property-badge {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-10);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-badge.featured {
    background: var(--gold);
    border: none;
    color: var(--black);
}

.property-badge.residency {
    background: var(--blue-primary);
    border: none;
    color: var(--white);
}

.property-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.property-title {
    font-size: 1.175rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    color: var(--white-50);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features i {
    color: var(--white-30);
    font-size: 0.875rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--white-10);
}

.property-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--white);
}

.property-price span {
    color: var(--gold);
}

.property-link {
    width: 52px;
    height: 52px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-link i {
    transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-link i {
    transform: translateX(3px);
}

/* Respect reduced motion for property cards */
@media (prefers-reduced-motion: reduce) {
    .property-card,
    .property-image img,
    .property-image::after,
    .property-link,
    .property-link i {
        transition: none;
    }
    
    .property-card:hover {
        transform: none;
    }
    
    .property-card:hover .property-image img {
        transform: none;
    }
    
    .property-card:hover .property-link i {
        transform: none;
    }
}

/* ============================================
   TESTIMONIALS - Trust Building
   ============================================ */

.testimonial-card {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--gold);
    opacity: 0.3;
    line-height: 0.5;
    margin-bottom: 1.5rem;
}

.testimonial-content {
    font-size: 1.125rem;
    color: var(--white-70);
    line-height: 1.9;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}

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

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: var(--font-primary);
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--gold);
}

.testimonial-rating {
    margin-left: auto;
    color: var(--gold);
    font-size: 0.875rem;
    display: flex;
    gap: 0.25rem;
}

/* ============================================
   CTA SECTION - Conversion Focused
   ============================================ */

.cta-section {
    padding: 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--dark-900) 50%, rgba(201, 162, 39, 0.1) 100%);
    border: 1px solid var(--glass-border-gold);
    border-radius: 32px;
    padding: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 40%);
    animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cta-description {
    color: var(--white-50);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-info-card {
    padding: 2.5rem;
    text-align: center;
    height: 100%;
}

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

.contact-icon i {
    font-size: 1.5rem;
    color: var(--black);
}

.contact-info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.contact-info-card p {
    color: var(--white-50);
    font-size: 1rem;
}

/* Form Inputs */
.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--white-10);
    border-radius: 8px;
    padding: 1.125rem 1.5rem;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.glass-input::placeholder {
    color: var(--white-30);
}

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

@media (max-width: 768px) {
    .row-fields {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER - Premium & Clean
   ============================================ */

.glass-footer {
    background: var(--dark-900);
    border-top: 1px solid var(--white-05);
    position: relative;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white-50);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--white-50);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 0.25rem;
    width: 16px;
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-70);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid var(--white-05);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */

.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    color: var(--black);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

/* ============================================
   PAGE HERO - Inner Pages
   ============================================ */

.page-hero {
    padding: 200px 0 120px;
    position: relative;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-900) 0%, var(--black) 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(30, 58, 95, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 100%, rgba(201, 162, 39, 0.1) 0%, transparent 40%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
    font-size: 0.9375rem;
}

.breadcrumb-item {
    color: var(--white-50);
}

.breadcrumb-item a {
    color: var(--gold);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '—';
    color: var(--white-30);
    padding: 0 1rem;
}

/* ============================================
   TEAM CARDS
   ============================================ */

.team-card {
    text-align: center;
    padding: 3rem 2rem;
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 3px solid var(--gold);
    padding: 4px;
    background: var(--black);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.team-card .position {
    color: var(--gold);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-card .bio {
    color: var(--white-50);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-70);
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    gap: 0.5rem;
}

.page-link {
    background: transparent;
    border: 1px solid var(--white-10);
    color: var(--white-70);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.page-link:hover {
    background: var(--white-05);
    border-color: var(--gold);
    color: var(--gold);
}

.page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

/* ============================================
   ALERTS
   ============================================ */

.messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.glass-alert {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-10);
    border-radius: 12px;
    color: var(--white);
    padding: 1.25rem 1.5rem;
}

.glass-alert.alert-success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    :root {
        --section-padding: 100px;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .cta-card {
        padding: 4rem 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 160px 0 100px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .navbar-toggler {
        border: 1px solid var(--white-20);
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C9A227' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--white-10);
        border-radius: 16px;
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
    }
    
    .btn-glass-gold.ms-lg-3 {
        width: 100%;
        margin-top: 1rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

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

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

/* Selection */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: var(--white);
}

/* ============================================
   BLOG CONTENT STYLING
   ============================================ */

.blog-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-family: var(--font-display);
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-family: var(--font-display);
}

.blog-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
    font-family: var(--font-display);
}

.blog-content p {
    margin-bottom: 1.25rem;
    color: var(--white-70);
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--white-70);
}

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-content strong {
    color: var(--white);
    font-weight: 600;
}

.blog-content a {
    color: var(--gold);
    text-decoration: underline;
}

.blog-content a:hover {
    color: var(--gold-bright);
}

.blog-content blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--white-50);
}

/* Smooth scroll target offset */
:target {
    scroll-margin-top: 100px;
}

/* ============================================
   ANIMATIONS - AOS Enhancements
   ============================================ */

[data-aos] {
    transition-timing-function: var(--ease-smooth);
}

/* Line decoration */
.line-gold {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto;
}

/* Trust Badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--white-70);
}

.trust-badge i {
    color: var(--gold);
}
