/* Temel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }

/* Header */
.main-header { background: #fff; height: 80px; line-height: 80px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.logo a { font-size: 24px; font-weight: bold; text-decoration: none; color: #333; }
.logo span { color: #007bff; }

/* Menü */
.nav-menu { display: flex; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu a { padding: 0 20px; text-decoration: none; color: #333; font-weight: 500; display: block; transition: 0.3s; }
.nav-menu a:hover { color: #007bff; }

/* Açılır Menü (Dropdown) */
.dropdown-menu { position: absolute; top: 80px; left: 0; background: #fff; width: 200px; box-shadow: 0 8px 15px rgba(0,0,0,0.1); display: none; list-style: none; line-height: 45px; border-top: 3px solid #007bff; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { border-bottom: 1px solid #f4f4f4; }

/* Slider Tasarımı */
.slider-container { width: 100%; height: 500px; overflow: hidden; position: relative; }
.slide { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide.active { opacity: 1; }
.slide-content { color: white; background: rgba(0,0,0,0.4); padding: 40px; border-radius: 10px; }
.btn-main { display: inline-block; padding: 12px 30px; background: #007bff; color: #fff; text-decoration: none; border-radius: 5px; margin-top: 20px; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .nav-menu { display: none; } /* Mobil menü JS ile tetiklenecek */
    .slider-container { height: 350px; }
}

/* Başlık Altındaki Çizgi */
.title-line {
    width: 60px;
    height: 3px;
    background-color: #0d6efd; /* Bootstrap Primary Mavi */
    margin-top: 15px;
}

/* Kart Görselleri */
.custom-img {
    height: 200px;
    object-fit: cover;
}

/* Kart Hover Efekti */
.custom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Küçük Ekran Ayarları (Mobilde metinleri biraz küçültelim ki 2'li sığsın) */
@media (max-width: 576px) {
    .card-title {
        font-size: 0.95rem;
    }
    .card-body {
        padding: 15px !important;
    }
    .card-text {
        font-size: 0.8rem;
    }
}

/* Başlık altındaki çizgi sola dayalı */
.title-line-left {
    width: 50px;
    height: 3px;
    background-color: #0d6efd;
    margin-bottom: 20px;
}

/* Kart görselleri boyutu */
.custom-img {
    height: 150px;
    object-fit: cover;
}

/* Mobilde yazıların çok büyük kalmaması için */
.extra-small {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Kart hover */
.custom-card {
    transition: 0.3s;
    border-radius: 8px;
    overflow: hidden;
}
.custom-card:hover {
    transform: translateY(-5px);
}

/* Mobil için özel ayar: row-cols-2 Bootstrap'te bazen 576px altında tekliye düşer. 
Bunu garantiye almak için: */
@media (max-width: 576px) {
    .services-section .col {
        width: 50% !important; /* Mobilde her kart genişliği %50 */
    }
    .display-6 {
        font-size: 1.8rem;
    }
}
/* Footer Genel Tasarımı */
.main-footer {
    background-color: #1a1a1a; /* Koyu Gri / Siyah */
    color: #ffffff;
}

.main-footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

/* Başlıkların altındaki küçük çizgi */
.main-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #0d6efd;
}

/* Footer Resimli Liste Öğeleri */
.footer-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid #333;
    transition: 0.3s;
}

.footer-item:hover img {
    border-color: #0d6efd;
}

.footer-item a:hover {
    color: #0d6efd !important;
}

/* Sosyal Medya İkonları */
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #333;
    text-align: center;
    line-height: 35px;
    border-radius: 5px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #0d6efd;
    color: #fff !important;
}

/* Copyright Alanı */
.main-footer hr {
    opacity: 0.1;
}
/* Footer Metin Renkleri */
.main-footer {
    background-color: #111; /* Biraz daha derin bir siyah */
    color: #ffffff;
}

/* Hakkımızda ve diğer alt metinler */
.main-footer p, 
.main-footer .text-muted {
    color: #bbbbbb !important; /* Okunabilir açık gri */
}

/* Linklerin beyaz görünmesi ve hover durumu */
.footer-item a {
    color: #ffffff !important;
    transition: 0.3s;
}

.footer-item a:hover {
    color: #0d6efd !important;
}

/* İletişim ikonlarının yanındaki metinler */
.main-footer ul li {
    color: #eeeeee !important;
}

/* Copyright Alanı Tasarımı */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

/* Alt Bar Sabitleme (Mobil Öncelikli) */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 5px;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    overflow: hidden; /* Sinyal çizgileri için */
}

.btn-whatsapp-fixed { background-color: #25d366; }
.btn-call-fixed { background-color: #007bff; }

.btn-action i {
    margin-right: 8px;
    font-size: 18px;
}

/* Sinyal (Dalga) Efekti - İnce Çizgiler */
.signal-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.signal-waves::before, .signal-waves::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(1);
    animation: signal-pulse 2s infinite;
    opacity: 0;
}

.signal-waves::after {
    animation-delay: 1s;
}

@keyframes signal-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1, 1.3);
        opacity: 0;
    }
}

/* Masaüstü Görünümü Ayarı (İstersen masaüstünde gizle veya normal yap) */
@media (min-width: 992px) {
    .fixed-contact-bar {
        position: relative; /* Masaüstünde sayfanın akışına döner */
        margin-top: 50px;
        box-shadow: none;
    }
    .btn-action {
        border-radius: 10px;
        margin: 10px;
    }
}
/* MEGA MENU ÖZEL */
.dropdown-mega { position: static !important; }
.mega-menu-content {
    position: absolute; top: 80px; left: 0; width: 100%;
    background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none; z-index: 1000; border-top: 3px solid #007bff;
}
.dropdown-mega:hover .mega-menu-content { display: block; }
.mega-item { transition: 0.3s; padding: 10px; }
.mega-item:hover { transform: translateY(-5px); }
.mega-item a { font-size: 13px !important; color: #333 !important; }

/* MOBİL MENÜ AKTİF HALİ */
@media (max-width: 768px) {
    .nav-menu.active { 
        display: flex !important; 
        flex-direction: column; 
        position: absolute; 
        top: 80px; left: 0; width: 100%; 
        background: #fff; padding: 20px; 
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .mega-menu-content { position: relative; top: 0; display: block; box-shadow: none; }
}

/* SİNYAL EFEKTİ GÜNCELLEME */
.btn-action::before, .btn-action::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.8); /* İstediğin ince çizgi */
    pointer-events: none;
    animation: signal-pulse 2s infinite;
}
.btn-action::after { animation-delay: 1s; }

@keyframes signal-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.1, 1.4); opacity: 0; }
}

