/* Eli The Realtor - shared shell styles. Authored in the site's own templates; consolidated here by the rebuild. */
/* Homepage Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Base Styles */
#site-header {
    background: #1a2332;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

/* Logo */
.logo-container img,
.logo-container .custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.logo-container .site-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0;
    padding: 0;
}

.main-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.main-menu a:hover {
    color: #FF6B6B;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #1a2332;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-inner {
    padding: 80px 20px 20px;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item a {
    color: #FF6B6B;
    padding-left: 20px;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .logo-container img,
    .logo-container .custom-logo {
        max-height: 50px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 15px;
    }
    
    .logo-container img,
    .logo-container .custom-logo {
        max-height: 45px;
    }
}


/* Footer */
footer {
    background: #1a2332;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-home h1 {
        font-size: 2.5rem;
    }
    
    .paths-container,
    .about-preview-container {
        grid-template-columns: 1fr;
    }
    
    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- shared page shell for pages that never got a hand-coded template ---- */
.simple-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.simple-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: #fff; padding: 70px 0 60px; text-align: center;
}
.simple-hero h1 { font-size: 2.6rem; line-height: 1.2; margin: 0; }
.simple-content { padding: 60px 0 80px; background: #fff; }
.prose { color: #333; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.9rem; color: #1a2332; margin: 40px 0 16px; }
.prose h3 { font-size: 1.25rem; color: #1a2332; margin: 30px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin: 0 0 8px; }
.prose a { color: #FF6B6B; }
.prose img { max-width: 100%; height: auto; }
.prose article { margin: 0 0 36px; padding: 0 0 28px; border-bottom: 1px solid #e6e9ee; }
.prose article:last-child { border-bottom: 0; }
/* post archive listing */
.prose .kadence-posts-list { list-style: none; margin: 0; padding: 0; }
.prose .entry-list-item { margin: 0 0 34px; }
.prose .loop-entry { display: block; }
.prose .post-thumbnail img { width: 100%; height: auto; border-radius: 8px; }
.prose .entry-title { font-size: 1.5rem; margin: 14px 0 8px; }
.prose .entry-title a { color: #1a2332; text-decoration: none; }
.prose .entry-title a:hover { color: #FF6B6B; }
.prose .entry-taxonomies { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.prose .entry-meta { color: #6b7280; font-size: .9rem; }

@media (max-width: 768px) {
    .simple-hero { padding: 50px 0 44px; }
    .simple-hero h1 { font-size: 1.9rem; }
    .simple-content { padding: 40px 0 60px; }
}
