/* ========== ROOT DEĞİŞKENLER ========== */
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --dark: #1a1a2e;
    --light-bg: #f8f9fa;
}

/* ========== GENEL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
}

/* ========== HEADER ========== */
.header-top {
    background: #1a1a2e;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.header-top a {
    color: #fff;
    text-decoration: none;
}
.header-top .contact-info i {
    margin-right: 5px;
    color: var(--primary);
}

.main-header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* Logo Görseli */
.logo-img {
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Logo Metin (eğer resim yoksa) */
.logo span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}
.logo small {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary);
}

/* Menü */
.main-header .nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s;
}
.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--primary) !important;
}

/* ========== SLIDER ========== */
.hero-section {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.hero-section .carousel {
    overflow: hidden; /* Taşan kısımları gizle */
}

.hero-section .carousel-inner {
    height: 500px; /* Sabit yükseklik */
}

.hero-section .carousel-item {
    height: 500px; /* Tüm slaytlar aynı yükseklikte */
    overflow: hidden;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%; /* %100 yap, artık sabit */
    object-fit: cover;
}
/* Header ile Slider arasındaki boşluğu kaldır */
header + .hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Slider ile Hizmetler arasındaki boşluğu azalt */
.hero-section + .services-section {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Slider Caption */
.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 10px;
    bottom: 80px;
}
.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
}
.carousel-caption p {
    font-size: 1.1rem;
}

/* ========== HİZMET KARTLARI (Arka Plan Resimli) ========== */
.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
    padding: 0;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-overlay {
    background: rgba(0, 0, 0, 0.65);
    padding: 35px 25px;
    color: #fff;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background 0.3s;
}
.service-card:hover .service-overlay {
    background: rgba(0, 0, 0, 0.75);
}

.service-overlay .service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
    transition: 0.3s;
}
.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.service-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}
.service-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.service-overlay .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}
.service-overlay .btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ========== HİZMET DETAY ========== */
.service-detail .content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}
.sidebar-card {
    border: 1px solid #e9ecef;
}
.sidebar-card ul li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-card ul li:last-child {
    border-bottom: none;
}
.sidebar-card ul li a {
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
.sidebar-card ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* ========== İSTATİSTİKLER ========== */
.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.stat-item p {
    font-weight: 500;
    color: #555;
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 30px;
}
.footer h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.footer a:hover {
    color: #fff;
}
.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
}
.footer .social-links a:hover {
    background: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* ========== MOBİL UYUM ========== */
@media (max-width: 768px) {
    .logo-img {
        max-height: 80px;
    }
    .hero-section .carousel-item img {
        height: 300px;
    }
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .service-card {
        min-height: 220px;
    }
    .service-overlay {
        min-height: 220px;
        padding: 20px;
    }
    .service-overlay h3 {
        font-size: 1.1rem;
    }
    .stat-item .stat-number {
        font-size: 2rem;
    }
}