@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #050810;
    --bg-card: rgba(13, 17, 33, 0.6);
    --primary-neon: #00f3ff;
    --accent-gold: #e2b74b;
    --accent-gold-glow: rgba(226, 183, 75, 0.4);
    --neon-glow: rgba(0, 243, 255, 0.4);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Ultra Glassmorphism */
    --glass-bg: rgba(15, 20, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Animated background gradient orbs */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.04), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(226, 183, 75, 0.04), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.5px;
}

/* Base override for default text colors */
.text-dark { color: #f8fafc !important; }
.bg-light { background-color: rgba(15, 20, 35, 0.3) !important; }
.bg-white { background-color: rgba(15, 20, 35, 0.5) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Glassmorphism Styles */
.glass-nav {
    background: rgba(5, 8, 16, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.glass-card-dark {
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 243, 255, 0.15);
    box-shadow: 0 10px 40px 0 rgba(0, 243, 255, 0.05);
    border-radius: 24px;
    color: #ffffff;
    transition: var(--transition-smooth);
}

/* Hover effects for glass cards */
.hover-lift:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 183, 75, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(226, 183, 75, 0.1);
}

/* Premium Gold & Neon Gradients */
.bg-gold-gradient {
    background: linear-gradient(135deg, #e2b74b 0%, #ffeaa7 50%, #e2b74b 100%);
}

.text-gold {
    background: linear-gradient(135deg, #e2b74b 0%, #ffdf80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(226, 183, 75, 0.3);
}

/* Futuristic Buttons */
.btn-gold {
    background: linear-gradient(135deg, #e2b74b 0%, #d49f2c 100%);
    border: 1px solid rgba(255,255,255,0.2);
    color: #050810 !important;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px var(--accent-gold-glow);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fceb9d 0%, #e2b74b 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(226, 183, 75, 0.6);
}

.btn-outline-gold {
    border: 1px solid var(--accent-gold);
    background: rgba(226, 183, 75, 0.05);
    color: #e2b74b;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: #050810 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

.bg-navy { background-color: transparent; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(5, 8, 16, 0.85), rgba(5, 8, 16, 0.95)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Futuristic Property Cards */
.property-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(13, 17, 33, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
}

.property-card img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Advanced Search Box Container */
.search-container {
    background: rgba(13, 17, 33, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.form-control, .form-select {
    background-color: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(0,0,0,0.5) !important;
    border-color: var(--primary-neon) !important;
    box-shadow: 0 0 15px var(--neon-glow) !important;
}

/* Calculator Style */
.calc-container {
    background: rgba(13, 17, 33, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.5);
}

/* Interactive Map Container */
#map-container {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(110%);
}

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

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

/* Tabs & Custom Nav links */
.custom-nav-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 15px 25px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 12px 12px 0 0;
}

.custom-nav-tabs .nav-link.active {
    color: var(--accent-gold);
    background: rgba(226, 183, 75, 0.05);
    border-bottom: 2px solid var(--accent-gold);
    text-shadow: 0 0 10px var(--accent-gold-glow);
}

/* Dashboard Widgets */
.stat-widget {
    border-left: 3px solid var(--primary-neon);
    background: linear-gradient(90deg, rgba(0,243,255,0.05) 0%, transparent 100%);
}

/* Layout helpers */
.section-padding { padding: 100px 0; }

.luxury-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    display: inline-block;
}

.luxury-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    box-shadow: 0 0 10px var(--primary-neon);
}

.luxury-title-left::after {
    left: 0;
    transform: none;
    background: linear-gradient(90deg, var(--primary-neon), transparent);
}

/* Footer layout */
footer {
    background-color: #03050a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

/* Dropdowns */
.dropdown-menu {
    background: rgba(13, 17, 33, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-radius: 16px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    color: #e2e8f0;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateX(5px);
}
