/* Küçük başlangıç stilleri */

/* Topbar */
.topbar {
    background: #014397;
    height: 50px;
    font-size: 1.05rem;
}

.topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar .left-group,
.topbar .right-group {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.topbar a {
    text-decoration: none;
    color: #fff;
}

.topbar .location-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.topbar .location-link:hover {
    opacity: 0.8;
}

.topbar .separator {
    margin: 0 .5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Navbar: sticky on scroll */
nav.sticky-top {
    z-index: 1030;
    background: #ffffff;
}

.sticky-top.navbar {
    transition: box-shadow .2s ease;
}

/* Nav genel yazı biraz büyük */
.navbar .nav-link {
    font-size: 1.07rem;
    padding-left: .75rem;
    padding-right: .75rem;
}

/* Nav whatsapp sade icon (kutusuz), biraz büyük, whatsapp rengi */
.nav-contact {
    min-width: auto;
}

.nav-whatsapp {
    color: #2d2e2f;
    font-size: 1.9rem;
    /* biraz büyüdü */
    margin-left: .75rem;
}

.nav-contact .contact-text {
    text-align: left;
    margin-left: .6rem;
}

.nav-contact .contact-line1 {
    font-size: .9rem;
    color: #6c757d;
}

.nav-contact .contact-line2 {
    font-weight: 700;
    font-size: 1rem;
    color: #2d2e2f;
    line-height: 1;
    text-decoration: none;
}

.nav-contact .contact-line2 a {
    color: #2d2e2f;
    text-decoration: none;
}

/* Hero: koyu arkaplan + resim alt sıfır */
.hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(7, 27, 42, 0.65) 0%, rgba(8, 50, 70, 0.65) 100%), url('../img/hero-bg.png') center/cover no-repeat;
    padding-top: 40px;
    padding-bottom: 0;
    overflow: visible;
}

.hero .text-panel {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: #ffffff;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero p.lead {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero .btn-light {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Fotoğrafın heronun tam altına oturması için kesin düzen */
.hero .img-col {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    position: relative;
}

.hero .img-col img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    margin-bottom: 0;
}

/* Services: düzenlemeler */
/* Küçültülmüş primary başlık (h2) */
h2.text-primary {
    font-size: 1.6rem;
    margin-bottom: .6rem;
}

/* Alt başlıklar (section-subtitle) primary başlıktan daha büyük ve bold */
.section-subtitle {
    font-size: 1.85rem;
    font-weight: 700;
    color: #014397;
    margin-bottom: 1rem;
}

.services-intro-card {
    background: transparent;
    border: 0;
    text-align: center;
    padding: 1.5rem 1rem;
}

.services-intro-card h3.text-primary {
    font-size: 1.6rem;
    margin-bottom: .4rem;
}

/* Flat icon görünümü için servis ikonları */
.services .icon {
    font-size: 3.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.services .icon i {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-radius: 50%;
}

/* Mobil ekranda hizmet kartları ortalansın */
@media (max-width: 768px) {
    .services .card-body {
        text-align: center;
    }
}

/* Neden biz */
.why-list li {
    margin-bottom: .75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.why-list li i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}

.why-list i {
    width: 24px;
    text-align: center;
}

/* FAQ: sol ikon yerine tek resim, gölge kaldırıldı, biraz daha büyük */
.faq-image {
    width: 100%;
    max-width: 460px;
    border-radius: 12px;
    box-shadow: none;
}

.accordion-button {
    font-weight: 700;
    font-size: 1.03rem;
}

/* Blog & Team: başlık ortala, primary, alt başlık ve kart başlık clamp */
.centered-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-title.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.2rem;
}

/* Team: resimler kare, kutunun arkaplan blancos, beyaz kutu bilgi */
.team-item {
    position: relative;
    overflow: visible;
    border: none;
    background: transparent;
    padding: 0;
}

.team-item .team-img {
    width: 100%;
    height: 260px;
    /* karebenzeri yükseklik, object-fit ile kırpma */
    display: block;
    border-radius: 6px;
    object-fit: cover;
}

.team-info {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: .9rem 1rem;
    width: calc(100% - 60px);
    /* biraz daha daralttık */
    margin: 0 auto;
    position: relative;
    top: -38%;
    /* biraz daha yukarı çıktığı için negatif margin artırıldı */
    border-radius: 8px;
    text-align: center;
}

.team-info h5 {
    margin-bottom: .25rem;
    font-weight: 700;
}

.team-info .role {
    font-size: .95rem;
    color: #6c757d;
}

/* Blog card devamını oku link */
.blog-readmore {
    display: inline-block;
    margin-top: .6rem;
    color: #014397;
    text-decoration: none;
    font-weight: 600;
}

.blog-readmore:hover {
    text-decoration: underline;
}

/* Contact section center ve hafif ayrım */
#contact {
    background: rgba(1, 67, 151, 0.04);
    text-align: center;
}

#contact .btn {
    margin-top: 1rem;
}

/* Footer sosyal hover efekti */
footer.site-footer .social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #014397;
    border: 1px solid rgba(1, 67, 151, 0.08);
    margin-right: .5rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

footer.site-footer .social a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(1, 67, 151, 0.08);
    background: #014397;
    color: #fff;
}

footer.site-footer .footer-col {
    line-height: 1.9;
}

.footer-links a {
    display: block;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    margin-bottom: .4rem;
    transition: color .15s ease, text-decoration .15s ease;
}

.footer-links a:hover {
    color: #014397;
    text-decoration: underline;
}

.footer-contact-title {
    font-weight: 700;
    font-size: .9rem;
    color: #000;
    margin-bottom: .4rem;
}

/* Footer e-posta link rengi footer metinleriyle aynı olsun */
footer.site-footer .footer-contact a {
    color: inherit;
    text-decoration: none;
}

/* Scroll to top button */
#scrollTopBtn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2000;
    display: none;
    background: #014397;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

#scrollTopBtn:hover {
    background: #01306a;
}

/* Responsive düzeltmeler */
@media (max-width: 991.98px) {

    .nav-contact {
        display: none !important;
    }

    .hero {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .hero .text-panel {
        padding: 0;
    }

    .team-info {
        top: -28%;
        width: calc(100% - 32px);
    }
}

/* Pricing Carousel: 4 items gösterilecek */
/* Pricing cards styling */
#pricing .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #e0e0e0 !important;
}

#pricing .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#pricing .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

#pricing .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

@media (max-width: 1023px) {
    .pricing-carousel .owl-item {
        flex: 0 0 calc(50% - 20px);
    }
}

/* Mobil özel ayarlar */
@media (max-width: 575.98px) {

    /* Topbar: mobilde solda sadece email, sağda whatsapp gösterilecek */
    .topbar .left-group .d-sm-inline {
        display: none !important;
    }

    .topbar .right-group {
        display: none !important;
    }

    footer.site-footer .footer-col {
        text-align: center;
    }
}

.page-hero {
    min-height: 320px;
    background-image: url("../img/hero-bg.png");
    /* PNG */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-inner {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Dikey orta */
    align-items: center;
    /* Yatay orta */
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.85),
            rgba(15, 23, 42, 0.55));
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.cta-visual {
    position: relative;
    height: 340px;
    overflow: hidden;
}

/* Görsel katman */
.cta-bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/cta-bg.png");
    /* hero’dan farklı PNG */
    background-size: cover;
    background-position: center;
    filter: saturate(0.9);
}

/* Kontrast overlay */
.cta-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(2, 6, 23, 0.85),
            rgba(2, 6, 23, 0.65));
}

/* İçerik */
.cta-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-inner {
    max-width: 720px;
    color: #fff;
}

.cta-inner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 28px;
}

/* CTA Buton */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.35);
    transition: 0.25s ease;
}

.cta-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.error-inner {
    max-width: 560px;
    margin: auto;
}

.error-code {
    font-size: clamp(96px, 16vw, 160px);
    font-weight: 800;
    color: #e5e7eb;
    line-height: 1;
    margin-bottom: -20px;
    user-select: none;
}

.error-inner h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.error-inner p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 32px;
}

/* Ana sayfa butonu */
.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-home:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}

.contact-info {
    background: #ffffff;
}

.contact-info i {
    font-size: 22px;
}

.map-wrapper iframe {
    filter: grayscale(0.2);
}

.services .icon i {
    font-size: 42px;
}