:root {
    --brand-blue: #0b3d91;
    --brand-blue-dark: #082a66;
    --brand-accent: #1e88e5;
    --brand-light: #f4f7fb;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #24303f;
    background: #fff;
}

.navbar-brand {
    font-weight: 700;
    color: var(--brand-blue) !important;
    font-size: 1.4rem;
}

.navbar-brand small {
    display: block;
    font-size: .65rem;
    font-weight: 400;
    color: #6c7a89;
}

.navbar .nav-link {
    font-weight: 500;
    color: #2c3e50 !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--brand-accent) !important;
}

.hero {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Slider görselleri 1600x600 (yaklaşık 8:3) oranında hazırlanır.
       aspect-ratio ile kutu bu orana sabitlenir, böylece görsel hiçbir
       ekran genişliğinde kırpılmaz/bozulmaz ve tam olarak sığar. */
    aspect-ratio: 1600 / 600;
    max-height: 600px;
    min-height: 320px;
    padding: 40px 0;
}

@media (max-width: 767px) {
    .hero {
        aspect-ratio: auto;
        min-height: 420px;
        padding: 60px 0;
    }
}

.hero h1 {
    font-weight: 700;
    font-size: 2.6rem;
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 1.9rem;
    }
}

.hero .lead {
    color: #d7e3f7;
}

/* Hero (ana sayfa slider) ok butonları: Bootstrap'in varsayılan geniş
   (%15) tıklama alanı yerine, her zaman net biçimde kenarda duran,
   dairesel ve her arka planda (görsel veya düz renk) görünür butonlar. */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(8, 26, 66, .45);
    border: 1px solid rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 1;
    transition: background .2s ease;
    z-index: 5;
}

.hero-nav-btn:hover {
    background: rgba(8, 26, 66, .75);
}

.hero-nav-btn.carousel-control-prev {
    left: 16px;
}

.hero-nav-btn.carousel-control-next {
    right: 16px;
}

@media (max-width: 575px) {
    .hero-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

.section {
    padding: 70px 0;
}

.section-title {
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: .5rem;
}

.section-subtitle {
    color: #7a8898;
    margin-bottom: 2.5rem;
}

.service-card {
    border: 1px solid #eaeef3;
    border-radius: 12px;
    padding: 30px 24px;
    height: 100%;
    transition: all .2s ease;
    background: #fff;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(11,61,145,.1);
    transform: translateY(-4px);
    border-color: transparent;
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--brand-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.bg-light-blue {
    background: var(--brand-light);
}

/* Hizmetlerimiz carousel kontrolleri (açık zemine uygun, marka renkli) */
.services-carousel .carousel-item {
    transition: transform .5s ease-in-out;
}

.carousel-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dbe3ee;
    background: #fff;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all .2s ease;
}

.carousel-nav-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.carousel-indicators-custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-indicators-custom button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #d7e0ee;
    padding: 0;
    transition: all .2s ease;
}

.carousel-indicators-custom button.active {
    background: var(--brand-blue);
    width: 24px;
    border-radius: 5px;
}

.post-card img,
.service-detail-img {
    border-radius: 10px;
}

.post-card {
    border: 1px solid #eaeef3;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background: #fff;
    transition: all .2s ease;
}

.post-card:hover {
    box-shadow: 0 12px 30px rgba(11,61,145,.1);
}

.post-card .post-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #dce6f5;
    overflow: hidden;
}

.post-card .post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card .post-body {
    padding: 20px;
}

.badge-brand {
    background: var(--brand-blue);
}

footer.site-footer {
    background: #0a1f3d;
    color: #b9c6dc;
    padding: 60px 0 20px;
}

footer.site-footer h5 {
    color: #fff;
    font-weight: 700;
}

footer.site-footer a {
    color: #b9c6dc;
    text-decoration: none;
}

footer.site-footer a:hover {
    color: #fff;
}

.btn-brand {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
    font-weight: 600;
}

.btn-brand:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-bar {
    background: var(--brand-light);
    padding: 40px 0;
}
