/* Genel */
:root {
    --primary-color: #FF6600;   /* ADR turuncu */
    --secondary-color: #0A2342; /* Koyu lacivert */
}

body {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #F4F5F7;
    color: #1A1A1A;
}

/* Genel boşluklar */
.section-padding {
    padding: 90px 0;
}

.section-title {
    position: relative;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -10px;
}

/* Navbar */
.navbar {
    border-bottom: 3px solid var(--primary-color);
    background-color: #ffffff !important;
}

.navbar-brand .brand-text span {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.navbar-brand .brand-text small {
    font-size: 0.7rem;
}

/* Logo boyutu */
.navbar-brand .logo-img {
    height: 100px;
    width: auto;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color) !important;
}

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

/* Butonlar */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #e45b00;
    border-color: #e45b00;
}

/* HERO */
.hero-section {
    padding-top: 130px;
    padding-bottom: 80px;
    background:
        linear-gradient(rgba(10,35,66,0.80), rgba(10,35,66,0.90)),
        url('../img/adr-bg.jpg') center/cover no-repeat;
    color: #ffffff;
}

.hero-section .lead {
    color: #e5ecff;
}

.hero-card {
    border-left: 5px solid var(--primary-color);
}

/* Kartlar */
.hero-card,
.service-card,
.region-card,
.ref-card,
.contact-form-card,
.info-box,
.portal-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.hero-card:hover,
.service-card:hover,
.region-card:hover,
.ref-card:hover,
.contact-form-card:hover,
.info-box:hover,
.portal-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

/* Referans kartı */
.ref-card {
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: #0A2342;
    color: #ffffff;
}

/* Küçük ekranlar için */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-section {
        padding-top: 85px;
        padding-bottom: 60px;
    }

    .navbar-brand .logo-img {
        height: 50px;
    }
}

/* BLOG: kart içi küçük görsel kutusu (200x200) */
.blog-thumb-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f3f4f6;
    border-radius: 8px;
}

.blog-thumb-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

/* BLOG: detay sayfası öne çıkan görsel (solda) */
.blog-post-image-wrapper {
    max-width: 100%;
    max-height: 420px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    border-radius: 12px;
}

.blog-post-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;  /* kırpma yok, orantılı küçültme */
    display: block;
}

/* İçerik içindeki img'ler de taşmasın */
.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}