/* ==========================================================================
   Location Pages Shared Styles
   ========================================================================== */

/* Location Hero */
.location-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.location-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.location-hero .container {
    position: relative;
    z-index: 1;
}

.location-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.location-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.location-breadcrumb a:hover {
    color: white;
}

.location-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.location-breadcrumb .current {
    color: white;
    font-weight: 600;
}

.location-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.location-hero h1 .highlight {
    color: #60a5fa;
}

.location-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.location-hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.location-badge i {
    color: #60a5fa;
}

/* Districts/Neighborhoods Grid Section */
.location-areas {
    padding: 80px 0;
    background: #f8fafc;
}

.location-areas .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.location-areas .section-header h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.location-areas .section-header p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.area-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    min-height: 56px;
}

.area-card:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
}

.area-card i {
    color: var(--accent);
    font-size: 14px;
    transition: transform 0.3s;
}

.area-card:hover i {
    transform: translateX(4px);
}

/* SEO Content Section */
.location-content {
    padding: 80px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.content-main h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.content-main h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin: 32px 0 16px;
}

.content-main p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-main ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-main ul li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-muted);
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.content-main ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #22c55e;
    font-size: 14px;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 24px;
    padding: 32px;
    color: white;
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sidebar-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sidebar-card .btn {
    width: 100%;
    background: white;
    color: var(--accent);
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-info {
    background: #f8fafc;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #e5e7eb;
}

.sidebar-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
}

.sidebar-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-info-item:last-child {
    border-bottom: none;
}

.sidebar-info-item i {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-info-item span {
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
}

/* FAQ Section */
.location-faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.location-faq .faq-item {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.location-faq .faq-item:hover {
    box-shadow: var(--shadow);
}

.location-faq .faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.location-faq .faq-item h3 i {
    color: var(--accent);
    font-size: 14px;
    margin-top: 4px;
}

.location-faq .faq-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    padding-left: 26px;
}

/* Other Services */
.other-services {
    padding: 80px 0;
    background: white;
}

.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-mini-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.service-mini-card:hover {
    background: white;
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-mini-card i {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin-bottom: 20px;
}

.service-mini-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.service-mini-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* SEO Content Area */
.seo-content-area {
    padding: 80px 0;
    background: #f8fafc;
}

.seo-content-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Location Info Section (Neighborhood page) */
.location-info-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.location-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.location-info-card {
    text-align: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s;
}

.location-info-card:hover {
    background: white;
    box-shadow: var(--shadow);
}

.location-info-card i {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin: 0 auto 16px;
}

.location-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.location-info-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Content Wrapper (Neighborhood page) */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    text-align: center;
}

.content-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin: 36px 0 16px;
}

.content-wrapper p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.content-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.content-wrapper ul li {
    padding: 14px 16px;
    padding-left: 44px;
    position: relative;
    color: var(--text-muted);
    font-size: 15px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.content-wrapper ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 16px;
    color: #22c55e;
    font-size: 14px;
}

/* Location CTA (Neighborhood page) */
.location-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    text-align: center;
}

.location-cta h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.location-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

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

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* FAQ List (Neighborhood page) */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.location-faq .faq-list .faq-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.location-faq .faq-list .faq-item:hover {
    background: white;
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

/* Related Areas (Neighborhood page) */
.related-areas {
    padding: 80px 0;
    background: #f8fafc;
}

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

    .content-sidebar {
        position: static;
    }

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

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

@media (max-width: 768px) {
    .location-hero {
        padding: 120px 0 60px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper ul {
        grid-template-columns: 1fr;
    }

    .location-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .location-hero-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-hero h1 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
