/* ===================================================================
   GENEL RESET & KUTU MODELi
=================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Font yüklenirken metnin görünmesini sağlar (LCP iyileştirmesi) */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, div {
    font-display: swap;
}

/* ===================================================================
   HEADER & NAVİGASYON
=================================================================== */
.no-scroll { overflow: hidden; } /* Mobil menü açıkken sayfanın kaymasını engeller */

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border-width: 0;
}

header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    position: sticky; top: 0; z-index: 1000;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s, box-shadow 0.4s ease;
    width: 100%;
}

header.header-hidden:not(.nav-active) { 
    top: -250px; 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.header-content {
    display:flex; justify-content:space-between; align-items:center;
    padding: 0 20px; max-width:1240px; margin:0 auto;
}

.logo img { max-height:129px; padding:25px 0; display:block; }

.main-nav {
    list-style:none; margin:0; padding:0;
    display:flex; align-items:stretch;
}

.main-nav .menu { display:flex; gap:8px; align-items:center; }
.main-nav .menu > li { display:flex; align-items:center; }
.main-nav li { display:flex; align-items:center; }

.main-nav li > a {
    display:flex; align-items:center; gap:8px;
    padding:39px 15px; text-decoration:none; color:#333;
    text-decoration:none; color:#333;
    font-weight:600; font-size:16px;
    transition: color .28s ease, transform .2s ease-out;
}
.main-nav li > a .bx { font-size:20px; }

.dropdown-arrow { margin-left:auto; transition: transform .28s ease; }

.main-nav li > a:hover,
.main-nav li:hover > a { color: #c0392b; transform: translateY(-3px); }

.main-nav .menu > li.active > a,
.main-nav .menu > li.active > a span {
    color: #c0392b;
    font-weight: 600;
}

/* ===================================================================
   MEGA MENÜ (DESKTOP)
=================================================================== */
.mega-menu {
    position:absolute;
    top:98%;
    left:50%;
    max-width:1240px;
    width:100%;
    transform:translateX(-50%) translateY(100%);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    border-radius:8px;
    padding:45px 25px 25px 25px;
    box-sizing:border-box;
    z-index:1001;
    border-bottom:3px solid #c0392b;
    will-change:transform,opacity;
    transition:
        opacity 0.26s cubic-bezier(.2,.9,.2,1),
        transform 0.5s cubic-bezier(.2,.9,.2,1),
        visibility 0.26s;
    transition-delay: 0s;
    display:flex; gap:24px; flex-wrap:wrap;
}

.has-megamenu:hover > .mega-menu {
    transition-delay: 0.5s;
}

/* İçerik stilleri */
.mega-menu-category-link { display:block; text-decoration:none; color:#333; margin-bottom:15px; text-align:center; transition:opacity .2s ease; }
.mega-menu-category-link h3 { font-size:17px; font-weight:600; color:#2c3e50; margin:10px 0 15px; transition:color .2s ease; }
.mega-menu-category-link img { width:100%; height:120px; object-fit:cover; border-radius:6px; border:1px solid #eee; transition: transform .3s ease, opacity .2s ease; }.mega-menu-category-link:hover h3 { color: #c0392b; }
.mega-menu-category-link:hover img { transform:scale(1.05); opacity:.9; }

.mega-menu-col {
    flex:1; min-width:0;
    transform:translateY(10px); opacity:0;
    transition: transform 320ms cubic-bezier(.2,.9,.2,1), opacity 280ms ease;
}

.mega-menu-col ul { list-style:none; padding:0; margin:0; border-top:1px solid #ecf0f1; padding-top:10px; }
.mega-menu-col ul li a {
    display:flex; align-items:center; padding:10px 5px; font-weight:500; font-size:15px; color:#000;
    border-radius:5px; text-decoration:none; transition: all .18s ease;
}.mega-menu-col ul li a:hover { background:#f9f9f9; color: #c0392b; padding-left:15px; }

.submenu-icon { width:20px; height:20px; margin-right:12px; opacity:.6; }

/* ===================================================================
   HAMBURGER & MOBİL DÜZEN (GENEL)
=================================================================== */
.mobile-nav-toggle { display:none; background:none; border:0; cursor:pointer; padding:10px; z-index:1002; }
.hamburger-icon {
    display:block; position:relative; width:24px; height:2px; background:#333; transition:all .3s ease-in-out;
}
.hamburger-icon::before, .hamburger-icon::after {
    content:''; position:absolute; left:0; width:100%; height:2px; background:#333; transition:all .3s ease-in-out;
}
.hamburger-icon::before { top:-8px; }
.hamburger-icon::after  { bottom:-8px; }

.nav-open .hamburger-icon { background:transparent; }
.nav-open .hamburger-icon::before { transform: rotate(45deg) translate(5px,6px); }
.nav-open .hamburger-icon::after  { transform: rotate(-45deg) translate(5px,-6px); }


.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s;
    z-index: 1000;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 993px) {
    .has-megamenu:hover ~ .nav-overlay,
    .has-megamenu:focus-within ~ .nav-overlay {
        opacity: 1; visibility: visible; pointer-events: auto;
    }

    .has-megamenu:hover > .mega-menu,
    .has-megamenu:focus-within > .mega-menu {
        transform:translateX(-50%) translateY(0);
        opacity:1; visibility:visible; pointer-events:auto;
    }

    .has-megamenu:hover > .mega-menu .mega-menu-col,
    .has-megamenu:focus-within > .mega-menu .mega-menu-col {
        transform:translateY(0); opacity:1;
    }
    .has-megamenu:hover > .mega-menu .mega-menu-col:nth-child(1) { transition-delay:0s; }
    .has-megamenu:hover > .mega-menu .mega-menu-col:nth-child(2) { transition-delay:0.04s; }
    .has-megamenu:hover > .mega-menu .mega-menu-col:nth-child(3) { transition-delay:0.08s; }

    .mega-menu {
        gap: 30px;
    }
    .main-nav li > a:hover,
    .main-nav li:hover > a {
        color: #c0392b;
    }

    .mobile-nav-toggle {
        display: none;
    }
}

/* Masaüstünde mobil menü logosunu gizle */
.mobile-menu-logo { display: none; }

/* ===================================================================
   MOBİL İÇİN MEGA MENÜ DÜZENLEMESİ
=================================================================== */

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: block;
    }

    .mobile-menu-logo {
        display: block;
        width: 100%;
        text-align: left;
        padding-bottom: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    .mobile-menu-logo img { max-height: 69px; }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
        overflow-y: auto;
        padding: 25px 0 25px 25px;
        box-sizing: border-box;
        z-index: 1001;
    }

    .header-content.nav-open .main-nav {
        transform: translateX(0);
    }

    /* Menü açıkken kapatma butonunu logo ile hizala */
    .header-content.nav-open .mobile-nav-toggle {
        position: fixed;
        top: 55px; /* Mobil logo yüksekliğine göre ortalanmış değer */
        right: 45px;
        margin: 0;
        padding: 0;
        z-index: 1005;
    }

    .has-megamenu:hover > .mega-menu {
        transition-delay: 0s;
    }

    .main-nav .menu {
        flex-direction: column;
        width: 100%;
    }

    .main-nav li {
        flex-wrap: wrap;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;

    }

    .main-nav li a {
        padding: 18px 25px;
        font-size: 20px;
        width: 100%;
        margin-top:15px;
    }

    .mega-menu {
        position: static;
        flex-basis: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        background: #f0f0f0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        flex-direction: column;
        flex-wrap: nowrap;
        margin-top: 0;
        border-bottom: none;

    }

    .has-megamenu.open > .mega-menu {
        /* max-height değeri JavaScript tarafından dinamik olarak atanacak */
        padding: 15px 0;
        border-bottom: 3px solid #c0392b;
    }

    .category-image {
        display: none;
    }

    .mega-menu-col h3 {
        padding-left: 35px;
        font-size: 14px;
        text-align: left;
        color: #c0392b;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .mega-menu-col {
        flex: none;
        width: 100%;
        opacity: 1;
        transform: none;
    }

    .has-megamenu .mega-menu .mega-menu-col {
        transition-delay: 0s !important;
    }

    .mega-menu-col ul {
        border-top: none;
        padding-top: 0;
        margin-bottom: 15px;
    }

    .mega-menu-col ul li a {
        padding: 10px 15px;
        padding-left: 35px;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        color: #34495e;
        border-bottom: 1px solid #eee;
    }

    .sub-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        background: #f0f0f0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .has-megamenu.open > .sub-menu {
        display: block;
        max-height: 100vh;
        padding: 15px 0;
    }

    .sub-menu li a {
        border-bottom: 1px solid #eee;
    }

    .has-megamenu.open > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    .mega-menu-col ul li:last-child a {
        border-bottom: none;
    }

    .main-nav .menu > li.active > a,
    .main-nav .menu > li.active > a span {
        color: #333;
    }
}
.top-bar {
    background-color: #2c3e50; /*2c3e50*/
    color: #e0e0e0;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 3px solid rgba(240, 183, 15, 0.15);
    border-top: 3px solid #f0b70f;
    min-height: 45px;
}

.top-bar .container {
    max-width: 1140px !important;
    width: 100%;
    padding: 0 40px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left {
    flex: 1 0 0;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    white-space: nowrap;
}

.top-bar-left a {
    color: #cbd5e0; text-decoration: none; transition: color 0.3s;
    display: inline-flex; align-items: center;
}

.top-bar-left i { color: #f0b70f; margin-right: 5px; }
.top-bar-left a:hover { color: #f0b70f; }

.top-bar-center {
    flex: 1 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

.top-ticker {
    height: 25px; overflow: hidden; position: relative; width: 100%;
}

.ticker-wrapper {
    display: flex;
    flex-direction: column;
    animation: tickerSlide 30s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

.ticker-wrapper span, .ticker-wrapper a {
    height: 25px; display: flex; align-items: center; justify-content: center;
    color: #f0b70f; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.3s;
}

.ticker-wrapper a:hover {
    opacity: 0.8;
    color: #fff;
}

@keyframes tickerSlide {
    0%, 8% { transform: translateY(0); }
    10%, 18% { transform: translateY(-25px); }
    20%, 28% { transform: translateY(-50px); }
    30%, 38% { transform: translateY(-75px); }  
    40%, 48% { transform: translateY(-100px); }  
    50%, 58% { transform: translateY(-125px); } 
    60%, 68% { transform: translateY(-150px); } 
    70%, 78% { transform: translateY(-175px); } 
    80%, 88% { transform: translateY(-200px); } 
    90%, 98% { transform: translateY(-225px); }
    100% { transform: translateY(-250px); }
}

.top-bar-right {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    white-space: nowrap;
}

.top-social { display: flex; gap: 25px; padding-right: 15px;}
.top-social a { color: #a0aec0; transition: color 0.3s; }
.top-social a:hover { color: #f0b70f; }

.btn-top-quote {
    background: #f0b70f; color: #151d28; padding: 6px 15px; border-radius: 4px;
    font-weight: 700; font-size: 11px; text-transform: uppercase; text-decoration: none;
    transition: all 0.3s;
}

.btn-top-quote:hover { background: #d4a00d; box-shadow: 0 0 10px rgba(240, 183, 15, 0.4); }

@media (max-width: 992px) {
    .top-bar { padding: 15px 0; height: auto; }
    .top-bar-content { flex-direction: column; gap: 12px; }
    .top-bar-left, .top-bar-center, .top-bar-right { 
        justify-content: center; flex: none; width: 100%; text-align: center;
    }
    .top-bar-left { flex-wrap: wrap; }
    .top-bar-right { flex-direction: row; gap: 15px; flex-wrap: wrap; justify-content: space-between;}

    .ticker-wrapper span { font-size: 11px; }
}

/* ===================================================================
   FOOTER
=================================================================== */
/* Geliştirilmiş Footer Stilleri */
.site-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 80px 0 0;
    font-size: 15px;
    line-height: 1.7;
}

.site-footer .footer-widget {
    margin-bottom: 30px;
}

.site-footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.site-footer .footer-logo {
    max-width: 325px;
    transition: opacity 0.3s ease;
}

.site-footer .footer-logo:hover {
    opacity: 0.85;
}

.site-footer .footer-text {
    color: #bdc3c7;
    margin-bottom: 0;
}

.site-footer .widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background-color: #c0392b;
}

.site-footer .footer-links,
.site-footer .footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links li,
.site-footer .footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.site-footer .footer-links a,
.site-footer .footer-contact a,
.site-footer .footer-contact span {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.site-footer .footer-contact i {
    font-size: 16px;
    margin-right: 12px;
    color: #c0392b;
    line-height: 1.7;
    flex-shrink: 0;
}

.site-footer .social-icons {
    margin: 49px 0;
}

.site-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.site-footer .social-icons a:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

.site-footer .footer-bottom {
    background-color: #2c3e50;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .footer-bottom .copyright-text {
    color: #95a5a6;
    margin: 0;
    font-size: 14px;
}

.copyright-text a {
    color: #bdc3c7;
}
.copyright-text a:hover {
    color: #fff;
}

.site-footer .footer-bottom .ena-logo img {
    max-height: 25px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.site-footer .footer-bottom .ena-logo:hover img {
    opacity: 1;
}

@media (max-width: 767px) {
    .site-footer .container{
        padding-left: 35px;
    }
    .site-footer .footer-bottom .copyright-text { margin-bottom: 15px; }
    
}

/* Yukarı Çık Butonu */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 155px;
    width: 45px;
    height: 45px;
    background-color: #c0392b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 161px;
}

.back-to-top:hover {
    background-color: #a93226;
    color: #fff;
}

/* ===================================================================
   HERO SLIDER İÇERİK STİLLERİ
=================================================================== */

.btn-hero {
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.3s;
    color: #fff;
    background: #c0392b;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-hero:hover {
    background: transparent;
    border-color: #fff;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-container span {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-container h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-container p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero-container h1 {
        font-size: 32px;
    }
    /* Mobilde slider yüksekliğini azaltarak LCP alanını küçült */
    .hero-slider {
        height: 60vh; 
        min-height: 400px;
    }
    .hero-container p {
        font-size: 18px;
    }
}

/* ===================================================================
   GENEL BÖLÜM STİLLERİ (YARDIMCI SINIFLAR)
=================================================================== */
.d-flex { display: flex; }
.flex-column {
    flex-direction: column;
}
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.align-items-stretch { align-items: stretch; }
.mb-4 { margin-bottom: 1.5rem; }

.section-padding {
    padding: 60px 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: 0.25rem; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
.bg-light { background-color: #f8f9fa; }

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: #c0392b;
    bottom: 0;
}

/* Hem .text-center sınıfına sahip bir ebeveyn içindeyken hem de doğrudan elemanın kendisindeyken çalışır */
.text-center .section-title::after, .section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #555;
}

.btn-custom {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 20px;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    background: #2c3e50;
    color: #f0b70f; /* Hover anında yazının beyaz kalmasını garanti eder */
}

.btn-custom.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

@media (min-width: 992px) {
    .col-lg-4 {
        width: 33.3333%;
        padding: 0 15px;
    }
    .col-lg-8 {
        width: 66.6666%;
        padding: 0 15px;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        width: 33.3333%;
        padding: 0 15px;
    }
    .col-md-6 {
        width: 50%;
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .col-md-4, .col-md-6 {
        width: 100%;
    }
    .col-lg-6 { width: 100%; }
    .about-img { margin-bottom: 30px; text-align: center; }
}

/* ===================================================================
   HERO SLIDER
=================================================================== */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.6);
    z-index: 1;
}

/* Slider Arka Plan Resmi (LCP Optimizasyonu İçin) */
.hero-slider .slide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: #fff;
}

/* ===================================================================
   HİZMET KARTLARI
=================================================================== */

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: all 0.3s ease-in-out;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin: 0 auto 25px auto;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.service-icon i {
    color: #c0392b;
    font-size: 50px;
}

.service-card:hover .service-icon {
    color: #2c3e50;
}

.service-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
    color: #2c3e50;
}

.service-description {
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
}

.btn-card {
    margin-top: auto;
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
}

/* ===================================================================
   NEDEN BİZİ SEÇMELİSİNİZ? BÖLÜMÜ
=================================================================== */
.align-items-center {
    align-items: center;
}

.mb-lg-0 {
    margin-bottom: 0 !important;
}

.why-us-content {
    padding-left: 30px;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.why-us-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 17px;
    color: #333;
    line-height: 1.5;
}

.why-us-list i {
    font-size: 24px;
    color: #c0392b;
    margin-right: 12px;
    line-height: 1;
}

@media (max-width: 992px) {
    .why-us-content {
        text-align: center;
        padding-left: 0;
        margin-top: 30px;
        padding: 0 15px;
    }
    .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-4 {
        width: 100%;
        padding: 0 15px;
    }
}

/* ===================================================================
   CTA (EYLEM ÇAĞRISI) BÖLÜMÜ
=================================================================== */
.section-padding.text-center.text-white {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.section-padding.text-center.text-white h2 {
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.section-padding.text-center.text-white .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ===================================================================
   SAYFA BAŞLIĞI (BANNER)
=================================================================== */
.page-header {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    display: inline-block;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================================================
   İÇERİK ALANI (HAKKIMIZDA VB.)
=================================================================== */
.about-content {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.about-content p {
    margin-bottom: 1.2rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Mobil cihazlar için genel düzenleme */
@media (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }
}

/* ===================================================================
   İLETİŞİM SAYFASI STİLLERİ
=================================================================== */
.contact-section {
    background-color: #f8f9fa;
}

/* İletişim Bilgi Kutuları */
.contact-info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
}

.contact-info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-box .info-icon {
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    background: #c0392b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.contact-info-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-info-box p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info-box p a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-box p a:hover {
    color: #c0392b;
}

/* Form ve Harita Alanı */
.contact-form-wrapper,
.map-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    height: 100%;
}

.map-wrapper iframe {
    border-radius: 6px;
}

/* İletişim Formu Elemanları */
.contact-form .form-group {
    margin-bottom: 20px;
}

/* Teklif butonuyla gelindiğinde formun header altında kalmasını engeller */
#iletisimFormu {
    scroll-margin-top: 180px;
}
@media (max-width: 992px) {
    #iletisimFormu {
        scroll-margin-top: 245px;
    }
}
@media (max-width: 767px) {
    #iletisimFormu {
        scroll-margin-top: 345px;
    }
}

.contact-form .form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input[type="file"]::file-selector-button:hover {
    background: #dfe6e9;
}

/* İletişim Sayfası Harita Bölümü */
.map-container-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.map-wrapper-full {
    width: 100%;
    height: 450px;
}

.map-wrapper-full iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* ===================================================================
   SIDEBAR WIDGETS (KATEGORİ/HİZMET DETAY)
=================================================================== */
.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.sidebar-widget .widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #2c3e50;
    position: relative;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    background: #c0392b;
}

.other-category-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 15px;
}

.other-category-item:hover {
    background: #f8f9fa;
    border-color: #eee;
    transform: translateX(5px);
}

.other-category-item .category-thumb {
    width: 80px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.other-category-item .category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.other-category-item:hover .category-thumb img {
    transform: scale(1.1);
}

.other-category-item .category-info {
    flex: 1;
    width: 100%;
}

.other-category-item .category-info h6 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    transition: color 0.3s;
}

/* ===================================================================
   BELGE VE RESİM GALERİSİ KUTU TASARIMI
=================================================================== */
.belge-alani .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Masaüstü ve Tablet Dizilimi İçin Genişlik Sabitleme */
@media (min-width: 992px) {
    .belge-alani .col-lg-4 {
        width: 33.3333% !important; /* Masaüstünde 3 kutu yan yana */
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .belge-alani .col-md-6 {
        width: 50% !important; /* Tablette 2 kutu yan yana */
    }
}

/* Ortak Kutu Yapısı */
.belge-kutusu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.belge-kutusu:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #c0392b;
}

/* İkon Tasarımı */
.belge-kutusu-ikon {
    font-size: 50px;
    color: #c0392b;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.belge-kutusu:hover .belge-kutusu-ikon {
    transform: scale(1.1);
}

/* Metin Tasarımı */
.belge-kutusu-ad {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

/* Sağ Üstteki İndirme/Görüntüleme İkonu */
.belge-indir-ikonu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    color: #c0392b;
    transition: color 0.3s ease;
}

.belge-kutusu:hover .belge-indir-ikonu:hover {
    color: #eee;
}

/* Resim Galerisi Özel Ayarı */
.belge-kutusu-gorsel {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

/* Hover Overlay (Resimler İçin) */
.belge-kutusu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(192, 57, 43, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.belge-kutusu:hover .belge-kutusu-overlay {
    opacity: 1;
}

.belge-kutusu-overlay span {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border: 2px solid #fff;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .belge-alani .col-12, .belge-alani .col-md-6 {
        width: 100% !important;
    }
}

.other-category-item:hover .category-info h6 {
    color: #c0392b;
}

.other-category-item .category-info span {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
}

.other-category-item .category-info span i {
    margin-left: 4px;
    transition: transform 0.2s;
}

.other-category-item:hover .category-info span i {
    transform: translateX(3px);
    color: #c0392b;
}

/* Blog Sayfası Genel Stilleri */
.blog-post-card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.post-thumbnail img {
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 10px 25px;
    margin-bottom: 15px;
}

#blog .widget .widget-title {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* ===================================================================
   GENEL RESET & KUTU MODELÄ°
=================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    color: #c0392b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a93226;
}

/* ===================================================================
   CONTAINER & ROW
=================================================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.col-12 {
    width: 100%;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* ===================================================================
   SECTION STYLES
=================================================================== */
.section-padding {
    padding: 60px 0;
}

/* ===================================================================
   PAGE HEADER
=================================================================== */
.page-header {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.breadcrumb-item a {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #fff;
    padding: 0 10px;
}

/* ===================================================================
   BLOG STYLES
=================================================================== */
.blog-post-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

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

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-meta {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 10px;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
    color: #c0392b;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #555;
}

/* ===================================================================
   WIDGET STYLES
=================================================================== */
.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-form button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 15px;
    border: none;
    background: #c0392b;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Widget List (Categories, Recent Posts) */
.widget-list, .recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li, .recent-posts-list li {
    border-bottom: 1px solid #eee;
}

.widget-list li:last-child, .recent-posts-list li:last-child {
    border-bottom: none;
}

.widget-list a, .recent-posts-list a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget-list a:hover, .recent-posts-list a:hover {
    color: #c0392b;
}

/* ===================================================================
   PAGINATION
=================================================================== */
.pagination-wrapper {
    margin-top: 50px;
    margin-bottom: 30px;
    width: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 8px; /* Butonlar arası boşluk */
}

/* Mobil Uyumluluk: Yatay Kaydırma (Scroll) */
@media (max-width: 768px) {
    .pagination-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Akıcı kaydırma */
        padding-bottom: 10px;
        margin-left: -15px;
        width: calc(100% + 30px);
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    .pagination {
        justify-content: flex-start;
        flex-wrap: nowrap;
        white-space: nowrap;
        min-width: min-content;
    }
    
    /* Scroll çubuğunu gizle */
    .pagination-wrapper::-webkit-scrollbar {
        display: none;
    }
}

.pagination li a, .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 18px;
    border-radius: 50px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pagination li a.active,
.pagination li span.active {
    background-color: #c0392b;
    color: #fff;
    border-color: #c0392b;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
    transform: translateY(-2px);
}

.pagination li a:hover:not(.active) {
    background-color: #fff;
    border-color: #c0392b;
    color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pagination li.disabled span {
    background-color: transparent;
    border-color: transparent;
    color: #bbb;
    box-shadow: none;
    cursor: default;
}
/* ===================================================================
   BLOG DETAY - onceki/SONRAKi YAZI NAViGASYONU
=================================================================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
    border: none;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    width: 50%;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #c0392b;
}

.post-navigation .nav-previous {
        border-right: 1px solid #e9ecef;
}

.post-navigation a {
    text-decoration: none;
    display: block;
     padding: 25px;
    height: 100%;
}

.post-navigation a:hover {
       opacity: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a span {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.post-navigation .nav-next a span {
    justify-content: flex-end; 
}

.post-navigation a h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-navigation a:hover span,
.post-navigation a:hover h4 {
    color: #c0392b;
}

.blog-detail-content .post-body {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word;
}
.post-thumbnail img {
    width: 100%;
    max-height: 175px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform 0.3s ease;
}

/* ===================================================================
   SSS (ACCORDION) STYLES
=================================================================== */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 20px 25px;
    cursor: pointer;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h3 { font-size: 18px; font-weight: 600; color: #2c3e50; margin: 0; }
.faq-header i { color: #c0392b; font-size: 24px; transition: transform 0.3s; }
.faq-item.active .faq-header i { transform: rotate(180deg); }
.faq-item.active .faq-header { background-color: #fcfcfc; color: #c0392b; }
.faq-item.active .faq-header h3 { color: #c0392b; }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    background: #fff;
}

.faq-item.active .faq-content { max-height: 1599px; /* İçeriğe göre artırılabilir */ border-top: 1px solid #eee; }
.faq-content p, 
.faq-answer-content { padding: 20px 25px; margin: 0; color: #555; line-height: 1.6; }

.faq-answer-content p { margin-bottom: 15px; }
.faq-answer-content p:last-child { margin-bottom: 0; }

/* SSS Oylama Bölümü */
.faq-voting {
    padding: 15px 25px;
    border-top: 1px solid #f8f8f8;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #888;
}
.faq-voting .vote-btns { display: flex; gap: 8px; }
.btn-vote {
    background: #fff; border: 1px solid #ddd;
    padding: 4px 12px; border-radius: 15px;
    cursor: pointer; font-weight: 500; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; gap: 5px;
    position: relative;
}
.btn-vote:hover { 
    transform: scale(1.1); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.btn-vote[data-vote="yes"]:hover { border-color: #27ae60; color: #27ae60; }
.btn-vote[data-vote="no"]:hover { border-color: #e74c3c; color: #e74c3c; }

.btn-vote span { font-size: 12px; margin-left: 2px; opacity: 0.8; }
.vote-feedback { color: #27ae60; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* Oy Verildikten Sonraki Durum */
.vote-btns.voted { pointer-events: none; }
.vote-btns.voted .btn-vote { 
    opacity: 0.7; 
    background: #f9f9f9; 
    border-color: #eee; 
    color: #888;
}

/* Konfeti Efekti Stilleri */
.confetti-piece {
    position: fixed;
    border-radius: 50%;
    opacity: 1;
    z-index: 9999;
    pointer-events: none;
    animation: confetti-fall 3s forwards ease-out, confetti-fade 3s forwards ease-out;
}

@keyframes confetti-fall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) rotate(var(--rotate-deg));
        opacity: 0;
    }
}

@keyframes confetti-fade {
    0% { opacity: 1; }
    80% { opacity: 1; } 
    100% { opacity: 0; }
}

/* Mobil Uyumluluk için SSS Oylama Alanı Düzenlemesi */
@media (max-width: 768px) {
    .faq-voting { flex-direction: column; align-items: flex-start; gap: 12px; }
    .faq-voting { width: 100%; flex-direction: column; gap: 10px; }
    .vote-btns { width: 100%; display: flex; justify-content: space-between; }
    .btn-vote { width: 100%; justify-content: center; padding: 10px; }
}

/* ===================================================================
   REFERANSLAR SAYFASI
=================================================================== */
.references-grid [class*="col-"] {
    padding: 0 10px; /* Sütunlar arasına yatay boşluk ekler */
}

.col-4 { width: 33.3333%; }

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
}

@media (min-width: 992px) {
    .col-lg-2 { width: 16.6666%; }
}

.reference-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 7px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    overflow: hidden;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: #c0392b;
}

.reference-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.reference-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================================================
   BLOG DETAY PAYLAŞIM BUTONLARI
=================================================================== */
.post-share {
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.post-share h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-share:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: #fff;
}

.btn-share.facebook { background-color: #3b5998; }
.btn-share.twitter { background-color: #000000; }
.btn-share.linkedin { background-color: #0077b5; }
.btn-share.whatsapp { background-color: #25d366; }

/* ===================================================================
   ANA SAYFA KATEGORİ KARTLARI
=================================================================== */
.category-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #eee;
}

.category-card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-img {
    transform: scale(1.05);
}

.category-card-body {
    padding: 20px;
    text-align: center;
}

.category-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.category-card:hover .category-card-title {
    color: #c0392b;
}

.btn-category-link {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

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

.category-card:hover .btn-category-link {
    color: #c0392b;
}

.category-card:hover .btn-category-link i {
    transform: translateX(5px);
}

/* ===================================================================
   SABİT İLETİŞİM BUTONLARI (WHATSAPP & TELEFON)
=================================================================== */
.sticky-contact-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sticky-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: heartbeat 2.5s infinite;
}

.sticky-btn:hover {
    color: #fff;
    transform: scale(1.1);
    animation: none;
}

.sticky-btn.whatsapp-btn {
    background-color: #25d366;
}

.sticky-btn.phone-btn {
    background-color: #f0b70f;
    animation-delay: 1.25s;
}

/* Kalp Atışı Animasyonu */
@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.15); }
    10% { transform: scale(1); }
    15% { transform: scale(1.15); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ===================================================================
   STICKY SIDEBAR (BLOG)
=================================================================== */
.sticky-sidebar {
    position: sticky;
    top: 180px;
    z-index: 1;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* İç sayfalarda Top Bar olmadığı için sidebar hizasını yukarı çekiyoruz */
.sub-page .sticky-sidebar {
    top: 130px;
}

/* Header gizlendiğinde sidebar'ın yukarı kayması */
body.header-is-hidden .sticky-sidebar {
    top: 20px;
}

/* ===================================================================
   SONUÇ/BAŞARI SAYFASI TASARIMI
=================================================================== */
.success-page-section {
    max-width: 850px;
    margin: 0 auto;
}

.success-card {
    background: #fff;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border-top: 5px solid #f0b70f;
    position: relative;
    overflow: hidden;
}

.success-icon {
    font-size: 80px;
    color: #f0b70f;
    margin-bottom: 25px;
    /* Pop-up Animasyonu */
    animation: success-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.success-lead {
    font-size: 20px;
    color: #f0b70f;
    font-weight: 500;
    margin-bottom: 20px;
}

.success-text {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 16px;
}

/* Dosya Listesi Alanı */
.submitted-files-area {
    margin-top: 30px;
    text-align: left;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.submitted-files-area h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-size: 16px;
}

.file-names-display li i {
    color: #f0b70f;
}

/* "Sırada Ne Var?" Alanı */
.next-steps-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.action-card-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.action-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #c0392b; /* Tema rengi */
}

.action-card-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #c0392b;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-card-item:hover .action-card-icon {
    background: #c0392b;
    color: #fff;
}

.action-card-item:hover .action-card-arrow {
    color: #c0392b;
    transform: translateX(5px);
}

.grecaptcha-badge {
    visibility: hidden;
}

/* ===================================================================
   EKİP BÖLÜMÜ
=================================================================== */
.team-member {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #f0b70f;
}
.member-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    transition: border-color 0.3s ease;
}
.team-member:hover .member-img img {
    border-color: #f0b70f;
}
.member-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}
.member-role {
    font-size: 14px;
    margin-bottom: 0;
    color: #777;
}

/* Son Yazılar Kaydırma Animasyonu */
.scrolling-widget-container {
    height: 535px; /* 4-5 yazı görünecek şekilde sabit yükseklik */
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.scrolling-widget-container .recent-posts-list {
    /* Animasyon JS tarafından eklenecek */
}

.scrolling-widget-container .other-category-item {
    border: none;
    margin-bottom: 15px;
}

.scrolling-widget-container:hover .recent-posts-list {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* ===================================================================
   SCROLL ANIMATIONS (KAYDIRMA ANİMASYONLARI)
=================================================================== */
.scroll-animate {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.row .scroll-animate:nth-child(2) {
    transition-delay: 0.1s;
}
.row .scroll-animate:nth-child(3) {
    transition-delay: 0.2s;
}

/* ===================================================================
   SIDEBAR NAVİGASYON BUTONLARI
=================================================================== */
.sidebar-nav-buttons {
    display: flex;
    gap: 5px;
}

.sidebar-nav-buttons .nav-btn {
    background: #f8f9fa;
    border: 1px solid #eee;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-nav-buttons .nav-btn:hover {
    background: #c0392b;
    color: #fff;
}

/* ===================================================================
   CAROUSEL WRAPPER (GENEL)
=================================================================== */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-nav:hover {
    background-color: #c0392b;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev {
    left: 20px;
}

.carousel-nav-next {
    right: 20px;
}

/* ===================================================================
   KATEGORİ CAROUSEL (SÜREKLİ AKIŞ)
=================================================================== */
.category-carousel-container {
    max-width: 100%;
    overflow: hidden;
    overflow-x: auto; /* JS ile kontrol edilecek */
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-carousel-container::-webkit-scrollbar {
    display: none;
}

.category-carousel-container.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.category-carousel-track {
    display: flex;
    width: max-content;
    cursor: grab;
    cursor: -webkit-grab;
}

.category-carousel-item {
    flex: 0 0 320px;
    padding: 0 15px;
}

/* ===================================================================
   KATEGORİ DETAY - CTA & İLETİŞİM ALANI
=================================================================== */
.category-cta-container {
    margin-top: 60px;
    margin-bottom: 80px;
}

/* Ana Teklif Kartı */
.category-offer-card {
    background: linear-gradient(135deg, #2c3e50 0%, #c0392b 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
    margin-bottom: 30px;
}

.category-offer-card .cta-content {
    position: relative;
    z-index: 2;
}

.category-offer-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.category-offer-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #c0392b;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #c0392b;
}

.category-offer-card .cta-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 200px;
    color: rgba(255, 255, 255, 0.07);
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* Hızlı İletişim Butonları */
.quick-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-quick-contact {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-quick-contact:hover {
    transform: translateY(-5px);
}

.btn-quick-contact .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    color: #fff;
}

.btn-quick-contact .text-box {
    display: flex;
    flex-direction: column;
}

.btn-quick-contact .text-box span {
    font-size: 14px;
    opacity: 0.9;
}

.btn-quick-contact .text-box strong {
    font-size: 18px;
    font-weight: 700;
}

/* Telefon Butonu */
.btn-phone {
    background-color: #2c3e50;
    color: #fff;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.15);
}
.btn-phone .icon-box { background-color: rgba(255, 255, 255, 0.1); }
.btn-phone:hover {
    background-color: #34495e;
    color: #fff;
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.2);
}

/* WhatsApp Butonu */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp .icon-box { background-color: rgba(255, 255, 255, 0.2); }
.btn-whatsapp:hover {
    background-color: #20bd5a;
    color: #fff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Müşteri Yorumları Kısıtlama Stilleri */
.review-text-container {
    position: relative;
    margin-bottom: 10px;
}

.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Tek satır sınırı */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.5;
    min-height: 1.5em;
}

.review-text.expanded {
    -webkit-line-clamp: unset; /* Sınırı kaldır */
}

.read-more-btn {
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    text-decoration: underline;
}

/* Yorum genişlediğinde okları şeffaf yap */
.carousel-wrapper.nav-hidden .carousel-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 768px) {
    .quick-contact-row {
        grid-template-columns: 1fr;
    }
}
