/*
* Proje: Hyster Benzeri Web Sitesi
* Açıklama: Bootstrap 5 üzerine kurulmuş özel stil dosyası.
* Son Güncelleme: 4 Ekim 2025
*/

/* --- GOOGLE FONTLARI --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;700&display=swap');

/* --- GENEL AYARLAR --- */
body {
    font-family: 'Roboto', sans-serif;
}

/* --- HEADER (TOP BAR & NAVBAR) --- */
#top-bar {
    background-color: #000;
    padding: 0.4rem 0;
    transition: margin-top 0.4s ease-in-out;
}

#top-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 1.5rem;
    letter-spacing: 0.5px;
}

/* Navbar'ın başlangıçtaki gradient hali */
#main-navbar {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    background-color: transparent;
    transition: background 0.4s ease-in-out, padding 0.4s ease-in-out;
}

#main-navbar .nav-link, 
#main-navbar .navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

#teklif-al-menu .btn {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

/* --- AÇILIR MENÜ (DROPDOWN) --- */
.dropdown-menu {
    background-color: #ffffff; /* Beyaz arkaplan */
    border: none; /* Kenarlık yok */
    border-radius: 0; /* Köşeleri keskin */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Hafif gölge */
    padding: 0.5rem 0;
}

.dropdown-item {
    color: #212529; /* Koyu metin rengi */
    padding: 0.75rem 1.5rem; /* İç boşluklar */
    font-family: 'Roboto', sans-serif; /* Normal font */
    font-weight: 500;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: #f8f9fa; /* Üzerine gelince hafif gri arkaplan */
    color: #000;
}


/* --- SCROLL SONRASI STİLLER --- */

/* Header scroll olduğunda top-bar'ı yukarı kaydırarak gizle */
header.header-scrolled #top-bar {
    margin-top: -50px; /* Top bar'ın yüksekliğine göre ayarlayın */
}

/* Header scroll olduğunda navbar'ı tamamen siyah yap */
header.header-scrolled #main-navbar {
    background-image: none;
    background-color: #000;
}

/* Teklif al butonunu scroll sonrası gizle */
header.header-scrolled #teklif-al-menu {
    opacity: 0;
    visibility: hidden;
}


/* --- HERO BÖLÜMÜ (VİDEOLU ALAN) --- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5); /* Video üzerine hafif siyah bir katman */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-overlay h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 500;
}

/* --- HAKKIMIZDA BÖLÜMÜ --- */
#about-us {
    background-color: #fff;
    padding: 80px 0; /* Bölüm içi üst ve alt boşluk */
}

.about-content .small-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about-content .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: #212529;
}

.about-content .title-divider {
    width: 60px;
    height: 3px;
    background-color: #d9534f; /* Kırmızımsı bir renk, isterseniz değiştirebilirsiniz */
    margin-bottom: 1.5rem;
}

.about-content p {
    line-height: 1.8;
    color: #555;
}

 .cta-link {
    display: inline-block;
    margin-top: 1rem;
    color: #212529;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s;
}

 .cta-link:hover {
    color: #d9534f;
}

 .cta-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

 .cta-link:hover i {
    transform: translateX(5px);
}

/* --- ÜRÜNLER BÖLÜMÜ (CAROUSEL) --- */
#products {
    padding: 80px 0;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: #212529;
}

.product-card {
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card img {
    max-height: 250px;
    object-fit: cover;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-card .card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
}

.product-card .card-text i {
    margin-right: 8px;
}

/* Owl Carousel Navigasyon Butonları Stili */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 45px;
    height: 45px;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #000 !important;
    font-size: 22px !important;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: #ffc107 !important;
}

.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 40%;
    left: -25px;
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 40%;
    right: -25px;
}

/* Owl Carousel Noktaları */
.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ffc107;
}

/* --- SERVİS ÇAĞRI BÖLÜMÜ --- */
#service-cta {
    background-image: url('../img/darkbg.webp'); /* CSS dosyasından bir üst dizindeki img klasörüne gider */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0;
    color: #ffffff; /* Bölümdeki tüm metinler beyaz olacak */
}

.service-content .top-heading {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.service-content .main-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem; /* Büyük ve dikkat çekici */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* "İŞİNİZ" kelimesini sarı yapmak için Bootstrap'in .text-warning class'ını kullanıyoruz */

.service-content .sub-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.service-content .bottom-text {
    color: #ddd;
    font-size: 0.9rem;
}

.service-button {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    letter-spacing: 1px;
    border-radius: 4px;
    color: #212529; /* Buton metni koyu renk */
}
/* --- KAMPANYA BÖLÜMÜ --- */
#campaign {
    position: relative; /* Overlay için gerekli */
    padding: 320px 0;
    background-image: url('../img/kabin.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Bu satır basit ve etkili bir PARALAKS efekti oluşturur */
    background-attachment: fixed; 
    
    color: #ffffff; /* Bu bölümdeki genel metin rengi */
}

/* Arkaplan resminin üzerine metin okunurluğunu artırmak için siyah bir katman ekliyoruz */
#campaign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1; /* İçeriğin arkasında kalacak */
}

/* Container'ı ve içeriği overlay'in üzerine çıkarmak için */
#campaign .container {
    position: relative;
    z-index: 2;
}

.campaign-content .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
}

/* Title divider'ı burada da kullanıyoruz */
.campaign-content .title-divider {
    width: 60px;
    height: 3px;
    background-color: #d9534f;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.campaign-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 450px; /* Metnin çok fazla yayılmasını engeller */
}

.campaign-content .btn {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
    letter-spacing: 1px;
}

/* --- ÖNE ÇIKAN HABER BÖLÜMÜ --- */
#featured-news {
    background-color: #ffffff;
    padding: 80px 0;
}

#featured-news .news-content p {
    line-height: 1.8;
    color: #555;
}

.image-caption {
    font-size: 0.8rem;
    color: #6c757d; /* Bootstrap'in muted text rengi */
    margin-top: 1rem;
    text-align: center;
}

/* --- ÖNE ÇIKAN ÜRÜN BÖLÜMÜ --- */
#featured-product {
    position: relative; /* Gradyan katmanı için gerekli */
    padding: 240px 0;
    background-image: url('../img/ellec.webp');
    background-size: cover;
    background-position: center center;
    color: #ffffff;
}

/* Sağdan sola doğru şeffaflaşan gradyan katmanı */
#featured-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sağdan başla (siyah), sola doğru şeffaflaş */
    background: linear-gradient(to left, 
        rgba(0, 0, 0, 0.9) 20%,  /* Sağ taraf daha koyu */
        rgba(0, 0, 0, 0.7) 50%,  /* Orta kısımlar */
        rgba(0, 0, 0, 0) 80%   /* Sol taraf tamamen şeffaf */
    );
    z-index: 1;
}

/* Container'ı ve içeriği katmanın üzerine çıkarmak için */
#featured-product .container {
    position: relative;
    z-index: 2;
}

.product-content .top-heading {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: #ddd;
}

.product-content .main-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.product-content p {
    line-height: 1.7;
    color: #f0f0f0;
}

.product-content .btn {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
    letter-spacing: 1px;
}

/* --- TÜM ÜRÜNLER BÖLÜMÜ (CTA) --- */
#all-products-cta {
    background-image: url('../img/darkbg.webp');
    background-size: cover;
    background-position: center center;
    padding: 100px 0;
    color: #ffffff;
}

#all-products-cta .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 1px;
}

/* Kırmızı çizgiyi ortalamak için HTML'de mx-auto kullandık, burada da dikey boşluklarını ayarlayalım */
#all-products-cta .title-divider {
    width: 60px;
    height: 3px;
    background-color: #d9534f;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#all-products-cta .lead {
    color: #e0e0e0;
    max-width: 600px; /* Metnin çok geniş olmasını engeller */
    margin-left: auto;
    margin-right: auto;
}

#all-products-cta .btn {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.8rem 2.5rem;
    letter-spacing: 1px;
}

/* --- FOOTER BÖLÜMÜ --- */
#site-footer {
    background-color: #000000;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-logo {max-height: 80px;}
.footer-top-area {
    padding: 60px 0;
}

#site-footer h5 {
    color: #ffc107; /* Sarı */
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-divider {
    border-top: 1px solid #333;
}

.footer-sub-links {
    padding: 1rem 0;
    text-align: center;
}

.footer-sub-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-sub-links a:hover {
    color: #fff;
}

/* Linkler arasına ayraç ekleme (küçük ekranlarda gizle) */
@media (min-width: 768px) {
    .footer-sub-links a:not(:last-child)::after {
        content: '|';
        margin-left: 20px;
        color: #555;
    }
}

.footer-bottom {
    padding: 2rem 0;
}

.copyright-text {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
}

.social-icons a {
    color: #a0a0a0;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffc107; /* Sarı */
}

/* --- İÇ SAYFA BANNER STİLLERİ --- */
#page-header {
    position: relative;
    padding: 180px 0 100px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* Metin okunurluğu için overlay katmanı */
#page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.2) 100%
    );
}

#page-header .container {
    position: relative; /* Overlay'in üzerinde kalması için */
    z-index: 2;
}

#page-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- ÜRÜN SAYFASI AKSİYON KUTULARI --- */
#product-actions .action-card {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 1rem; /* Kartın kendi iç boşluğu */
}

#product-actions .action-card .card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #212529;
    letter-spacing: 1px;
}

#product-actions .action-card .title-divider {
    width: 40px;
    height: 3px;
    background-color: #d9534f;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

#product-actions .action-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

#product-actions .action-card .btn {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
}

/* Sektörler listesi için stiller */
.sector-list ul {
    list-style-type: none;
    padding-left: 0;
    font-size: 0.9rem;
    color: #555;
}

.sector-list ul li {
    margin-bottom: 0.5rem;
}

/* Doküman indirme listesi için stiller */
.downloads-list {
    margin-top: -0.5rem; /* Başlık altındaki boşluğu ayarlar */
}

.downloads-list li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.downloads-list li a:hover {
    color: #d9534f;
}

/* --- ÜRÜN DETAY DİKEY SEKMELER (VERTICAL TABS) --- */
#product-tabs .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
}

/* Sekme başlıklarının genel stili */
#product-tabs .nav-pills .nav-link {
    border-radius: 0;
    color: #555;
    font-weight: bold;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

/* Aktif olan sekme başlığının stili */
#product-tabs .nav-pills .nav-link.active, 
#product-tabs .nav-pills .show > .nav-link {
    color: #212529;
    background-color: transparent; /* Arkaplan rengi istemiyoruz */
    border-right: 3px solid #d9534f; /* Sağ tarafına kırmızı çizgi ekliyoruz */
}

/* Sekme içeriklerinin genel stili */
#product-tabs .tab-content {
    border-left: 1px solid #eee;
    padding-left: 2rem;
    min-height: 250px; /* İçerik az olsa bile düzgün görünmesi için */
}

#product-tabs .tab-pane p:first-child {
    margin-top: 0;
}

/* --- SAYFA İÇERİK STİLLERİ (page.php) --- */
#page-content .content-wrapper {
    line-height: 1.8;
    color: #555;
}

#page-content .content-wrapper h2,
#page-content .content-wrapper h3,
#page-content .content-wrapper h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#page-content .content-wrapper a {
    color: #d9534f;
    text-decoration: none;
    font-weight: bold;
}

#page-content .content-wrapper a:hover {
    text-decoration: underline;
}

#page-content .content-wrapper ul,
#page-content .content-wrapper ol {
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

/* --- TEKİL HİZMET SAYFASI STİLLERİ (single-hizmet.php) --- */

/* Sidebar Genel Stili */
.sidebar .widget-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #212529;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #d9534f;
}

/* Diğer Hizmetler Menüsü */
.sidebar .service-menu li a {
    display: block;
    color: #555;
    text-decoration: none;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    transition: all 0.3s ease;
}
.sidebar .service-menu li a:hover,
.sidebar .service-menu li.active a {
    background-color: #ffc107;
    color: #212529;
    padding-left: 25px;
}

/* Sidebar İletişim Kutusu */
.sidebar .cta-box {
    background-color: #f8f9fa;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}
.sidebar .cta-box h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
}

/* --- Galeri Stilleri (Tekil Hizmet Sayfası) - GÜNCELLENMİŞ --- */

/* Galeri linki (görselin kapsayıcısı) için stil */
.gallery-section a {
    display: block;
    overflow: hidden; /* Resmin taşan kısımlarını gizler */
    aspect-ratio: 4 / 3; /* Kapsayıcı için 4:3 en-boy oranı belirler. (16/9 da kullanabilirsiniz) */
    background-color: #f0f0f0; /* Resim yüklenirken görünecek arkaplan rengi */
    border-radius: 4px; /* Kenarları hafif yuvarlatır */
}

/* Galeri içindeki görselin kendisi için stil */
.gallery-section a img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bu kural, görselin oranını bozmadan kapsayıcıyı doldurmasını sağlar */
    transition: transform 0.4s ease;
}

/* Fare ile üzerine gelince hafif zoom efekti */
.gallery-section a:hover img {
    transform: scale(1.05);
}

/* SSS Akordiyon Stilleri */
.faq-section .accordion-button {
    font-weight: bold;
    color: #212529;
}
.faq-section .accordion-button:not(.collapsed) {
    background-color: #ffc107;
    color: #212529;
}
.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
}
/* Genel Stil */
.service-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.service-pre-title {
    font-size: 14px;
    font-weight: bold;
    color: #6c757d; /* Gri tonu */
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.service-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #212529; /* Koyu renk başlık */
    margin-bottom: 15px;
}

/* Başlık Altı Kırmızı Çizgi */
.title-divider {
    width: 80px;
    height: 4px;
    background-color: #dc3545; /* Kırmızı tonu */
    border-radius: 2px;
    margin-bottom: 25px;
}

/* Özellik Kutuları (İkonlu Bölüm) */
.feature-box {
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.feature-icon {
    font-size: 48px;
    color: #dc3545; /* İkon rengi (Kırmızı) */
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Görsel Stilleri */
.img-fluid {
    max-width: 100%;
    height: auto;
}
.rounded {
    border-radius: .25rem!important;
}
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}