:root {
    /* Brand Colors (Updated from Logo) */
    --primary: #00AEEF;
    /* Cyan Blue */
    --primary-dark: #0095CC;
    --secondary: #FF5A5F;
    /* Salmon/Red */
    --secondary-hover: #FF4449;
    --accent: #FF5A5F;

    /* Neutrals */
    --text-main: #1e293b;
    /* Slack/Dashboard Text */
    --text-muted: #64748b;
    /* Slate 500 */
    --surface-white: #ffffff;
    --white: #ffffff;
    --bg-body: #f8fafc;
    /* Slate 50 - Dashboard Fresh Background */
    --surface-light: #f1f5f9;
    /* Slate 100 */
    --border-light: #e2e8f0;
    /* Slate 200 */

    /* Feedback */
    --success: #10B981;
    --warning: #F59E0B;

    /* Spacing */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows (Softer) */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Crisper text */
}

h1,
h2,
h3,
.logo {
    /* font-family: 'Playfair Display', serif; */
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    /* Tighter tracking for headings */
}

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

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

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.highlight-link {
    color: #8b5cf6 !important;
    /* Violet/Purple */
    font-weight: 600 !important;
    display: flex;
    gap: 6px;
    align-items: center;
    background: #f5f3ff;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.highlight-link:hover {
    background: #ede9fe;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-dropdown-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface-light);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px 0;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid var(--border-light);
}

/* Invisible bridge to prevent closing on hover gap */
.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.nav-dropdown-content a:hover {
    background-color: var(--surface-light);
    color: var(--primary);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 0;
}


/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--secondary);
    background-color: var(--secondary);
    color: var(--white) !important;
    transition: background-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.btn-outline {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    background-color: transparent;
    color: var(--text-main) !important;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
}

/* Footer */
footer {
    background: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-muted);
}

.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Responsive Main Layout */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Map Container */
#mapContainer {
    height: 400px;
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    border: 1px solid var(--border-light);
    z-index: 1;
    /* Ensure map tiles are below navbar dropdowns */
}

/* Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

/* Featured Carousel (Marquee) */
.featured-section {
    padding: 40px 0;
    background: var(--surface-light);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.featured-header {
    text-align: center;
    margin-bottom: 24px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.featured-card {
    min-width: 300px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.2s;
}

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

.featured-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.featured-info {
    padding: 16px;
}

.featured-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-price {
    color: var(--primary);
    font-weight: 700;
}