:root {
    /* Color Palette - Premium Dark Theme */
    --bg-color: #0b1528;
    --bg-alt: #101f3b;
    --bg-darker: #060b14;
    --text-primary: #f0f2f5;
    --text-secondary: #a0a5b0;
    --accent-color: #d4af37; /* Champagne Gold */
    --accent-hover: #f1c944;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Status colors */
    --status-sold: #ef4444;
    --status-free: #10b981;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-darker);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(6, 11, 20, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(6, 11, 20, 0.5) 0%, rgba(11, 21, 40, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    color: var(--accent-color);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

/* Section Basics */
.section {
    padding: var(--section-padding);
}

.section-dark {
    background-color: var(--bg-alt);
}

.section-darker {
    background-color: var(--bg-darker);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: transform 0.3s, background-color 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-icon img {
    width: 30px;
    height: 30px;
    filter: invert(79%) sepia(21%) saturate(986%) hue-rotate(5deg) brightness(98%) contrast(85%); /* approximation for gold */
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-color);
    color: var(--bg-darker);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    text-align: center;
    z-index: 2;
}

.experience-badge .number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 10px;
}

/* Location Section */
.location-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.loc-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.loc-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.loc-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.loc-card p {
    color: var(--text-secondary);
}

/* Houses Section */
.houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.house-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.house-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

.house-image {
    position: relative;
    height: 200px;
}

.house-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--status-sold);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.status-badge.success {
    background-color: var(--status-free);
}

.house-info {
    padding: 1.5rem;
}

.house-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.house-info .price {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.house-card.sold .house-image img {
    filter: grayscale(100%);
    opacity: 0.7;
}

.house-card.sold .house-info h3 {
    color: var(--text-secondary);
}

/* Specs Section */
.specs-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.specs-list {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.specs-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.specs-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.8;
}

.promo-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.steps-list {
    counter-reset: custom-counter;
    list-style: none;
    margin-top: 1.5rem;
}

.steps-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.steps-list li span {
    position: absolute;
    left: 0;
    top: -5px;
    width: 35px;
    height: 35px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
}

.steps-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

/* Interactive Map */
.map-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    background-color: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

#interactive-image-map {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.map-bg-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Map Markers */
.map-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}

.map-marker .pulse {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.map-marker.status-sold .pulse {
    background-color: #ef4444;
}

.map-marker.status-free .pulse {
    background-color: #10b981;
}

.map-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(6, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.1s;
    z-index: 10;
    transform: translate(-50%, -100%);
    margin-top: -15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    min-width: 150px;
    text-align: center;
}

.map-tooltip.visible {
    opacity: 1;
}

.map-tooltip h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.map-tooltip p {
    font-size: 0.9rem;
    margin: 2px 0;
}

.map-tooltip .status-sold {
    color: #ef4444;
    font-weight: 600;
}

.map-tooltip .status-free {
    color: #10b981;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-info p {
    color: var(--text-secondary);
    max-width: 350px;
}

.footer h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p, .footer a {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-logo {
    height: 60px;
    animation: pulseLoader 2s infinite ease-in-out;
}

@keyframes pulseLoader {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

body.loaded #page-loader {
    opacity: 0;
    visibility: hidden;
}

/* Hero Load Animations */
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.loaded .hero-badge { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
body.loaded .hero-title { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
body.loaded .hero-subtitle { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
body.loaded .hero-buttons { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .about-grid, .specs-grid { grid-template-columns: 1fr; }
    .about-image { margin-top: 2rem; }
    .experience-badge { right: 20px; bottom: -20px; }
    .location-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .hero { min-height: 600px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    
    .features-list { grid-template-columns: 1fr; }
    
    .experience-badge { 
        width: 120px; 
        height: 120px; 
        padding: 15px; 
    }
    .experience-badge .number { font-size: 2.5rem; }
    .experience-badge .text { font-size: 0.8rem; }
    
    /* Make map markers slightly smaller on mobile to avoid overlapping */
    .map-marker { width: 30px; height: 30px; }
    .map-marker .pulse { width: 12px; height: 12px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-info p { margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .map-marker { width: 24px; height: 24px; }
    .map-marker .pulse { width: 10px; height: 10px; }
    .loc-card { padding: 1.5rem; }
}
