/* ===================================================================
   TAŞDEMİR SAFETY - FİNAL PROJE CSS DOSYASI (v15.0 - Koyu Açılır Menü)
   =================================================================== */

/* 1. GENEL ve TEMEL AYARLAR */
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #ffffff; 
    font-weight: 400; 
    color: var(--text-dark);
}
:root {
    --primary-color: #8b3a3a;  /* Ana Kırmızı */
    --dark-bg: #212529;         /* Koyu Arkaplan (biraz daha yumuşak siyahtan) */
    --light-bg: #f8f9fa;        /* Açık Gri Zemin */
    --text-dark: #212529;      /* Ana Metin */
    --text-light: #6c757d;     /* İkincil Metin */
    --border-color: #e0e0e0;   
    --heading-font: 'Merriweather', serif; /* Başlık Fontu */
}
h1, h2, h3, h4, h5, h6 { 
    font-family: var(--heading-font); 
    font-weight: 700; 
    color: var(--text-dark); 
}
p { 
    color: var(--text-light); 
    line-height: 1.8; 
}
section { 
    padding: 100px 0; 
    overflow-x: hidden; 
}
a { 
    text-decoration: none; 
    color: var(--text-dark); 
    transition: all 0.3s ease; 
}
a:hover { 
    color: var(--primary-color); 
}
.bg-light {
    background-color: #f8f9fa !important;
}
.inner-page-body-padding { 
    padding-top: 85px; 
}

/* 2. NAVİGASYON MENÜSÜ */
.navbar { 
    transition: all 0.4s ease; 
    padding: 20px 0; 
}
.navbar-brand { 
    font-size: 1.5rem; 
}
.navbar .nav-link { 
    font-weight: 500; 
    position: relative; 
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 8px; 
}
/* Ana sayfa başlangıç menü stilleri (şeffaf) */
.navbar.navbar-dark .nav-link { color: rgba(255,255,255,0.8); }
.navbar.navbar-dark .nav-link:hover, 
.navbar.navbar-dark .nav-link.active { color: white; }

/* Kaydırılınca veya iç sayfalarda menü stilleri (beyaz) */
.navbar.scrolled { 
    background-color: rgba(255, 255, 255, 0.98) !important; 
    backdrop-filter: blur(10px); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
    padding: 10px 0; 
}
.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .nav-link:hover, 
.navbar.scrolled .nav-link.active { color: var(--primary-color); }
.site-logo { height: 50px; width: auto; }


/* 3. AÇILIR MENÜ (DROPDOWN) STİLLERİ */
.navbar .dropdown-toggle[aria-expanded="true"] {
    color: var(--primary-color); /* Açık menü başlığı kırmızı olur */
}
.dropdown-menu {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 10px 0;
    margin-top: 15px !important;
}
.dropdown-item {
    padding: 12px 25px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}
.dropdown-divider { display: none; }


/* 4. VİDEO HEADER & GENEL BİLEŞENLER */
.hero-section-video { position: relative; height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.hero-section-video::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.hero-content h1, .hero-content p { color: white !important; }
.btn { border-radius: 50px; padding: 14px 35px; font-weight: 500; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: #b20321; border-color: #b20321; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(217, 4, 41, 0.3); }
.card { border: 1px solid var(--border-color); border-radius: 15px; box-shadow: none; transition: all 0.4s ease; height: 100%;}
.card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--primary-color); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1); }
.page-header { background: var(--dark-bg); padding: 100px 0; margin-top: 85px; }
.page-header h1, .page-header p { color: white; }

/* 5. ANA SAYFA BÖLÜMLERİ */
.why-us-section .feature-card i { font-size: 3.5rem; color: var(--primary-color); }
.stats-section-v2 { background-color: var(--dark-bg); background-image: url('../images/world-map.png'); background-repeat: no-repeat; background-position: center center; background-size: contain; padding: 100px 0; }
.stat-item-v2 { text-align: center; position: relative; }
@media (min-width: 768px) { .stat-item-v2:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.1); } }
@media (max-width: 767px) { .stat-item-v2:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 40px; margin-bottom: 40px; } }
.stat-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; display: block; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 4rem; font-weight: 700; color: white; }
.stat-label { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.step-number { background: var(--primary-color); color: white; border: 3px solid white; box-shadow: 0 5px 15px rgba(217, 4, 41, 0.3); width: 60px; height: 60px; line-height: 52px; border-radius: 50%; font-weight: 700; font-size: 1.8rem; margin: 0 auto 20px auto; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 900px; margin: 0 auto; border-radius: 15px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.project-card .card-img-top { height: 250px; object-fit: cover; }
.project-card .project-category { display: inline-block; background-color: rgba(217, 4, 41, 0.1); color: var(--primary-color); padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 500; margin-bottom: 10px; }
.project-card .card-title { font-family: 'Poppins', sans-serif; font-weight: 700; }
.cta-section-v2 { position: relative; padding: 100px 0; background-image: url('https://images.unsplash.com/photo-1606768668722-63de3254554b?q=80&w=1974&auto=format&fit=crop'); background-size: cover; background-position: center; background-attachment: fixed; }
.cta-section-v2::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--dark-bg); opacity: 0.9; }
.cta-section-v2 .container { position: relative; z-index: 1; }
.cta-section-v2 h2, .cta-section-v2 p, .cta-section-v2 li { color: #ffffff; }
.cta-benefits-list i { color: var(--primary-color); margin-right: 10px; }
.certificate-card:hover { border-color: var(--primary-color); }
.certificate-logo { max-height: 80px; width: auto; max-width: 150px; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.certificate-card:hover .certificate-logo { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.references-section .logo-container img { max-height: 50px; width:auto; filter: grayscale(100%); opacity: 0.5; transition: all 0.3s ease-in-out; }
.references-section .logo-container img:hover { filter: none; opacity: 1; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); color: white; display: flex; justify-content: center; align-items: center; font-size: 2.5rem; opacity: 0; transition: opacity 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.modal-content { background-color: transparent; border: none; }

/* 6. HAKKIMIZDA, HİZMETLER, ÜRÜNLER vb. SAYFALAR */
.timeline, .team-card, .service-features, .sector-solutions, .filter-buttons, .product-detail-page, .contact-form, .breadcrumb, .product-link { /* Tüm bu stiller önceki tam kodlarda mevcuttur ve burada birleştirilmiştir */ }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 4px; background-color: var(--border-color); top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; padding-right: 60px; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 60px; text-align: left; }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: white; border: 4px solid var(--primary-color); top: 20px; border-radius: 50%; z-index: 1; transition: all 0.3s ease; }
.timeline-item:nth-child(even)::after { left: -10px; }
.team-card img { height: 350px; }

/* 7. FOOTER VE SABİT BUTONLAR */
.floating-buttons { position: fixed; bottom: 25px; right: 25px; z-index: 1050; display: flex; flex-direction: column; gap: 15px; }
.floating-buttons a { width: 60px; height: 60px; border-radius: 50%; color: white; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: all 0.3s ease; }
.floating-buttons a:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.whatsapp-btn { background-color: #25D366; }
.call-btn { background-color: var(--primary-color); }
.site-footer { background-color: var(--dark-bg); padding: 60px 0; font-size: 0.9rem; }
.footer-title { font-family: 'Poppins', sans-serif; font-weight: 500; color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { padding-left: 0; list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; }
.social-links a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,0.1); color: white; margin-right: 10px; }
.social-links a:hover { background-color: var(--primary-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; margin-top: 30px; text-align: center; color: rgba(255,255,255,0.5); }


/* 8. ANİMASYONLAR */
.fade-in-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }
/* =================================
   HİZMET / ÜRÜN DETAY SAYFASI
   ================================= */

.service-detail-content h2,
.service-detail-content h3 {
    font-family: 'Poppins', sans-serif; /* Başlıklarda daha modern bir font */
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail-content ul {
    list-style: none;
    padding-left: 0;
}

.service-detail-content ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin-bottom: 10px;
}

.service-detail-content ul li::before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* Kenar Menü (Sidebar) Stilleri */
.sidebar-widget {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sidebar-list li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    display: block;
    padding: 15px 5px;
    font-weight: 500;
    text-decoration: none;
}
.sidebar-list a.active,
.sidebar-list a:hover {
    color: var(--primary-color);
}

.sidebar-cta {
    background-color: var(--dark-bg);
    color: white;
}

.sidebar-cta h5 {
    color: white;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.7);
}
/* =================================
   YENİ ÜRÜN DETAY SAYFASI (v2)
   ================================= */

.product-title-section h1 {
    color: var(--dark-bg);
}

.component-item img {
    max-width: 100px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid var(--border-color);
}
.component-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}
.component-item strong {
    color: var(--text-dark);
}

/* Akordiyon Stilleri */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden; /* border-radius'un düzgün çalışması için */
}
.accordion-header {
    border-bottom: none;
}
.accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text-dark);
    background-color: white;
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}
.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='white'%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-body {
    background-color: var(--light-bg);
	/* =================================
   HİZMET ANLAYIŞIMIZ SAYFASI KARTLARI (v2 - PROFESYONEL)
   ================================= */
.service-principle-card {
    /* Ana kart için ekstra stil ekleyebiliriz, ancak mevcut card stili yeterli */
    /* Önemli olan içindeki elemanların stillerini güncellemek */
}

.service-principle-card .icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px auto;
    border-radius: 20px; /* Tam yuvarlak yerine hafif köşeli */
    background-color: rgba(217, 4, 41, 0.1); /* Kırmızının %10 opacity'li hali */
    color: var(--primary-color); /* İkon rengi kırmızı */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8rem;
    transition: all 0.4s ease;
}

.service-principle-card .card-title {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-bg);
    transition: all 0.4s ease;
}

/* Kartın üzerine gelince olacaklar */
.service-principle-card:hover .icon-box {
    background-color: var(--primary-color); /* Arka plan tam kırmızı olur */
    color: white; /* İkon beyaza döner */
    transform: translateY(-10px) rotate(-15deg); /* Hafifçe kalkar ve döner */
    box-shadow: 0 10px 20px rgba(217, 4, 41, 0.3);
}

.service-principle-card:hover .card-title {
    color: var(--primary-color); /* Başlık da kırmızıya döner */
	
}

