/* css/style.css */

/* ----- TEMEL RENK VE FONT AYARLARI ----- */
:root {
    --brand-yellow: #FDC100;
    /* Ana sarı */
    --brand-dark: #111111;
    /* Ana siyah */
    --brand-darker: #0a0a0a;
    /* Daha koyu zemin */
    --font-heading: 'Oswald', sans-serif;
    /* Başlık Fontu */
    --font-body: 'Roboto', sans-serif;
    /* Gövde Fontu */
}

body {
    background-color: var(--brand-dark);
    color: #f1f1f1;
    font-family: var(--font-body);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.text-shadow {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Başlık altı sarı çizgi */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-yellow);
    position: absolute;
    bottom: 0;
    left: 50%;
    /* Ortalamak için */
    transform: translateX(-50%);
}

/* Sola hizalı başlıklar için (Hakkımızda bölümü) */
.text-lg-start .section-title::after {
    left: 0;
    transform: none;
}


/* ----- HEADER VE NAVİGASYON ----- */
.main-nav {
    background-color: transparent;
    /* Başlangıçta şeffaf */
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 0.5rem 0;
}

.main-nav.scrolled {
    background-color: var(--brand-dark);
    padding: 0.2rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo-text {
    color: var(--brand-yellow) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--brand-yellow);
}

/* ----- 1. HERO BÖLÜMÜ (ANASAYFA) ----- */
.hero-section {
    min-height: 100vh;
    /* Tam ekran kaplama */
    /* Stok Görsel: Rot-Balans Cihazı (Sinematik) */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/güvenli sürüş mükemmel balans.jpeg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax efekti */
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--brand-yellow);
}

/* ----- 2. HİZMET ŞERİDİ ----- */
.service-strip-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--brand-yellow);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

/* ----- 3. HAKKIMIZDA ve 4. NEDEN BİZ? ----- */
.bg-darker {
    background-color: var(--brand-darker);
}

.info-card-v5 {
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card-v5:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--brand-yellow);
}

.info-icon {
    color: var(--brand-yellow);
}

.card-title-v5 {
    color: #fff;
    font-family: var(--font-heading);
}

/* ----- 5. HİZMET KARTLARI (Modern) ----- */
.service-card-v5 {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    /* Resmin kart köşelerine uyması için */
    background-color: #1a1a1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-v5:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(253, 193, 0, 0.2);
}

.service-card-v5 .card-img-top {
    height: 220px;
    object-fit: cover;
    filter: grayscale(30%);
    /* Hafif soluk */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.service-card-v5:hover .card-img-top {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.service-card-v5 .card-body {
    padding: 1.5rem;
}

/* ----- 6. CTA (CALL TO ACTION) ----- */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.pexels.com/photos/2244746/pexels-photo-2244746.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section h2 {
    color: var(--brand-yellow);
}

/* ----- DİĞER SAYFALAR İÇİN BAŞLIK (hizmetlerimiz.php vs.) ----- */
.page-title-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/8986161/pexels-photo-8986161.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
    padding-top: 170px;
    padding-bottom: 60px;
}

.page-title-section h1 {
    font-size: 3.5rem;
}


/* ----- FOOTER ----- */
.footer-dark {
    background-color: var(--brand-darker);
    border-top: 1px solid #222;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-dark .logo-text {
    font-size: 1.5rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--brand-yellow);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-text {
    color: #aaa;
}

.footer-divider {
    border-color: #333;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-yellow);
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-contact i {
    color: var(--brand-yellow);
    margin-top: 5px;
}

/* (Sosyal medya ikonları V3'teki gibi kalabilir) */
.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
}

/* ----- GENEL BUTON STİLLERİ (Modern) ----- */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    /* Tamamen oval */
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-width: 2px;
}

/* Sarı Dolgulu Ana Buton */
.btn-brand-yellow {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-dark);
}

.btn-brand-yellow:hover {
    background-color: #e0ac00;
    border-color: #e0ac00;
    color: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(253, 193, 0, 0.2);
}

/* Sarı Çerçeveli Buton (Header'daki) */
.btn-brand-yellow-outline {
    border-color: var(--brand-yellow);
    color: var(--brand-yellow);
}

.btn-brand-yellow-outline:hover {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    transform: translateY(-3px);
}

/* Diğer butonlar... */
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--brand-dark);
    transform: translateY(-3px);
}


/* ----- FADE-IN ANİMASYONU ----- */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ----- HAKKIMIZDA SAYFASI - EKİP KARTLARI ----- */
.team-card {
    background-color: #1a1a1a;
    /* info-card-v5 ile aynı */
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-card .card-img-top {
    height: 300px;
    /* Portre için daha uzun */
    object-fit: cover;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.team-card:hover .card-img-top {
    filter: grayscale(0%);
}

.team-card .card-body {
    padding: 1.5rem;
}

.team-name {
    color: var(--brand-yellow);
    font-size: 1.5rem;
}

.team-title {
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* ----- HİZMETLERİMİZ SAYFASI - DETAY KARTLARI ----- */
.service-card-detail {
    background-color: #1a1a1a;
    /* Koyu kart zemini */
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--brand-yellow);
    /* Vurgu */
}

.service-card-detail .card-img-top {
    height: 220px;
    /* Tüm resim alanlarını eşitler */
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.service-card-detail:hover .card-img-top {
    filter: grayscale(0%);
}

.service-card-detail .card-body {
    padding: 1.5rem;
}

/* ----- MOBİL MENÜ DÜZELTMESİ (Görselden) ----- */

/* Bootstrap'in 'lg' breakpoint'i (992px) altındaki ekranlar için */
@media (max-width: 991.98px) {

    /* Gezinti çubuğu (navbar) menüsü açıldığında */
    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing {
        background-color: var(--brand-darker);
        /* Koyu arkaplan */
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        border: 1px solid #333;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

        /* Mutlaka header'ın üzerinde kalması için */
        position: absolute;
        width: 90%;
        /* Ekranın %90'ını kapla */
        top: 60px;
        /* Header'dan biraz aşağıda */
        right: 5%;
        /* Sağdan ve soldan ortala */
        z-index: 1000;
    }

    .navbar-dark .navbar-nav .nav-link {
        /* Mobil menüde linklerin arasını aç */
        padding: 0.75rem 0;
    }

    /* Mobildeki "Hemen Ara" butonu */
    .navbar-nav .btn-brand-yellow-outline {
        width: 100%;
        /* Buton tam genişlik olsun */
        margin-top: 1rem;
        text-align: center;
    }
}

/* ----- İLETİŞİM SAYFASI - BİLGİ LİSTESİ ----- */
.contact-info-list {
    list-style: none;
    padding-left: 0;
}

.contact-info-list li {
    display: flex;
    /* İkon ve metni yanyana getir */
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info-list .icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
}

.contact-info-list .info-title {
    color: var(--brand-yellow);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-info-list .info-text p {
    margin-bottom: 0;
    color: #f1f1f1;
}

.contact-info-list .contact-link {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-list .contact-link:hover {
    color: var(--brand-yellow);
    text-decoration: underline;
}

/* ----- İLETİŞİM SAYFASI - HARİTA ----- */
.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    /* Köşeleri yuvarlatmak için */
    border: 3px solid #333;
}

.map-wrapper iframe {
    display: block;
    /* Altındaki gereksiz boşluğu kaldırır */
    filter: invert(90%) grayscale(80%);
    /* Modern Koyu Tema için Harita Stili */
}

/* ----- SABİT (FLOATING) WHATSAPP VE ARAMA BUTONLARI ----- */
.floating-buttons {
    position: fixed;
    /* Ekrana sabitler */
    bottom: 20px;
    /* Alttan 20px boşluk */
    left: 20px;
    /* Soldan 20px boşluk */
    z-index: 999;
    /* Diğer her şeyin üzerinde kalmasını sağlar */
    display: flex;
    flex-direction: column;
    /* İkonları dikeyde sıralar */
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    /* Tam yuvarlak */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* İkon boyutu */
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    /* Butonlar arası boşluk */
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    /* Hafif yukarı kalkma ve büyüme efekti */
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* WhatsApp Rengi (Yeşil) */
.float-btn.btn-whatsapp {
    background-color: #25D366;
}

/* Arama Rengi (Marka Sarısı) */
.float-btn.btn-call {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    /* Sarı zemine koyu ikon */
}


/* ----- YENİ BÖLÜM: SAYAÇ (COUNTER) ----- */
.counter-box {
    padding: 1rem;
}
.counter-box h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-yellow); /* Sayılar sarı */
    margin-bottom: 0.5rem;
}
.counter-box h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #aaa; /* Başlıklar gri */
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* ----- YENİ BÖLÜM: MÜŞTERİ YORUMLARI ----- */
.testimonial-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.testimonial-card i {
    margin-bottom: 1.5rem;
}
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #f1f1f1;
    flex-grow: 1; /* Kart boyutu eşitse bile metnin büyümesini sağlar */
    margin-bottom: 1.5rem;
}
.testimonial-author h5 {
    color: var(--brand-yellow);
    margin-bottom: 0.25rem;
}
.testimonial-author small {
    color: #aaa;
    font-weight: 500;
}

/* ----- YENİ BÖLÜM: SSS (BOOTSTRAP ACCORDION ÖZELLEŞTİRME) ----- */
.accordion-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden; /* Köşelerin düzgün görünmesi için */
}

.accordion-button {
    background-color: #1a1a1a;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.accordion-button:not(.collapsed) {
    background-color: #222;
    color: var(--brand-yellow);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    color: #ccc;
    background-color: #1a1a1a;
}

/* Akordeon ikonu (sağdaki V işareti) */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fdc100'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fdc100'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}