/**
 * Base Styles - Shared across all pages
 */

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

/* Root Variables */
:root {
    --primary-color: #2d5016;
    --primary-dark: #0f2505;
    --secondary-color: #1e3a8a;
    --accent-color: #ef4444;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e5e7eb;
    --background-light: #f9fafb;
    --white: #ffffff;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    --transition-speed: 0.3s;
}

/* Body */
body {
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: #3a4a3a;
    background: #f3f6f3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
button {
    font-family: var(--font-family);
    cursor: pointer;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: #ffffff;
    color: #3a4a3a;
    padding: 1rem 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(58, 74, 58, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-name-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agent-login-nav-btn {
    padding: 8px 16px;
    background: #2d5016;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.agent-login-nav-btn:hover {
    background: #1a3d0a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45,80,22,0.3);
}

.agent-name-logo {
    text-decoration: none;
    color: #3a4a3a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agent-name-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    color: #3a4a3a;
}

.agent-name-logo p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
    color: #3a4a3a;
}

.agent-name-logo:hover {
    opacity: 0.8;
}

.nar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-nar-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-nar-logo:hover {
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Nav right buttons - uniform sizing */
.nav-right .contact-btn,
.nav-right .favorites-btn,
.nav-right .auth-login-btn,
.nav-right .auth-account-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
}

/* Position favorites button in top right corner of navbar */
.navbar {
    position: relative;
}

#favorites-widget {
    display: flex;
    align-items: center;
}

/* Contact Button in Navbar */
.contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    white-space: nowrap;
}

.contact-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* Also support .btn-contact for compatibility */
.btn-contact {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--primary-color);
}

.btn-contact:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* Main Content - No padding needed for sticky navbar */

/* Sections */
section {
    padding: 4rem 0;
}

.featured-section {
    background: #f8f9fa;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

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

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

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

.btn-secondary:hover {
    background: #1e40af;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Forms */
input,
textarea,
select {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-speed) ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Spacing Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-normal { font-weight: 400; }

/* Background Utilities */
.bg-primary { background: var(--primary-color); }
.bg-secondary { background: var(--secondary-color); }
.bg-light { background: var(--background-light); }
.bg-white { background: var(--white); }

/* Card */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Loading Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid var(--success-color);
}

.notification.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid var(--error-color);
}

.notification.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid var(--warning-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 15px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .container,
    .container-sm,
    .container-lg {
        padding: 0 15px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}


/* Responsive Utilities */
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    padding: 0;
    margin: 0;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Neighborhoods Section */
.neighborhoods-section {
    padding: 4rem 0;
    background: white;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.credentials {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--brand-primary-bg);
    border-radius: var(--radius-base);
    border-left: 4px solid var(--brand-primary);
}

.credential-logo {
    height: 60px;
    margin-bottom: 1rem;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.contact-section > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary-color, #2d5016);
    color: #e8f0e3;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Map Modal */
.map-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.map-modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.map-modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.map-modal-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.map-modal-close {
    color: #666;
    float: right;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.map-modal-close:hover,
.map-modal-close:focus {
    color: #000;
}

@media (max-width: 768px) {
    .map-modal-content {
        max-width: 95%;
        padding: 15px;
    }
    
    .map-modal-close {
        font-size: 28px;
        right: 10px;
        top: 5px;
    }
}

/* Property Search Styles */
.hero-search-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 10px 20px 10px 28px;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15);
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #d8e3d8;
}

.hero-search-box input {
    flex: 1;
    border: none;
    padding: 14px 12px;
    font-size: 1.05rem;
    color: #3a4a3a;
    background: transparent;
    min-width: 0;
    outline: none;
    font-family: var(--font-family);
}

.hero-search-box input::placeholder {
    color: #8a9a8a;
}

.hero-search-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    transition: transform 0.2s;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 8px;
    filter: grayscale(20%);
}

.hero-search-btn:hover {
    transform: scale(1.1);
}

.hero-search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.hero-search-subtitle {
    margin-top: 0.75rem;
    color: #666;
    font-size: 0.9rem;
}

/* Search Results Modal */
.search-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    background-color: white;
    margin: 2rem auto;
    border-radius: 12px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.search-modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.search-modal-close:hover {
    color: #000;
}

.search-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.search-results-header {
    margin-bottom: 1.5rem;
}

.search-results-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.search-result-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.search-result-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.search-result-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.search-result-status.pending {
    background: rgba(234, 179, 8, 0.95);
}

.search-result-status.sold {
    background: rgba(220, 38, 38, 0.95);
}

.search-result-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2d5016;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.search-result-favorite-btn:hover {
    background: #0f2505;
    transform: scale(1.1);
}

.search-result-favorite-btn.favorited {
    background: #2d5016;
}

.search-result-info {
    padding: 1.5rem;
}

.search-result-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.search-result-city {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.search-result-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.search-result-details {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.search-result-mls {
    color: #999;
    font-size: 0.8rem;
    margin: 0;
}

.search-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.search-no-results p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-search-container {
        padding: 0 1rem;
    }
    
    .search-modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-modal-header {
        padding: 1rem;
    }
    
    .search-modal-body {
        padding: 1rem;
    }
}


/* ============================================
   NEW PAGE LAYOUT: Top 2-col, Middle full, Bottom 3-col
   ============================================ */

/* Navbar Finder Button */
.nav-finder-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-color, #2d5016);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.nav-finder-btn:hover {
    background: var(--primary-dark, #0f2505);
    color: white;
    transform: translateY(-1px);
}

/* Mobile Nav */
.nav-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none !important;
    }
    .nav-mobile {
        display: flex !important;
        align-items: center;
        justify-content: space-evenly;
        padding: 0.5rem 0;
        width: 100%;
    }
    .nav-mobile .nav-nar-logo {
        height: 40px;
    }
    .nav-mobile-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-mobile-icon {
        font-size: 1.5rem;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        line-height: 1;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    /* Hide the standalone favorites widget on mobile, use the one inside mobile nav */
    .navbar > #favorites-widget {
        display: none !important;
    }
    .nav-mobile #mobile-favorites-widget {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-mobile .favorites-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* TOP SECTION: 3-column */
.top-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.top-section-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Hero Box — shared style for all 3 top-section boxes */
.hero-box {
    background: var(--brand-primary-bg, #e8f0e3);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #2d5016);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.25);
    overflow: hidden;
}

/* NeighborhoodAI in hero — override widget white bg */
.hero-ai-box .nai-widget {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.hero-ai-header {
    text-align: center;
    padding: 1.25rem 1.5rem 0.5rem;
}
.hero-ai-header h3 {
    color: var(--primary-color, #2d5016);
    margin: 0 0 0.25rem;
    font-size: 1.3rem;
}
.hero-ai-header p {
    color: #5a7a4a;
    margin: 0;
    font-size: 0.9rem;
}

/* Property search box in hero — override widget bg */
.hero-box .property-search-widget {
    background: transparent;
    border-left: none;
    box-shadow: none;
    border-radius: 0;
}
.hero-search-header {
    text-align: center;
    padding: 1.25rem 1.5rem 0.5rem;
}
.hero-search-header h3 {
    color: var(--primary-color, #2d5016);
    margin: 0 0 0.25rem;
    font-size: 1.3rem;
}
.hero-search-header p {
    color: #5a7a4a;
    margin: 0;
    font-size: 0.9rem;
}

/* About Julie Box (inherits hero-box green bg + shadow) */
.about-julie-box {
    background: var(--brand-primary-bg, #e8f0e3);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #2d5016);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.25);
    overflow: hidden;
}
.about-julie-inner {
    padding: 2rem;
}
.about-julie-photo {
    float: left;
    margin: 0 1.5rem 1rem 0;
    width: 160px;
}
.about-julie-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.about-julie-inner h2 {
    color: var(--primary-color, #2d5016);
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}
.about-julie-inner p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #3a4a3a;
    font-size: 0.95rem;
}
.about-julie-credentials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 80, 22, 0.15);
}
.about-julie-credentials .credential-logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}
.about-julie-credentials p {
    margin: 0;
    font-size: 0.9rem;
}
.about-julie-credentials .credentials-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #3a4a3a;
    transition: opacity 0.2s ease;
}
.about-julie-credentials .credentials-link:hover {
    opacity: 0.75;
}
.about-julie-contact {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.about-julie-contact .contact-item-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.95rem;
}
.about-julie-contact a {
    color: var(--primary-color, #2d5016);
    font-weight: 600;
}

/* FINDER SECTION: 3-column bottom */
.finder-section {
    padding: 2rem 0 3rem;
    background: white;
}
.finder-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}
.finder-section-header h2 {
    color: var(--primary-color, #2d5016);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}
.finder-section-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}
.finder-section-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Responsive */
@media (max-width: 1024px) {
    .top-section-grid {
        grid-template-columns: 1fr;
    }
    .hero-ai-box {
        order: -1;
    }
    .about-julie-box {
        order: -2;
    }
    .finder-section-grid {
        grid-template-columns: 1fr;
    }
    .nav-finder-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
@media (max-width: 768px) {
    .about-julie-photo {
        float: none;
        width: 120px;
        margin: 0 auto 1rem;
    }
    .about-julie-inner {
        text-align: center;
    }
    .about-julie-credentials {
        justify-content: center;
    }
    .about-julie-contact {
        justify-content: center;
    }
}


/* Suburb Card Styles */
.suburb-image-stack {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7a2e 50%, #2d5016 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.suburb-card-stack {
    min-height: 650px;
}
.suburb-card-stack .neighborhood-info-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.suburb-card-stack .neighborhood-description {
    flex: 1;
    min-height: 280px;
}
.suburb-emoji {
    font-size: 5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.suburb-image-stack .card-name-badge {
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid rgba(255, 255, 255, 0.6);
}
.suburb-image-stack .card-name-badge .card-title {
    color: white;
}
.suburb-image-stack .card-name-badge .card-subtitle {
    color: rgba(255, 255, 255, 0.9);
}
.suburb-image-stack .card-name-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1.5rem 1rem 0.75rem;
}
.suburb-image-stack .card-title {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}
.suburb-image-stack .card-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive: top section stacks on tablet */
@media (max-width: 1024px) {
    .top-section-grid {
        grid-template-columns: 1fr;
    }
}
