:root {
    /* Color Palette - Clean & Professional */
    --primary: #0066cc;
    /* Deep Blue, trustworthy */
    --primary-dark: #004c99;
    --secondary: #1a202c;
    /* Dark Gray/Black */
    --accent: #0ea5e9;
    /* Light Blue */

    --background: #f8f9fa;
    /* Very Light Gray */
    --surface: #ffffff;

    --text-main: #2d3748;
    --text-muted: #718096;
    --border: #e2e8f0;

    --radius: 8px;
    /* Standard rounded corners */
    --container-width: 1200px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.text-gradient {
    color: var(--primary);
    /* Fallback */
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* --- Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 1rem;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-glass,
.btn-outline {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-glass:hover,
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f7ff;
}


/* Navbar - CLEAN & SOLID */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    min-height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

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

/* Dropdown - Simple & Functional */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Bridge the gap between button and menu */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    /* Covers the 10px margin */
    background: transparent;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Align right below */
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 0.5rem 0;

    /* Reveal logic */
    display: none;
    z-index: 100;
    margin-top: 10px;
}

/* Triangle for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--border);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.2s ease-out;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: background 0.1s;
}

.dropdown-item:hover {
    background-color: #f7fafc;
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
}

/* --- Pages & Sections --- */

/* Hero */
.hero-v2 {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero-v2 h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-v2 p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Map Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.bento-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

#map-section {
    grid-column: span 12;
    height: 600px;
    padding: 0;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

.col-span-4 {
    grid-column: span 4;
}

.col-span-12 {
    grid-column: span 12;
}

/* Filter Bar inside Map */
.map-filters {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    background: #f8f9fa;
    display: flex;
    gap: 1rem;
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

/* Review Cards */
.review-card-v2 {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* Footer - Premium Dark */
.site-footer {
    background: #0f172a;
    /* Slate 900 */
    color: #e2e8f0;
    /* Slate 200 */
    padding: 5rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: hidden;
}

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

.footer-brand p {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0 2rem;
    max-width: 300px;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-nav h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
}

.footer-nav a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .footer-grid {
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
        margin-bottom: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .footer-brand p {
        margin: 1rem auto;
    }

    .social-links {
        justify-content: center;
    }

    /* Contact Section - Full width and distinct */
    .footer-nav:last-child {
        grid-column: 1 / -1;
        text-align: center;
        background: rgba(255, 255, 255, 0.03);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-top: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 900px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .col-span-4 {
        grid-column: span 12;
    }

    #map-section {
        height: 400px;
    }

    #map-section {
        height: 400px;
    }

    /* Mobile Menu Open State */
    .navbar.mobile-active {
        height: auto;
        padding-bottom: 2rem;
    }

    .navbar-content {
        flex-direction: column;
    }

    .navbar-header {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }

    .navbar.mobile-active .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        order: 3;
        margin-top: 1rem;
        gap: 0.5rem;
        text-align: center;
    }

    .navbar.mobile-active .nav-actions {
        display: flex;
        width: 100%;
        order: 4;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .navbar.mobile-active .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .navbar.mobile-active .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu-toggle span {
        transition: all 0.3s;
    }
}