/* ==========================================================
   Sistempak — Özel CSS Eklemeleri
   Eksik sınıflar ve sayfa-özel stiller
   ========================================================== */

/* =========================================================
   LOGO — Header & Footer boyutlandırması
   ========================================================= */
/* =========================================================
   NAVBAR LOGO — custom.css'deki top:-105px override
   Template'in yatay logosu için tasarlanmıştı,
   Sistempak'ın kare logosu için sıfırlanıyor.
   ========================================================= */
.header-con .navbar-brand figure {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    margin: 0;
}
.header-con .navbar-dark .navbar-brand {
    position: relative;
}
.header-con .collapse.navbar-collapse {
    align-items: center;
}
/* Orta logo boyutu (desktop) — %100 büyütme */
.header-con .navbar-brand figure img {
    height: 210px;
    width: auto;
    object-fit: contain;
    display: block;
}
/* Mobil logo */
.navbar-brand.d-lg-none img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
}
/* Header padding — floating logo için yükseklik */
.header-con {
    padding: 8px 0;
}
/* Mobil header arka plan */
@media (max-width: 991px) {
    .header-con {
        background: #152b4f;
    }
    .header-con .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-brand.d-lg-none {
        padding: 0;
        margin: 0;
    }
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
}

/* Banner slider yüksekliği —%50 azaltma */
.banner-inner-con {
    padding-top: 174px !important;
    padding-bottom: 150px !important;
}
/* Banner görsel — %40 büyütme + yeniden konumlandırma */
.banner-img {
    bottom: -260px !important;
    left: -130px !important;
}
.banner-img figure img {
    height: 728px;
    width: auto;
}
@media (max-width: 991px) {
    .banner-img {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        text-align: center;
        margin-top: 30px;
    }
    .banner-img figure img {
        height: 340px;
        margin: 0 auto;
    }
}
@media (max-width: 767px) {
    .banner-img figure img {
        height: 260px;
    }
}
/* Nav gap */
.header-con .navbar-dark .navbar-nav {
    gap: 36px;
    align-items: center;
}
/* Footer logo */
.footer-box .site-map:first-child img {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
}

/* =========================================================
   FOLLOW US BAR
   ========================================================= */
.follow-us-bar {
    background: #152b4f;
    padding: 18px 0;
}
.follow-us-inner {
    gap: 24px;
}
.follow-us-label {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}
.follow-us-list {
    gap: 12px;
}
.follow-us-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
    font-size: 14px;
    transition: border-color 0.25s, background 0.25s;
    text-decoration: none;
}
.follow-us-list li a:hover {
    border-color: #01d0cc;
    background: #01d0cc;
    color: #fff;
}

/* =========================================================
   NAVBAR DROPDOWN — lacivert tema rengi
   ========================================================= */
.header-con .dropdown-menu {
    background: #152b4f;
    border: none;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(21,43,79,0.3);
    min-width: 220px;
}
.header-con .dropdown-menu .dropdown-item {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    padding: 10px 20px;
    transition: background 0.2s, color 0.2s;
}
.header-con .dropdown-menu .dropdown-item:hover,
.header-con .dropdown-menu .dropdown-item:focus {
    background: rgba(1,208,204,0.15);
    color: #01d0cc;
}

/* ---- Renk Yardımcı Sınıfı ---- */
.color-01d0cc {
    color: #01d0cc;
}

/* =========================================================
   SUBMIT BUTON — iletişim formu
   ========================================================= */
.submit-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 36px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif;
    background: #01d0cc !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.25s, transform 0.2s;
    margin-top: 8px;
}
.submit-btn:hover {
    background: #00b8b5 !important;
    transform: translateY(-2px);
}

/* Map-box pin ikonunun form üstüne taşmaması */
.map-con {
    position: relative;
    z-index: 1;
}
.map-box {
    z-index: 2;
}

/* =========================================================
   İÇ SAYFA BANNER (.inner-banner-con)
   Tüm iç sayfalarda (hakkımızda, hizmetler, galeri vb.)
   ========================================================= */
.inner-banner-con {
    background: url(../images/generic-banner.jpg) no-repeat center center;
    background-size: cover;
    padding: 100px 0 80px;
    position: relative;
}
.inner-banner-con::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 43, 79, 0.75);
}
.inner-banner-title {
    position: relative;
    z-index: 2;
}
.inner-banner-title h1 {
    font-size: 42px;
    line-height: 52px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}
.inner-banner-title .breadcrumb {
    background: transparent;
    padding: 0;
}
.inner-banner-title .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}
.inner-banner-title .breadcrumb-item.active {
    color: #01d0cc;
}

/* =========================================================
   HİZMET DETAY SAYFASI (.service-detail-con)
   ========================================================= */
.service-detail-con {
    padding: 80px 0;
}
.service-detail-con .service-content {
    font-size: 15px;
    line-height: 28px;
    color: #444;
}
.service-detail-con .service-content h2,
.service-detail-con .service-content h3 {
    color: #152b4f;
    font-family: 'Montserrat', sans-serif;
    margin-top: 28px;
    margin-bottom: 14px;
}
.service-detail-con .service-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.service-detail-con .service-content ul li {
    margin-bottom: 8px;
}

/* Sidebar */
.sidebar-box {
    background: #f7f8fb;
    border-radius: 8px;
    overflow: hidden;
}
.sidebar-title {
    background: #152b4f;
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}
.sidebar-box .list-group-item {
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 14px;
    padding: 12px 20px;
}
.sidebar-box .list-group-item a {
    color: #333;
    text-decoration: none;
}
.sidebar-box .list-group-item a:hover {
    color: #01d0cc;
}
.sidebar-box .list-group-item:first-child {
    border-top: none;
}

/* =========================================================
   GALERİ SAYFASI
   ========================================================= */
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    transition: transform 0.4s ease;
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    background: rgba(21, 43, 79, 0.7);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* =========================================================
   REFERANSLAR SAYFASI — Yorum kartı
   ========================================================= */
.testimonial-card {
    background: #fff;
    border: 1px solid #e8edf5 !important;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(166,184,213,0.15);
    height: 100%;
}
.testimonial-card p {
    color: rgba(0,0,0,0.65);
    line-height: 26px;
    font-style: italic;
}
.testimonial-card strong {
    color: #01d0cc;
    font-family: 'Montserrat', sans-serif;
}

/* =========================================================
   PROJE / GALERİ HOME SECTION — project-item temel stil
   ========================================================= */
.project-item {
    overflow: hidden;
    position: relative;
    flex: 1 1 calc(25% - 8px);
    min-width: 200px;
}
.project-item figure {
    margin-bottom: 0;
}
.project-item figure img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.project-item:hover figure img {
    transform: scale(1.04);
}

/* =========================================================
   RESPONSIVE DÜZELTMELER
   ========================================================= */
@media (max-width: 991px) {
    .inner-banner-con {
        padding: 70px 0 55px;
    }
    .inner-banner-title h1 {
        font-size: 30px;
        line-height: 40px;
    }
    .service-detail-con {
        padding: 50px 0;
    }
    .project-item figure img {
        height: 200px;
    }
}
@media (max-width: 767px) {
    .inner-banner-con {
        padding: 55px 0 40px;
    }
    .inner-banner-title h1 {
        font-size: 24px;
        line-height: 34px;
    }
    .project-item {
        flex: 1 1 calc(50% - 8px);
    }
}

/* =========================================================
   VIDEO BÖLÜMÜ
   ========================================================= */
.sp-video-section {
    background: #0d1e38 !important;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
.sp-video-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}
.sp-video-text {
    flex: 0 0 38%;
    min-width: 0;
}
.sp-video-tag {
    display: inline-block;
    background: rgba(1,208,204,0.15);
    color: #01d0cc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.sp-video-text h2 {
    color: #fff !important;
    font-size: 34px;
    line-height: 44px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 18px;
}
.sp-video-text h2 span {
    color: #01d0cc !important;
}
.sp-video-text p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 15px;
    line-height: 27px;
    margin-bottom: 28px;
}
.sp-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #01d0cc;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.25s, transform 0.25s;
}
.sp-video-btn:hover {
    background: #00b8b5;
    color: #fff !important;
    transform: translateY(-2px);
}
.sp-video-player {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    background: #000;
    line-height: 0;
}
.sp-video-player video {
    width: 100%;
    height: auto;
    max-height: 420px;
    display: block;
    object-fit: cover;
    background: #000;
    outline: none;
}
.sp-video-player video:focus {
    outline: none;
}
@media (max-width: 991px) {
    .sp-video-inner {
        flex-direction: column;
        gap: 36px;
    }
    .sp-video-text {
        flex: unset;
        width: 100%;
        text-align: center;
    }
    .sp-video-text h2 {
        font-size: 26px;
        line-height: 36px;
    }
    .sp-video-player {
        width: 100%;
    }
    .sp-video-section {
        padding: 55px 0;
    }
}

/* =========================================================
   REFERANSLAR — hover efekti
   ========================================================= */
.ref-logo-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    padding: 12px 16px;
}
.ref-logo-wrap:hover {
    border-color: #01d0cc;
    box-shadow: 0 6px 20px rgba(1,208,204,0.18);
    transform: translateY(-3px);
}
.ref-name-wrap {
    height: 80px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #152b4f;
    font-size: 14px;
    padding: 12px 16px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, color 0.25s;
}
.ref-name-wrap:hover {
    border-color: #01d0cc;
    box-shadow: 0 6px 20px rgba(1,208,204,0.18);
    transform: translateY(-3px);
    color: #01d0cc;
}
