/* 
Theme Name: CarbonTecs Theme
Version: 3.1 (Mobile Full Width Fix)
*/

:root {
    --primary-color: #1a936f;
    --secondary-color: #114b5f;
    --accent-color: #88d498;
    --light-color: #f3e9d2;
    --dark-color: #1d1d1d;
    --text-color: #333333;
    --light-text: #f8f9fa;
    --gray-bg: #f5f5f5;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* HEADER GENEL */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}

/* ==========================================
   MASAÜSTÜ MENÜ (> 992px)
   ========================================== */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        color: var(--dark-color);
        font-weight: 600;
        margin: 0 12px;
        padding: 10px 0;
        transition: var(--transition);
        font-size: 1rem;
    }
    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.show {
        color: var(--primary-color);
    }
    .navbar-expand-lg .navbar-nav .nav-item.dropdown.has-megamenu {
        position: static;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu.megamenu {
        position: absolute; top: 100%; left: 0; right: 0;
        width: 100%; margin-top: 0;
        border: none; border-top: 3px solid var(--primary-color);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 30px 0; background: #fff;
    }
    .megamenu .col-lg-4:not(:last-child) {
        border-right: 1px solid #eee;
    }
    .megamenu-list a {
        font-size: 0.9rem; color: #555; padding: 5px 0;
        display: block; text-decoration: none; transition: var(--transition);
    }
    .megamenu-list a:hover { color: var(--primary-color); padding-left: 5px; }
}

/* ==========================================
   MOBİL MENÜ - FULL EKRAN YAYMA (< 991px)
   ========================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0;
        max-height: 85vh;
        overflow-y: auto;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-item {
        width: 100%;
    }

    /* SEVİYE 1: ANA LİNKLER (BOYDAN BOYA) */
    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: 15px 20px; /* Geniş tıklama alanı */
        background-color: #f8f9fa; /* Hafif gri */
        color: var(--secondary-color);
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 2px; /* Aralarında ince çizgi gibi boşluk */
        border-left: 5px solid transparent;
    }

    .navbar-nav .nav-link:hover, .navbar-nav .nav-link[aria-expanded="true"] {
        background-color: #fff;
        border-left-color: var(--primary-color);
        color: var(--primary-color);
    }

    .dropdown-toggle::after { float: right; margin-top: 8px; }

    /* MEGA MENÜ İÇERİK (RESET) */
    .dropdown-menu.megamenu {
        padding: 0; margin: 0; border: none; background: transparent; width: 100%; box-shadow: none;
    }

    /* SEVİYE 2: DANIŞMANLIK VB. */
    .mobile-sub-btn {
        width: 100%;
        text-align: left;
        padding: 12px 20px 12px 40px; /* Biraz içeriden */
        background-color: #fff;
        border: none;
        border-bottom: 1px solid #f1f1f1;
        color: var(--dark-color);
        font-weight: 600;
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-sub-btn:not(.collapsed) {
        color: var(--primary-color);
        background-color: #fcfcfc;
    }

    .mobile-sub-btn i { font-size: 0.8rem; transition: transform 0.3s; }
    .mobile-sub-btn:not(.collapsed) i { transform: rotate(180deg); }

    /* SEVİYE 3: EN ALT LİNKLER */
    .megamenu-list { padding: 0; margin: 0; background-color: #fff; }
    .megamenu-list li { margin: 0; list-style: none; }
    
    .megamenu-list a {
        display: block;
        padding: 10px 20px 10px 60px; /* En içeride */
        font-size: 0.9rem;
        color: #666;
        border-bottom: 1px solid #f9f9f9;
        text-decoration: none;
    }
    
    .megamenu-list a:hover {
        color: var(--primary-color);
        background-color: #fafafa;
    }

    /* Teklif Al Butonu */
    .navbar-nav .btn-nav-quote {
        margin: 20px;
        width: auto;
        display: block;
        text-align: center;
    }
}

/* ORTAK */
.megamenu h6 { color: var(--primary-color); font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
.megamenu-list { list-style: none; padding: 0; margin: 0; }

/* BUTONLAR */
.btn-nav-quote { background-color: var(--primary-color); color: var(--light-text)!important; padding: 8px 25px; border-radius: 6px; font-weight: 600; transition: var(--transition); }
.btn-nav-quote:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); padding: 12px 30px; border-radius: var(--border-radius); font-weight: 600; transition: var(--transition); }
.btn-primary:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); transform: translateY(-3px); box-shadow: var(--box-shadow); }
.btn-light { background-color: var(--light-text); color: var(--primary-color); border: none; padding: 12px 30px; border-radius: var(--border-radius); font-weight: 600; transition: var(--transition); }
.btn-light:hover { background-color: var(--light-color); transform: translateY(-3px); box-shadow: var(--box-shadow); }

/* SECTIONS & SLIDER */
#home-slider { height: 650px; width: 100%; position: relative; top: -76px; margin-bottom: -76px; }
#heroCarousel, #heroCarousel .carousel-inner { height: 100%; }
.carousel-item { height: 100%; background-size: cover; background-position: center; position: relative; }
.carousel-item .container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; z-index: 2; }
.carousel-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero-content { color: var(--light-text); max-width: 800px; margin: 0 auto; text-align: left; }
.hero-content h1 { font-size: 3.2rem; margin-bottom: 20px; font-weight: 700; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--secondary-color); position: relative; display: inline-block; padding-bottom: 15px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--primary-color); }
.services-section { background-color: var(--gray-bg); }
.service-card { background-color: var(--light-text); border-radius: var(--border-radius); padding: 50px 30px; text-align: center; transition: var(--transition); height: 100%; box-shadow: var(--box-shadow); margin-bottom: 30px; border-bottom: 4px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-bottom-color: var(--primary-color); }
.service-icon { font-size: 4rem; color: var(--primary-color); margin-bottom: 25px; }
.service-card h3 { font-size: 1.6rem; margin-bottom: 20px; color: var(--secondary-color); font-weight: 700; }
.service-card p { color: #555; font-size: 1.05rem; }
.why-item { text-align: center; padding: 30px 20px; border-radius: var(--border-radius); transition: var(--transition); margin-bottom: 30px; background-color: var(--light-text); box-shadow: var(--box-shadow); height: 100%; }
.why-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,.1); }
.why-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.why-item h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--secondary-color); }
.about-content { padding-right: 30px; }
.about-list { list-style: none; padding-left: 0; }
.about-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.about-list li::before { content: '\f058'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--primary-color); position: absolute; left: 0; top: 5px; }
.videos-section { background-color: var(--gray-bg); }
.video-item { background-color: var(--light-text); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition); }
.video-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.video-thumbnail { position: relative; height: 200px; overflow: hidden; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-item:hover .video-thumbnail img { transform: scale(1.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; background-color: rgba(255,255,255,.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 1.5rem; transition: var(--transition); }
.video-item:hover .play-btn { background-color: var(--primary-color); color: var(--light-text); }
.video-content { padding: 20px; }
.video-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--secondary-color); }
.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next { position: absolute; top: 40%; transform: translateY(-50%); background-color: rgba(255,255,255,.8)!important; width: 50px; height: 50px; border-radius: 50%; color: var(--primary-color)!important; font-size: 1.5rem; transition: var(--transition); }
.owl-carousel .owl-nav button.owl-prev { left: 20px; }
.owl-carousel .owl-nav button.owl-next { right: 20px; }
.owl-carousel .owl-nav button.owl-prev:hover, .owl-carousel .owl-nav button.owl-next:hover { background-color: var(--primary-color)!important; color: var(--light-text)!important; }
.videos-section .owl-theme .owl-dots { margin-top: 30px; }
.videos-section .owl-theme .owl-dots .owl-dot span { width: 40px; height: 4px; background-color: #ddd; margin: 0 5px; transition: var(--transition); border-radius: 2px; }
.videos-section .owl-theme .owl-dots .owl-dot.active span, .videos-section .owl-theme .owl-dots .owl-dot:hover span { background-color: var(--primary-color); transform: scale(1.1); }
.news-item { background-color: var(--light-text); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition); margin-bottom: 30px; height: 100%; }
.news-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-item:hover .news-img img { transform: scale(1.05); }
.news-content { padding: 20px; }
.news-date { color: var(--primary-color); font-size: .9rem; margin-bottom: 10px; display: block; }
.news-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--secondary-color); }
.news-content p { font-size: .95rem; color: #666; }
.stats-banner { background: linear-gradient(135deg,var(--primary-color),var(--secondary-color)); color: var(--light-text); padding: 60px 0; text-align: center; }
.stat-item { margin-bottom: 30px; }
.stat-number { font-size: 3rem; font-weight: 700; margin-bottom: 10px; display: block; }
.stat-text { font-size: 1.2rem; }
.contact-banner { background: linear-gradient(135deg,var(--primary-color),var(--secondary-color)); color: var(--light-text); padding: 60px 0; text-align: center; }
.contact-banner h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-banner p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.contact-form { background-color: var(--light-text); padding: 50px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
.form-control { padding: 12px 15px; border-radius: var(--border-radius); border: 1px solid #ddd; margin-bottom: 20px; transition: var(--transition); }
.form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 .2rem rgba(26,147,111,.25); }
.kvkk-check { margin: 20px 0; text-align: left; }
.kvkk-check label { font-size: .9rem; margin-left: 10px; }
.footer { background-color: var(--secondary-color); color: var(--light-text); padding: 70px 0 0; }
.footer h4 { color: var(--light-text); font-size: 1.3rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: var(--primary-color); }
.footer-links { list-style: none; padding-left: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.contact-info { list-style: none; padding-left: 0; }
.contact-info li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.contact-info i { color: var(--primary-color); margin-right: 10px; margin-top: 5px; }
.social-links a { display: inline-block; width: 40px; height: 40px; background-color: rgba(255,255,255,.1); border-radius: 50%; text-align: center; line-height: 40px; color: var(--light-text); margin-right: 10px; transition: var(--transition); }
.social-links a:hover { background-color: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { background-color: rgba(0, 0, 0, 0.25); padding: 25px 0; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
.footer-copyright { color: #bbb; font-weight: 400; }
.footer-bottom-links { display: flex; justify-content: flex-end; gap: 25px; }
.footer-bottom-links a { color: #bbb; text-decoration: none; transition: var(--transition); font-weight: 500; position: relative; }
.footer-bottom-links a:hover { color: var(--primary-color); }

@media (max-width: 991.98px) {
    .hero-content h1 { font-size: 2.5rem; }
    section { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
    .about-content { padding-right: 0; margin-bottom: 40px; }
    .footer-bottom { padding: 20px 0; }
    .footer-bottom-links { justify-content: center; margin-top: 10px; }
    .footer-copyright { text-align: center; }
}

@media (max-width: 767.98px) {
    body { padding-top: 76px; }
    #home-slider { height: 70vh; min-height: 450px; top: -76px; margin-bottom: -76px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content { padding: 0 35px; }
    .section-title h2 { font-size: 1.8rem; }
    .footer { padding: 50px 0 0; }
    .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next { top: 35%; width: 40px; height: 40px; font-size: 1.2rem; }
}

@media (max-width: 575.98px) { 
    .hero-content h1 { font-size: 1.6rem; } 
    .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next { top: 30%; }
}

/* Sayfa Hizmet CSSi */ 
/* ==========================================
   SAYFA BAŞLIĞI (PAGE HEADER)
   ========================================== */
.page-header {
    background: linear-gradient(rgba(17, 75, 95, 0.85), rgba(26, 147, 111, 0.85)), url('https://images.unsplash.com/photo-1501854140884-074bf22ca911?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: #fff;
    /* Senin header fixed olduğu için body'de padding var.
       Bu margin-top ile görseli header'ın hemen altına çekiyoruz. */
    margin-top: -76px; 
    margin-bottom: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item, .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/* ==========================================
   SIDEBAR & AKORDİYON MENÜ
   ========================================== */
.sidebar-widget {
    background: #fff;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.widget-title {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-widget .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.sidebar-widget .accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    background-color: #fff;
    box-shadow: none;
    padding: 15px 20px;
}

.sidebar-widget .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f9f9f9;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 20px 12px 30px;
    color: #666;
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.sidebar-menu li a:hover {
    background-color: #f4f4f4;
    color: var(--primary-color);
    padding-left: 35px;
}

.sidebar-menu li a.active {
    background-color: var(--primary-color);
    color: #fff;
    border-left-color: var(--secondary-color);
}

.sidebar-contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* ==========================================
   İÇERİK SÜSLEMELERİ
   ========================================== */
.content-area h2 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 10px;
}

.content-area h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
}

/* Check İşaretli Liste */
.custom-list { list-style: none; padding: 0; }
.custom-list li { margin-bottom: 12px; padding-left: 25px; position: relative; }
.custom-list li::before {
    content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    color: var(--primary-color); position: absolute; left: 0; top: 4px;
}

/* Vurgu Kutusu */
.highlight-box {
    background-color: #f0fdf4;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 4px;
}

/* Adım Kartları */
.step-card {
    background: #fff; border: 1px solid #eee; border-radius: var(--border-radius);
    transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.step-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.step-icon {
    width: 40px; height: 40px; background-color: var(--primary-color); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px; font-weight: 700; font-size: 1.2rem;
}