/* ==========================================================================
   LOCATION / SEO SILO PAGES — MICROSOFT x LIMIT RED DESIGN SYSTEM
   Isparta Limit Eğitim Kurumları
   ========================================================================== */

/* --- Breadcrumb --- */
.location-breadcrumb {
    padding: 120px 0 14px;
    background: var(--color-fog, #F2F2F2);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.location-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.location-breadcrumb ol li {
    font-size: 13.5px;
    color: var(--color-slate, #616161);
    font-family: var(--font-system, 'Segoe UI', sans-serif);
}
.location-breadcrumb ol li a {
    color: var(--color-charcoal, #262626);
    text-decoration: none;
}
.location-breadcrumb ol li a:hover {
    color: var(--color-limit-red, #C41E24);
    text-decoration: underline;
}
.location-breadcrumb ol li + li::before {
    content: '›';
    margin: 0 8px;
    color: #999999;
}
.location-breadcrumb ol li.active {
    color: var(--color-void, #000000);
    font-weight: 600;
}

/* --- Hero Section --- */
.location-hero {
    background: #171717;
    padding: 56px 0;
    color: #FFFFFF !important;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.location-hero::before {
    display: none;
}
.location-hero.compact {
    padding: 44px 0;
}
section.location-hero h1,
.location-hero h1,
.location-hero .container h1 {
    font-family: var(--font-system, 'Segoe UI', sans-serif);
    font-size: 29px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.3;
    color: #FFFFFF !important;
}
section.location-hero p,
.location-hero p,
.location-hero .container p,
section.location-hero .lead,
.location-hero .lead,
.location-hero .container .lead {
    color: rgba(255, 255, 255, 0.88) !important;
}
.location-hero .lead {
    font-size: 15px;
    line-height: 1.65;
    max-width: 720px;
    margin-bottom: 24px;
}
.location-hero .btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-btn, 2px);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition, all 0.2s ease);
}
.location-hero .btn-whatsapp:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
}

/* --- About Section --- */
.location-about {
    padding: 50px 0;
    background: #FFFFFF;
}
.location-about h2 {
    font-family: var(--font-system, 'Segoe UI', sans-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-void, #000000);
    margin: 0 0 15px;
}
.location-about h3 {
    font-family: var(--font-system, 'Segoe UI', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-void, #000000);
    margin: 25px 0 12px;
}
.location-about p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-charcoal, #262626);
    margin-bottom: 12px;
}

/* --- Services List --- */
.location-services {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.location-services li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-charcoal, #262626);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.location-services li i {
    color: var(--color-limit-red, #C41E24);
    margin-right: 8px;
    width: 16px;
}

/* --- Contact Box (Sidebar: 0px Card, Dual-Layer Shadow) --- */
.location-contact-box {
    background: #FFFFFF;
    border: 1px solid var(--color-card-border, #EAEAEA);
    border-radius: var(--radius-card, 0px);
    box-shadow: var(--shadow-card, rgba(0, 0, 0, 0.13) 0px 3px 7px 0px, rgba(0, 0, 0, 0.11) 0px 1px 2px 0px);
    padding: 24px;
    position: sticky;
    top: 90px;
}
.location-contact-box h4 {
    font-family: var(--font-system, 'Segoe UI', sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-void, #000000);
    margin: 0 0 10px;
}
.location-contact-box h4 i {
    color: var(--color-limit-red, #C41E24);
    margin-right: 6px;
    width: 18px;
}
.location-contact-box p {
    font-size: 13.5px;
    color: var(--color-slate, #616161);
    margin-bottom: 6px;
    line-height: 1.6;
}
.location-contact-box p a {
    color: var(--color-limit-red, #C41E24);
    font-weight: 600;
    text-decoration: none;
}
.location-contact-box p a:hover {
    text-decoration: underline;
}
.location-contact-box p.text-muted {
    font-size: 12px;
    color: #888888 !important;
}
.location-contact-box hr {
    margin: 15px 0;
    border-color: var(--color-border, #E5E5E5);
}
.location-contact-box .btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-btn, 2px);
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 12px;
    transition: var(--transition, all 0.2s ease);
}
.location-contact-box .btn-whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
    text-decoration: none;
}

/* --- Grid Sections (Mahalle/Okul/İlçe) --- */
.location-grid-section {
    padding: 50px 0;
    background: #FFFFFF;
}
.location-grid-section.alt {
    background: var(--color-fog, #F2F2F2);
    border-top: 1px solid var(--color-border, #E5E5E5);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.location-grid-section h2 {
    font-family: var(--font-system, 'Segoe UI', sans-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-void, #000000);
    margin: 0 0 8px;
}
.location-grid-section > .container > p {
    font-size: 14px;
    color: var(--color-slate, #616161);
    margin-bottom: 24px;
}

/* --- Grid Items: 0px Sharp Tiles --- */
.location-grid-item {
    display: block;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #FFFFFF;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-card, 0px);
    color: var(--color-charcoal, #262626);
    text-decoration: none;
    font-size: 13.5px;
    font-family: var(--font-system, 'Segoe UI', sans-serif);
    transition: var(--transition, all 0.2s ease);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.location-grid-item:hover {
    border-color: var(--color-limit-red, #C41E24);
    color: var(--color-limit-red, #C41E24);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.location-grid-item i {
    margin-right: 6px;
    color: var(--color-limit-red, #C41E24);
    width: 14px;
}
.location-grid-item.school {
    padding: 16px;
    min-height: 70px;
    white-space: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.location-grid-item.school i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.location-grid-item.school span {
    font-weight: 600;
    display: block;
    line-height: 1.4;
    color: var(--color-void, #000000);
}
.location-grid-item.school small {
    display: block;
    color: var(--color-slate, #616161);
    font-size: 11.5px;
    margin-top: 3px;
}

/* --- CTA Inline --- */
.location-cta-inline {
    margin: 28px 0 18px;
    padding: 24px;
    background: var(--color-fog, #F2F2F2);
    border-radius: var(--radius-card, 0px);
    border: 1px solid var(--color-border, #E5E5E5);
    border-left: 3px solid var(--color-limit-red, #C41E24);
}
.location-cta-inline p {
    margin-bottom: 12px;
    font-size: 14.5px;
}
.location-cta-inline .btn {
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: var(--radius-btn, 2px) !important;
}
.location-cta-inline .btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-btn, 2px);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition, all 0.2s ease);
}
.location-cta-inline .btn-whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
}

/* --- Footer Location Links (Microsoft Fog Theme) --- */
.footer-locations {
    margin-top: 0;
}
.footer-locations .title {
    font-weight: 600;
    color: var(--color-void, #000000);
    margin-bottom: 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-locations ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.footer-locations ul li {
    width: 50%;
    margin-bottom: 6px;
}
.footer-locations ul li a {
    color: var(--color-slate, #616161) !important;
    font-size: 13px !important;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-locations ul li a:hover {
    color: var(--color-limit-red, #C41E24) !important;
    text-decoration: underline !important;
}
.footer-locations ul li a i {
    margin-right: 5px;
    color: var(--color-limit-red, #C41E24);
    font-size: 11px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .location-hero h1 {
        font-size: 24px;
    }
    .location-hero .lead {
        font-size: 14px;
    }
    .location-contact-box {
        position: static;
        margin-top: 25px;
    }
    .location-grid-item.school {
        min-height: auto;
    }
    .footer-locations ul li {
        width: 100%;
    }
}
