@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --brand-teal: #0B6976;
    --brand-teal-hover: #084D57;
    --bg-white: #FFFFFF;
    --bg-light-gray: #F0F0F0;
    --text-dark: #333333;
    --text-muted: #666666;
}

body {
    background-color: var(--bg-white);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.serif {
    font-family: 'Playfair Display', serif;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-dark);
}

/* Consistent Two-Tier Navigation */
.nav-top { background-color: var(--bg-white); }
.nav-bottom {
    background-color: var(--bg-light-gray);
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}
.subnav-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    text-transform: uppercase;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.subnav-link:hover, .subnav-link.active {
    color: var(--brand-teal);
}

/* Buttons */
.btn-solid {
    background-color: var(--brand-teal);
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.btn-solid:hover { background-color: var(--brand-teal-hover); }

/* Hero Section */
.hero-home {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('image_1c1766.jpg') center/cover no-repeat;
    height: auto;
    min-height: 80vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Advanced Search Bar */
.search-container {
    background: white;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.search-field {
    border-right: 1px solid #E5E7EB;
    padding: 0.75rem 1rem;
    position: relative;
}
.search-field:last-child { border-right: none; }
.search-select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Custom Multi-Select Dropdown */
.multi-select-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 250px;
    background: white;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 50;
    max-height: 250px;
    overflow-y: auto;
}
.multi-select-menu.show { display: block; }
.multi-select-option {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.multi-select-option:hover { background: var(--bg-light-gray); }

/* Intent Cards */
.intent-card {
    background: white;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    cursor: pointer;
}
.intent-card:hover {
    border-color: var(--brand-teal);
    box-shadow: 0 10px 30px rgba(11,105,118,0.1);
    transform: translateY(-5px);
}

/* Autocomplete & Tags for Search */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.area-tag {
    background-color: #E6F0F2;
    color: var(--brand-teal);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.area-tag i {
    cursor: pointer;
    font-size: 0.65rem;
}

.area-tag i:hover {
    color: var(--brand-teal-hover);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 10px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background-color: var(--bg-light-gray);
}