/* ============================================================
   RDGRUP - Ana Stil Dosyası
   Renk Paleti: Kırmızı (#C8102E) & Mavi (#003DA5) tonları
   ============================================================ */

/* ─── CSS DEĞİŞKENLERİ ────────────────────────────────────── */
:root {
    --rd-red: #C8102E;
    --rd-red-dark: #9E0B24;
    --rd-red-light: #E63950;
    --rd-blue: #003DA5;
    --rd-blue-dark: #002B78;
    --rd-blue-light: #1A56C4;
    --rd-accent: #0091D5;
    --rd-dark: #0F1B2D;
    --rd-gray: #6C7A8A;
    --rd-light: #F5F7FA;
    --rd-white: #FFFFFF;
    --rd-border: #E4E8EF;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .07);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all .3s ease;
}

/* ─── RESET / TEMEL ───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--rd-dark);
    background: var(--rd-white);
    overflow-x: hidden;
}

a {
    color: var(--rd-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--rd-red);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── TİPOGRAFİ ──────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--rd-dark);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rd-dark);
    margin-bottom: .5rem;
}

.section-subtitle {
    color: var(--rd-gray);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    background: rgba(200, 16, 46, .1);
    color: var(--rd-red);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .8rem;
    border-radius: 50px;
    margin-bottom: .75rem;
}

/* ─── BUTONLAR ───────────────────────────────────────────── */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: .65rem 1.5rem;
    transition: var(--transition);
    letter-spacing: .01em;
}

.btn-primary {
    background: var(--rd-red);
    border-color: var(--rd-red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--rd-red-dark);
    border-color: var(--rd-red-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, .35);
}

.btn-outline-primary {
    color: var(--rd-red);
    border-color: var(--rd-red);
}

.btn-outline-primary:hover {
    background: var(--rd-red);
    border-color: var(--rd-red);
    color: #fff;
}

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

.btn-secondary:hover {
    background: var(--rd-blue-dark);
    border-color: var(--rd-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-lg {
    padding: .85rem 2.2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: .4rem 1rem;
    font-size: .85rem;
}

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
    background: var(--rd-dark);
    font-size: .82rem;
}

.topbar-link {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: var(--transition);
}

.topbar-link:hover {
    color: var(--rd-red-light);
}

.topbar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    border-radius: 50%;
    font-size: .75rem;
    transition: var(--transition);
}

.topbar .social-links a:hover {
    background: var(--rd-red);
    color: #fff;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
#mainNav {
    background: var(--rd-white);
    box-shadow: var(--shadow-sm);
    padding: .75rem 0;
    transition: var(--transition);
    z-index: 1050;
}

#mainNav.scrolled {
    box-shadow: var(--shadow-md);
    padding: .5rem 0;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--rd-blue);
    letter-spacing: -.03em;
}

.logo-text span {
    color: var(--rd-red);
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: .9rem;
    color: var(--rd-dark) !important;
    padding: .5rem .8rem !important;
    border-radius: var(--radius-sm);
    letter-spacing: .01em;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--rd-red) !important;
    background: rgba(200, 16, 46, .06);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: .5rem;
    min-width: 200px;
}

.navbar-nav .dropdown-item {
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 500;
    padding: .5rem .85rem;
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    background: rgba(200, 16, 46, .08);
    color: var(--rd-red);
}

.btn-nav-cta {
    font-size: .88rem;
    padding: .5rem 1.3rem;
}

/* ─── HERO SLIDER ────────────────────────────────────────── */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 45, 120, .75) 0%, rgba(0, 20, 60, .5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-label {
    display: inline-block;
    background: var(--rd-red);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--rd-red-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, .6);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--rd-red);
}

/* ─── STATS BÖLÜMÜ ───────────────────────────────────────── */
.stats-section {
    background: var(--rd-blue);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-number span {
    color: var(--rd-red-light);
}

.stat-label {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    margin-top: .3rem;
}

.stat-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, .35);
    margin-bottom: .5rem;
}

/* ─── ÜRÜN KATEGORİ KARTLARI ─────────────────────────────── */
.section {
    padding: 5rem 0;
}

.category-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--rd-white);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card .card-img-wrap {
    height: 180px;
    overflow: hidden;
    background: var(--rd-light);
    position: relative;
}

.category-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.category-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.category-card .card-body {
    padding: 1.1rem 1.25rem;
}

.category-card .card-title {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .3rem;
    line-height: 1.3;
}

.category-card .card-count {
    font-size: .78rem;
    color: var(--rd-gray);
}

.category-card .card-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--rd-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    transition: var(--transition);
}

.category-card:hover .card-arrow {
    background: var(--rd-blue);
}

/* Görsel yokken icon placeholder */
.category-card .card-img-wrap .cat-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rd-light) 0%, #e8ecf3 100%);
    gap: .5rem;
}

.category-card .card-img-wrap .cat-icon-placeholder i {
    font-size: 2.5rem;
    color: var(--rd-blue);
    opacity: .4;
}

/* ─── ÜRÜN KARTLARI ──────────────────────────────────────── */
.product-card {
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: var(--rd-white);
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-3px);
}

.product-card .product-img {
    height: 220px;
    overflow: hidden;
    background: var(--rd-light);
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.04);
}

.product-card .product-badges {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: flex;
    gap: .4rem;
}

.badge-new {
    background: var(--rd-blue);
    color: #fff;
}

.badge-featured {
    background: var(--rd-red);
    color: #fff;
}

.product-card .product-body {
    padding: 1.25rem;
}

.product-card .product-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--rd-dark);
    margin-bottom: .4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-sku {
    font-size: .78rem;
    color: var(--rd-gray);
    margin-bottom: .75rem;
}

.product-card .product-actions {
    display: flex;
    gap: .5rem;
    margin-top: auto;
}

/* ─── ÜRÜN DETAY ─────────────────────────────────────────── */
.product-gallery .main-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--rd-light);
    aspect-ratio: 4/3;
}

.product-gallery .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .thumb-swiper {
    margin-top: .75rem;
}

.product-gallery .thumb-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    aspect-ratio: 1;
    background: var(--rd-light);
}

.product-gallery .thumb-item.active,
.product-gallery .thumb-item:hover {
    border-color: var(--rd-red);
}

.product-gallery .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-title {
    font-size: 1.9rem;
    font-weight: 800;
}

.product-meta-list {
    list-style: none;
    padding: 0;
}

.product-meta-list li {
    display: flex;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--rd-border);
    font-size: .9rem;
}

.product-meta-list li:last-child {
    border-bottom: none;
}

.product-meta-list .meta-key {
    font-weight: 600;
    color: var(--rd-gray);
    min-width: 130px;
}

.video-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-wrap iframe,
.video-wrap video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Teklif Formu */
.quote-form-card {
    background: var(--rd-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--rd-border);
    position: sticky;
    top: 90px;
}

.quote-form-card .form-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rd-blue);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--rd-red);
}

/* PDF Katalog */
.pdf-card {
    background: linear-gradient(135deg, var(--rd-blue) 0%, var(--rd-blue-dark) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pdf-card .pdf-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, .6);
}

.pdf-card .btn {
    background: #fff;
    color: var(--rd-blue);
    font-weight: 700;
}

/* SSS */
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: .95rem;
    background: var(--rd-light);
    color: var(--rd-dark);
    border-radius: var(--radius-sm) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--rd-red);
    color: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(10);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: .5rem;
    overflow: hidden;
}

/* ─── REFERANSLAR ────────────────────────────────────────── */
.reference-card {
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    background: var(--rd-white);
    height: 100%;
}

.reference-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--rd-blue);
}

.reference-card img {
    max-height: 70px;
    width: auto;
    max-width: 160px;
    filter: grayscale(1);
    opacity: .7;
    transition: var(--transition);
    object-fit: contain;
}

.reference-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ─── İLETİŞİM ───────────────────────────────────────────── */
.contact-info-card {
    background: var(--rd-blue);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item .ci-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item .ci-body h6 {
    color: rgba(255, 255, 255, .7);
    font-size: .8rem;
    margin-bottom: .2rem;
}

.contact-info-item .ci-body p {
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.contact-info-item .ci-body a {
    color: #fff;
    text-decoration: none;
}

.contact-form-wrap {
    background: var(--rd-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* ─── HAKKIMIZDA ─────────────────────────────────────────── */
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--rd-red);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 700;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(200, 16, 46, .1);
    color: var(--rd-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ─── SAYFA HERO ─────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--rd-blue-dark) 0%, var(--rd-blue) 100%);
    padding: 4rem 0 3rem;
    color: #fff;
}

.page-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item {
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .9);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, .75);
}

.page-hero .breadcrumb a:hover {
    color: #fff;
}

/* ─── BREADCRUMB (Genel) ─────────────────────────────────── */
.breadcrumb-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--rd-border);
    background: var(--rd-light);
}

.breadcrumb-section .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
    font-size: .85rem;
}

/* ─── SECTION PADDING ────────────────────────────────────── */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 3.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 2.5rem 0;
    }
}

/* ─── BLOG ───────────────────────────────────────────────── */
.blog-card {
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: var(--rd-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-3px);
}

/* ─── Blog card image wrapper ─── */
.blog-card-img-wrap {
    display: block;
    height: 210px;
    overflow: hidden;
    background: var(--rd-light);
    position: relative;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rd-gray);
    background: linear-gradient(135deg, var(--rd-light) 0%, #e8ecf3 100%);
}

.blog-card-img-placeholder i {
    font-size: 2.5rem;
    opacity: .35;
    color: var(--rd-blue);
}

/* ─── Blog card body ─── */
.blog-card-body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--rd-gray);
    margin-bottom: .6rem;
}

.blog-card-meta i {
    color: var(--rd-red);
}

.blog-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: var(--rd-dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--rd-red);
}

.blog-card-excerpt {
    font-size: .88rem;
    color: var(--rd-gray);
    line-height: 1.65;
    margin-bottom: .85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
}

.blog-tag {
    display: inline-block;
    background: rgba(0, 61, 165, .08);
    color: var(--rd-blue);
    font-size: .73rem;
    font-weight: 600;
    padding: .2rem .65rem;
    border-radius: 50px;
    letter-spacing: .01em;
    transition: var(--transition);
    text-decoration: none;
}

.blog-tag:hover {
    background: var(--rd-red);
    color: #fff;
}

/* ─── Blog legacy classes ─── */
.blog-card .blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-card .blog-body {
    padding: 1.5rem;
}

.blog-date {
    font-size: .8rem;
    color: var(--rd-gray);
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    margin: .4rem 0 .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── BLOG DETAY ─────────────────────────────────────────── */
.page-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
    line-height: 1.2;
}

@media (max-width: 575.98px) {
    .page-hero-title {
        font-size: 1.55rem;
    }
}

.blog-detail-meta {
    font-size: .85rem;
    color: rgba(255, 255, 255, .75);
    margin-top: .5rem;
}

.blog-detail-meta i {
    color: rgba(255, 255, 255, .55);
}

.blog-detail-article {
    max-width: 100%;
}

.blog-detail-featured-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.blog-detail-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--rd-dark);
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
    margin-top: 2rem;
    margin-bottom: .75rem;
    font-weight: 700;
    color: var(--rd-dark);
}

.blog-detail-content p {
    margin-bottom: 1.2rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}

.blog-detail-content blockquote {
    border-left: 4px solid var(--rd-red);
    padding: .75rem 1.25rem;
    background: var(--rd-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--rd-gray);
}

.blog-detail-tags .blog-tag {
    margin-left: .25rem;
}

/* ─── Blog Navigasyon ─── */
.blog-nav-card {
    display: block;
    padding: 1.1rem 1.25rem;
    border: 1.5px solid var(--rd-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    background: var(--rd-white);
    height: 100%;
}

.blog-nav-card:hover {
    border-color: var(--rd-red);
    background: rgba(200, 16, 46, .03);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.blog-nav-label {
    font-size: .75rem;
    font-weight: 700;
    color: var(--rd-red);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .35rem;
}

.blog-nav-title {
    font-size: .92rem;
    font-weight: 600;
    color: var(--rd-dark);
    line-height: 1.4;
}

.blog-nav-card:hover .blog-nav-title {
    color: var(--rd-red);
}

/* ─── SIDEBAR ────────────────────────────────────────────── */
.sidebar-widget {
    background: var(--rd-white);
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rd-dark);
    margin-bottom: 1.1rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid var(--rd-red);
}

.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-post {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-post img {
    width: 68px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sidebar-post-placeholder {
    width: 68px;
    height: 52px;
    background: var(--rd-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--rd-gray);
    font-size: 1.2rem;
    opacity: .6;
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    font-size: .85rem;
    font-weight: 600;
    color: var(--rd-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.sidebar-post:hover .sidebar-post-title {
    color: var(--rd-red);
}

.sidebar-post-date {
    font-size: .75rem;
    color: var(--rd-gray);
    margin-top: .25rem;
}

/* ─── Sidebar CTA ─── */
.sidebar-cta {
    background: linear-gradient(135deg, var(--rd-blue-dark) 0%, var(--rd-blue) 100%);
    border-color: transparent;
    color: rgba(255, 255, 255, .85);
}

.sidebar-cta-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .65rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid rgba(255, 255, 255, .2);
}

.sidebar-cta p {
    font-size: .88rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .8);
}

.sidebar-cta .btn-primary {
    background: var(--rd-red);
    border-color: var(--rd-red);
}

.sidebar-cta .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.sidebar-cta .btn-outline-primary:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
}

/* ─── FORM ELEMANLAR ─────────────────────────────────────── */
.form-control,
.form-select {
    border: 1.5px solid var(--rd-border);
    border-radius: var(--radius-sm);
    padding: .65rem .9rem;
    font-size: .9rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--rd-blue);
    box-shadow: 0 0 0 3px rgba(0, 61, 165, .12);
}

.form-label {
    font-weight: 600;
    font-size: .88rem;
    color: var(--rd-dark);
    margin-bottom: .35rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
    background: var(--rd-dark);
    color: rgba(255, 255, 255, .8);
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--rd-red);
    display: inline-block;
    font-size: .95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--rd-red-light);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: .75rem;
    margin-bottom: .8rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--rd-red-light);
    margin-top: .25rem;
    width: 14px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, .75);
}

.footer-contact a:hover {
    color: var(--rd-red-light);
}

.footer-brand {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
}

.footer-desc {
    font-size: .88rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
}

.footer-logo {
    max-height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    border-radius: 50%;
    font-size: .85rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-btn:hover {
    background: var(--rd-red);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .2);
    font-size: .83rem;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
}

.footer-bottom-link:hover {
    color: var(--rd-red-light);
}

/* ─── WHATSAPP BUTONU ────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    z-index: 9000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}

/* ─── YARDIMCI SINIFLAR ──────────────────────────────────── */
.bg-light-rd {
    background: var(--rd-light);
}

.text-red {
    color: var(--rd-red);
}

.text-blue {
    color: var(--rd-blue);
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--rd-red);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.divider-left {
    margin: 0 0 1.5rem;
}

/* ─── SAYFALAMA ──────────────────────────────────────────── */
.pagination .page-link {
    color: var(--rd-blue);
    border: 1.5px solid var(--rd-border);
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    font-weight: 600;
    font-size: .88rem;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--rd-red);
    border-color: var(--rd-red);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--rd-red);
    border-color: var(--rd-red);
}

/* ─── YÜKLENİYOR ─────────────────────────────────────────── */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    color: var(--rd-red);
}

/* ─── ANİMASYONLAR ───────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp .6s ease both;
}

.delay-1 {
    animation-delay: .1s;
}

.delay-2 {
    animation-delay: .2s;
}

.delay-3 {
    animation-delay: .3s;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    #mainNav {
        padding: .5rem 0;
    }

    .navbar-collapse {
        background: var(--rd-white);
        border-radius: var(--radius-md);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        margin-top: .5rem;
    }

    .quote-form-card {
        position: static;
    }

    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 85vw;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 2.5rem 0;
    }
}

/* ============================================================
   MODERN BLOG TASARIMI - Yeni Stiller
   ============================================================ */

/* ─── Blog Hero Section ─────────────────────────────────── */
.blog-hero-section {
    background: linear-gradient(135deg, var(--rd-dark) 0%, #1a2d4f 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200, 16, 46, .15) 0%, transparent 65%);
}

.blog-hero-section .breadcrumb-item a,
.blog-hero-section .breadcrumb-item.active,
.blog-hero-section .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .6);
    font-size: .82rem;
}

.blog-hero-section .breadcrumb-item a:hover {
    color: #fff;
}

.blog-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: .5rem 0 .75rem;
    line-height: 1.2;
    position: relative;
}

.blog-hero-subtitle {
    color: rgba(255, 255, 255, .72);
    font-size: .97rem;
    margin: 0;
    position: relative;
}

.blog-hero-stats {
    display: flex;
    gap: 2rem;
}

.blog-stat-item {
    text-align: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    min-width: 90px;
}

.blog-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.blog-stat-label {
    font-size: .75rem;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: .25rem;
    display: block;
}

/* Blog detail hero meta */
.blog-detail-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem .75rem;
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    margin-top: .5rem;
    position: relative;
}

.blog-hero-tag {
    display: inline-block;
    background: rgba(200, 16, 46, .3);
    color: rgba(255, 255, 255, .9);
    border: 1px solid rgba(200, 16, 46, .5);
    border-radius: 20px;
    padding: .15rem .7rem;
    font-size: .75rem;
    text-decoration: none;
    transition: var(--transition);
}

.blog-hero-tag:hover {
    background: var(--rd-red);
    color: #fff;
}

/* ─── Blog Ana Section ───────────────────────────────────── */
.blog-main-section {
    background: var(--rd-light);
}

/* ─── Filtre / Arama Barı ────────────────────────────────── */
.blog-filter-bar {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--rd-border);
}

.blog-search-wrap {
    position: relative;
    min-width: 200px;
}

.blog-search-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rd-gray);
    font-size: .85rem;
}

.blog-search-input {
    width: 100%;
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-sm);
    padding: .55rem 1rem .55rem 2.2rem;
    font-size: .9rem;
    color: var(--rd-dark);
    background: var(--rd-light);
    transition: var(--transition);
    outline: none;
}

.blog-search-input:focus {
    border-color: var(--rd-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .08);
}

.blog-search-btn {
    padding: .55rem 1.25rem;
    font-size: .88rem;
    border-radius: var(--radius-sm) !important;
    white-space: nowrap;
}

.blog-filter-info {
    font-size: .88rem;
    color: var(--rd-gray);
    background: #fff;
    border-radius: var(--radius-sm);
    padding: .6rem 1rem;
    border: 1px solid var(--rd-border);
}

/* ─── Boş Durum ─────────────────────────────────────────── */
.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.blog-empty-icon {
    font-size: 4rem;
    color: var(--rd-border);
    margin-bottom: 1.5rem;
}

/* ─── Featured Card ─────────────────────────────────────── */
.blog-featured-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--rd-border);
    transition: var(--transition);
}

.blog-featured-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.blog-featured-img-wrap {
    display: block;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--rd-light);
}

.blog-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
    min-height: 220px;
}

.blog-featured-card:hover .blog-featured-img-wrap img {
    transform: scale(1.05);
}

.blog-featured-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--rd-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.blog-featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e8ef 100%);
    color: var(--rd-gray);
}

.blog-featured-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .75rem;
}

.blog-featured-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.blog-featured-title a {
    color: var(--rd-dark);
    text-decoration: none;
    transition: color .2s;
}

.blog-featured-title a:hover {
    color: var(--rd-red);
}

.blog-featured-excerpt {
    font-size: .9rem;
    color: var(--rd-gray);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Blog Sidebar ──────────────────────────────────────── */
.blog-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--rd-border);
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: .92rem;
    font-weight: 700;
    color: var(--rd-dark);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.1rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid var(--rd-red);
    display: flex;
    align-items: center;
}

.sidebar-title i {
    color: var(--rd-red);
}

/* Sidebar Search */
.sidebar-search-wrap {
    display: flex;
    border: 1px solid var(--rd-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.sidebar-search-input {
    flex: 1;
    border: none;
    padding: .6rem .9rem;
    font-size: .88rem;
    outline: none;
    color: var(--rd-dark);
    min-width: 0;
}

.sidebar-search-btn {
    border: none;
    background: var(--rd-red);
    color: #fff;
    padding: .6rem 1rem;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.sidebar-search-btn:hover {
    background: var(--rd-red-dark);
}

/* En Çok Okunanlar */
.sidebar-most-read {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.sidebar-most-read-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    text-decoration: none;
    padding: .6rem;
    border-radius: var(--radius-sm);
    transition: background .2s;
}

.sidebar-most-read-item:hover {
    background: var(--rd-light);
}

.sidebar-mr-rank {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--rd-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
    margin-top: 2px;
}

.sidebar-mr-info {
    flex: 1;
    min-width: 0;
}

.sidebar-mr-title {
    font-size: .87rem;
    font-weight: 600;
    color: var(--rd-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.sidebar-most-read-item:hover .sidebar-mr-title {
    color: var(--rd-red);
}

.sidebar-mr-views {
    font-size: .76rem;
    color: var(--rd-gray);
    margin-top: .2rem;
}

/* Teklif CTA */
.sidebar-cta-box {
    background: linear-gradient(135deg, var(--rd-red) 0%, var(--rd-red-dark) 100%) !important;
    color: #fff;
    text-align: center;
    border: none !important;
}

.sidebar-cta-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    opacity: .9;
}

.sidebar-cta-box h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .5rem;
    color: #fff;
}

.sidebar-cta-box p {
    font-size: .85rem;
    opacity: .88;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .9);
}

.sidebar-cta-box .btn-outline-light {
    border-color: rgba(255, 255, 255, .4);
    color: rgba(255, 255, 255, .9);
}

.sidebar-cta-box .btn-outline-light:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
}

/* Telefon CTA */
.sidebar-phone-box {
    background: linear-gradient(135deg, var(--rd-dark) 0%, #1a2d4f 100%) !important;
    color: #fff;
    text-align: center;
    border: none !important;
}

.sidebar-phone-icon {
    font-size: 1.8rem;
    margin-bottom: .5rem;
    color: var(--rd-red);
}

.sidebar-phone-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .6);
    margin-bottom: .4rem;
}

.sidebar-phone-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: .02em;
    transition: color .2s;
    line-height: 1.8;
}

.sidebar-phone-num:hover {
    color: var(--rd-red-light);
}

.sidebar-phone-hours {
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
    margin-top: .5rem;
}

/* ─── Blog Paylaşım Butonları ────────────────────────────── */
.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: .88rem;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
}

.blog-share-btn:hover {
    transform: translateY(-2px);
    opacity: .85;
}

.blog-share-li {
    background: #0a66c2;
    color: #fff;
}

.blog-share-tw {
    background: #1da1f2;
    color: #fff;
}

.blog-share-fb {
    background: #1877f2;
    color: #fff;
}

.blog-share-wa {
    background: #25d366;
    color: #fff;
}

/* ─── Blog Navigasyon (önceki/sonraki) ───────────────────── */
.blog-nav-section {
    margin-top: 3rem;
}

/* ─── Sayfalama ─────────────────────────────────────────── */
.blog-pagination .page-link {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--rd-border);
    color: var(--rd-dark);
    padding: .5rem .85rem;
    font-size: .88rem;
    transition: var(--transition);
}

.blog-pagination .page-link:hover,
.blog-pagination .page-item.active .page-link {
    background: var(--rd-red);
    border-color: var(--rd-red);
    color: #fff;
}

/* ─── Blog Detay Cover ──────────────────────────────────── */
.blog-detail-cover {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
    }

    .blog-featured-img-wrap {
        min-height: 200px;
    }
}

@media (max-width: 767.98px) {
    .blog-hero-section {
        padding: 2.5rem 0 2rem;
    }

    .blog-featured-body {
        padding: 1.25rem;
    }

    .blog-filter-bar {
        flex-direction: column;
    }
}