/**
 * Muğla Tesisat - Kurumsal & Teknik Servis Teması
 * Renk Paleti: Ege Çelik Mavisi (#0E4D7B), Koyu Arduvaz (#17222D), Bakır Boru Vurgusu (#C4551A), Doğal Taş (#F4F5F7)
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --mt-slate: #17222D;
    --mt-slate-mid: #233344;
    --mt-blue: #0E4D7B;
    --mt-blue-dark: #0A3A5E;
    --mt-copper: #C4551A;
    --mt-copper-hover: #A34311;
    --mt-stone: #F4F5F7;
    --mt-border: #DCE2E8;
    --mt-text: #273444;
    --mt-muted: #5A6B7C;
    --mt-font-head: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mt-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    font-family: var(--mt-font-body);
    color: var(--mt-text);
    background-color: #ffffff;
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mt-font-head);
    color: var(--mt-slate);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    color: var(--mt-blue);
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
    color: var(--mt-copper);
}

/* 1. Üst Bilgi Çubuğu */
.mt-topbar {
    background: var(--mt-slate);
    color: #CBD5E1;
    font-size: 13.5px;
    border-bottom: 2px solid var(--mt-copper);
}
.mt-topbar a {
    color: #E2E8F0;
    text-decoration: none;
}
.mt-topbar a:hover {
    color: #ffffff;
}
.mt-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mt-topbar-sep {
    color: rgba(255, 255, 255, 0.22);
    margin: 0 10px;
}

/* 2. Ana Navigasyon */
.mt-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--mt-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(23, 34, 45, 0.05);
}
.mt-navbar .navbar-brand img {
    height: 52px;
    width: auto;
    display: block;
}
.mt-navbar .navbar-nav > .nav-item > .nav-link {
    font-family: var(--mt-font-head);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--mt-slate);
    padding: 24px 14px;
    position: relative;
}
.mt-navbar .navbar-nav > .nav-item:hover > .nav-link,
.mt-navbar .navbar-nav > .nav-item > .nav-link:hover {
    color: var(--mt-copper);
}

/* Madde 24: Aktif Sayfa Başlığı Kalın (800) ve Bakır Vurgulu */
.mt-navbar .navbar-nav > .nav-item.active > .nav-link,
.mt-navbar .navbar-nav > .nav-item > .nav-link.active {
    font-weight: 800 !important;
    color: var(--mt-copper) !important;
}
@media (min-width: 992px) {
    .mt-navbar .navbar-nav > .nav-item.active > .nav-link::after,
    .mt-navbar .navbar-nav > .nav-item > .nav-link.active::after {
        content: '';
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 0;
        height: 3px;
        background: var(--mt-copper);
    }
    .mt-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Dropdown Menü */
.mt-navbar .dropdown-menu {
    border: 1px solid var(--mt-border);
    border-top: 3px solid var(--mt-copper);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 12px 28px rgba(23, 34, 45, 0.12);
    padding: 6px 0;
    min-width: 285px;
    max-height: 440px;
    overflow-y: auto;
}
.mt-navbar .dropdown-menu .nav-item {
    list-style: none;
}
.mt-navbar .dropdown-menu .nav-link,
.mt-navbar .dropdown-menu .dropdown-item {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mt-text);
    padding: 8px 18px;
    border-bottom: 1px solid #F1F4F8;
    white-space: normal;
}
.mt-navbar .dropdown-menu .nav-link:hover,
.mt-navbar .dropdown-menu .dropdown-item:hover {
    background: #FDF6F2;
    color: var(--mt-copper);
}
.mt-navbar .dropdown-menu .nav-item.active > .nav-link,
.mt-navbar .dropdown-menu .nav-link.active {
    font-weight: 800 !important;
    color: var(--mt-copper) !important;
    background: #FDF3EC !important;
    border-left: 3px solid var(--mt-copper);
    padding-left: 15px;
}

/* Kurumsal Butonlar */
.btn-mt-primary {
    background: var(--mt-copper);
    color: #ffffff !important;
    font-family: var(--mt-font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 4px;
    border: 1px solid var(--mt-copper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-mt-primary:hover {
    background: var(--mt-copper-hover);
    border-color: var(--mt-copper-hover);
    color: #ffffff !important;
}

.btn-mt-blue {
    background: var(--mt-blue);
    color: #ffffff !important;
    font-family: var(--mt-font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 4px;
    border: 1px solid var(--mt-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-mt-blue:hover {
    background: var(--mt-blue-dark);
    border-color: var(--mt-blue-dark);
    color: #ffffff !important;
}

.btn-mt-outline {
    background: transparent;
    color: var(--mt-slate) !important;
    font-family: var(--mt-font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 4px;
    border: 1px solid #B8C4D0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-mt-outline:hover {
    border-color: var(--mt-slate);
    background: var(--mt-slate);
    color: #ffffff !important;
}

.btn-mt-wa {
    background: #1E8E4B;
    color: #ffffff !important;
    font-family: var(--mt-font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 4px;
    border: 1px solid #1E8E4B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-mt-wa:hover {
    background: #16733B;
    border-color: #16733B;
    color: #ffffff !important;
}

/* 3. Editoryal Hero Alanı (Gerçek Kurumsal Mimari) */
.mt-hero {
    position: relative;
    background-color: var(--mt-slate);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 86px 0 74px;
}
.mt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 26, 36, 0.94) 0%, rgba(17, 26, 36, 0.80) 54%, rgba(17, 26, 36, 0.42) 100%);
}
.mt-hero .container {
    position: relative;
    z-index: 2;
}
.mt-hero-eyebrow {
    display: inline-block;
    font-family: var(--mt-font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F4A261;
    border-left: 3px solid var(--mt-copper);
    padding-left: 10px;
    margin-bottom: 16px;
}
.mt-hero h1 {
    color: #ffffff;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 18px;
    max-width: 680px;
}
.mt-hero p.mt-hero-lead {
    color: #D9E2EC;
    font-size: 18px;
    line-height: 1.65;
    max-width: 600px;
    margin-bottom: 28px;
}
@media (max-width: 767px) {
    .mt-hero {
        padding: 58px 0 52px;
    }
    .mt-hero h1 {
        font-size: 30px;
    }
}

/* Hero Altı Teknik Standart Şeridi */
.mt-spec-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--mt-border);
}
.mt-spec-item {
    padding: 22px 20px;
    border-right: 1px solid var(--mt-border);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.mt-spec-item:last-child {
    border-right: none;
}
.mt-spec-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--mt-stone);
    border: 1px solid var(--mt-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mt-blue);
    font-size: 21px;
}
.mt-spec-item h3 {
    font-size: 16px;
    margin: 0 0 3px;
}
.mt-spec-item p {
    font-size: 13.5px;
    color: var(--mt-muted);
    margin: 0;
    line-height: 1.45;
}
@media (max-width: 991px) {
    .mt-spec-item {
        border-right: none;
        border-bottom: 1px solid var(--mt-border);
    }
}

/* Bölüm Başlıkları */
.mt-sec-kicker {
    display: inline-block;
    font-family: var(--mt-font-head);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mt-copper);
    margin-bottom: 6px;
}
.mt-sec-title {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--mt-slate);
    margin-bottom: 12px;
}
.mt-sec-sub {
    color: var(--mt-muted);
    font-size: 16px;
    max-width: 680px;
}

/* Hoşgeldiniz Görsel Çerçevesi */
.mt-about-frame {
    position: relative;
    padding: 0 0 14px 14px;
}
.mt-about-frame::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65%;
    height: 65%;
    background: var(--mt-blue);
    z-index: 0;
}
.mt-about-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 26px rgba(23, 34, 45, 0.14);
}
.mt-stat-box {
    background: var(--mt-stone);
    border: 1px solid var(--mt-border);
    border-left: 3px solid var(--mt-copper);
    padding: 14px 16px;
    border-radius: 3px;
}
.mt-stat-box strong {
    display: block;
    font-family: var(--mt-font-head);
    font-size: 24px;
    color: var(--mt-slate);
    line-height: 1.1;
}
.mt-stat-box span {
    font-size: 13px;
    color: var(--mt-muted);
}

/* Hizmet / İçerik Kartları (Keskin, Net, Mühendislik Disiplini) */
.mt-card {
    background: #ffffff;
    border: 1px solid var(--mt-border);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mt-card:hover {
    border-color: var(--mt-blue);
    box-shadow: 0 8px 22px rgba(23, 34, 45, 0.08);
}
.mt-card-img {
    height: 205px;
    overflow: hidden;
    background: var(--mt-slate);
    border-bottom: 1px solid var(--mt-border);
}
.mt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.mt-card:hover .mt-card-img img {
    transform: scale(1.04);
}
.mt-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mt-card-body h3 {
    font-size: 18.5px;
    line-height: 1.32;
    margin-bottom: 10px;
}
.mt-card-body h3 a {
    color: var(--mt-slate);
    text-decoration: none;
}
.mt-card-body h3 a:hover {
    color: var(--mt-copper);
}
.mt-card-body p {
    font-size: 14.5px;
    color: var(--mt-muted);
    line-height: 1.58;
    margin-bottom: 16px;
    flex: 1;
}
.mt-card-foot {
    padding-top: 12px;
    border-top: 1px solid #EEF1F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.mt-card-more {
    font-family: var(--mt-font-head);
    font-weight: 700;
    color: var(--mt-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mt-card-more:hover {
    color: var(--mt-copper);
}

/* Süreç Bandı (Koyu Arduvaz) */
.mt-process-band {
    background: var(--mt-slate);
    color: #E2E8F0;
    padding: 72px 0;
}
.mt-step-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top: 3px solid var(--mt-copper);
    padding: 24px 20px;
    height: 100%;
    border-radius: 3px;
}
.mt-step-num {
    font-family: var(--mt-font-head);
    font-size: 28px;
    font-weight: 800;
    color: #F4A261;
    line-height: 1;
    margin-bottom: 10px;
}
.mt-step-card h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}
.mt-step-card p {
    color: #B8C4D0;
    font-size: 14.5px;
    margin: 0;
}

/* Acil Çağrı Bandı */
.mt-emergency-strip {
    background: var(--mt-blue);
    border-left: 6px solid var(--mt-copper);
    color: #ffffff;
    padding: 36px 34px;
    border-radius: 4px;
}
.mt-emergency-strip h2 {
    color: #ffffff !important;
    font-size: 28px;
    margin-bottom: 6px;
}

/* Alt Sayfa Başlık Bandı (Breadcrumb) */
.mt-page-header {
    background: var(--mt-slate);
    border-bottom: 3px solid var(--mt-copper);
    color: #ffffff;
    padding: 46px 0;
}
.mt-page-header h1 {
    color: #ffffff;
    font-size: 32px;
    margin: 0;
}
.mt-page-header .breadcrumb {
    margin-bottom: 10px;
    font-size: 14px;
}
.mt-page-header .breadcrumb-item a {
    color: #CBD5E1;
    text-decoration: none;
}
.mt-page-header .breadcrumb-item a:hover {
    color: #ffffff;
}
.mt-page-header .breadcrumb-item.active {
    color: #F4A261;
}
.mt-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #64748B;
}

/* Sayfa Meta Bilgisi (Tarih ve Görüntülenme - Madde 22) */
.mt-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: var(--mt-stone);
    border: 1px solid var(--mt-border);
    padding: 10px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--mt-muted);
    border-radius: 3px;
}
.mt-meta-bar i {
    color: var(--mt-copper);
    margin-right: 4px;
}

/* Makale İçeriği */
.mt-article-body h2 {
    font-size: 24px;
    margin-top: 26px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #E9EEF3;
}
.mt-article-body h3 {
    font-size: 19px;
    margin-top: 20px;
    margin-bottom: 8px;
}
.mt-article-body p {
    margin-bottom: 15px;
}
.mt-article-body ul {
    padding-left: 20px;
    margin-bottom: 18px;
}
.mt-article-body ul li {
    margin-bottom: 7px;
}

/* Etiketler */
.mt-tag-link {
    display: inline-block;
    padding: 5px 12px;
    background: var(--mt-stone);
    border: 1px solid var(--mt-border);
    color: var(--mt-text);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
}
.mt-tag-link:hover {
    background: var(--mt-blue);
    border-color: var(--mt-blue);
    color: #ffffff;
}

/* Sidebar */
.mt-widget {
    background: #ffffff;
    border: 1px solid var(--mt-border);
    border-radius: 4px;
    padding: 22px;
    margin-bottom: 24px;
}
.mt-widget-title {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--mt-border);
    position: relative;
}
.mt-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 48px;
    height: 2px;
    background: var(--mt-copper);
}
.mt-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 440px;
    overflow-y: auto;
}
.mt-sidebar-nav li {
    margin-bottom: 5px;
}
.mt-sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 14.5px;
    color: var(--mt-text);
    background: var(--mt-stone);
    border-left: 3px solid transparent;
    text-decoration: none;
    border-radius: 2px;
}
.mt-sidebar-nav a:hover {
    background: #EDF3F8;
    color: var(--mt-blue);
    border-left-color: var(--mt-blue);
}
.mt-sidebar-nav a.is-current {
    background: var(--mt-blue);
    color: #ffffff;
    font-weight: 700;
    border-left-color: var(--mt-copper);
}

/* Galeri Kartları */
.mt-gallery-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mt-border);
    border-radius: 4px;
    background: var(--mt-slate);
}
.mt-gallery-card a {
    display: block;
    position: relative;
    text-decoration: none;
    color: #ffffff;
}
.mt-gallery-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.mt-gallery-card:hover img {
    transform: scale(1.05);
}
.mt-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(17, 26, 36, 0.92), rgba(17, 26, 36, 0.45) 65%, transparent);
}

/* 20 Bölge Dizini */
.mt-district-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--mt-border);
    border-radius: 3px;
    color: var(--mt-slate);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}
.mt-district-item i {
    color: var(--mt-copper);
}
.mt-district-item:hover {
    border-color: var(--mt-blue);
    background: #F0F5FA;
    color: var(--mt-blue);
}

/* Accordion SSS */
.mt-accordion .accordion-item {
    border: 1px solid var(--mt-border);
    border-radius: 4px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.mt-accordion .accordion-button {
    font-family: var(--mt-font-head);
    font-weight: 700;
    font-size: 16.5px;
    color: var(--mt-slate);
    background: #ffffff;
    box-shadow: none;
}
.mt-accordion .accordion-button:not(.collapsed) {
    background: #F4F7FA;
    color: var(--mt-blue);
    border-bottom: 1px solid var(--mt-border);
}

/* Sayfalama (Madde 18) */
.mt-pagination-bar {
    background: #ffffff;
    border: 1px solid var(--mt-border);
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.mt-pagination-bar .pagination {
    margin: 0;
    gap: 4px;
}
.mt-pagination-bar .page-link {
    color: var(--mt-slate);
    border: 1px solid var(--mt-border);
    border-radius: 3px !important;
    font-weight: 600;
    font-size: 14px;
    padding: 7px 13px;
}
.mt-pagination-bar .page-item.active .page-link {
    background: var(--mt-blue);
    border-color: var(--mt-blue);
    color: #ffffff;
}
.mt-pagination-bar .page-link:hover {
    background: var(--mt-copper);
    border-color: var(--mt-copper);
    color: #ffffff;
}

/* Footer */
.mt-footer {
    background: var(--mt-slate);
    color: #B8C4D0;
    padding: 60px 0 0;
    font-size: 14.5px;
    border-top: 4px solid var(--mt-copper);
}
.mt-footer-logo {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}
.mt-footer h4 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}
.mt-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 38px;
    height: 2px;
    background: var(--mt-copper);
}
.mt-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mt-footer ul li {
    margin-bottom: 9px;
}
.mt-footer ul li a {
    color: #CBD5E1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mt-footer ul li a:hover {
    color: #F4A261;
}
.mt-footer-bottom {
    margin-top: 44px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: #111A24;
    font-size: 13.5px;
    color: #94A3B8;
}
.mt-footer-bottom a {
    color: #F4A261;
    text-decoration: none;
    font-weight: 600;
}
.mt-footer-bottom a:hover {
    color: #ffffff;
}

/* Masaüstü Sağ Alt WhatsApp Destek */
.desktop-whatsapp-float {
    position: fixed;
    bottom: 95px;
    right: 24px;
    z-index: 99980;
}
.desktop-whatsapp-float img {
    height: 54px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.24));
    transition: transform 0.2s ease;
}
.desktop-whatsapp-float:hover img {
    transform: translateY(-2px);
}
@media (max-width: 991px) {
    .desktop-whatsapp-float {
        display: none !important;
    }
}

/* Mobil Sabit Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--mt-border);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 99990;
    padding: 9px 12px;
    gap: 10px;
}
@media (max-width: 991px) {
    .mobile-sticky-bar {
        display: flex;
    }
    body {
        padding-bottom: 64px;
    }
}
.mobile-sticky-bar a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-family: var(--mt-font-head);
    font-weight: 700;
    font-size: 14.5px;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mobile-sticky-bar .btn-m-call {
    background: var(--mt-copper);
}
.mobile-sticky-bar .btn-m-wa {
    background: #1E8E4B;
}
