/* Genel Ayarlar ve Değişkenler (Renkleri buradan değiştirebilirsiniz) */
:root {
    --primary-color: #ff9800; /* Ana Vurgu Rengi (Turuncu) */
    --dark-color: #1a1a1a;    /* Koyu Arka Plan Rengi */
    --light-color: #f8f9fa;   /* Açık Arka Plan Rengi */
    --text-color: #333;       /* Genel Metin Rengi */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
}
.btn-primary {
    background: var(--primary-color);
    color: #fff;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.btn-nav {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
}
.btn:hover, .btn-nav:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* Üst Bilgi Çubuğu */
.top-bar {
    background: var(--dark-color);
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
}
.top-bar i {
    color: var(--primary-color);
    margin-right: 5px;
}
.top-bar strong {
    font-size: 1.1rem;
}

/* Navigasyon */
.navbar {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}
.logo span {
    color: var(--primary-color);
}
/* LOGO BOYUTU GÜNCEL HALİ (60px) */
.navbar img {
    height: 100px; 
    width: auto;
    max-width: 200px;
}
.nav-links {
    display: flex;
    align-items: center;
}
.nav-links li {
    margin-left: 20px;
}
.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.desktop-cta {
    margin-left: 30px; /* Butonun menü linklerinden boşluk bırakmasını sağlar */
}
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}


/* HERO BÖLÜMÜ (YENİ İKİ SÜTUNLU YAPI) */
.hero {
    height: 600px; 
    background-color: var(--light-color); 
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden; 
}

.hero .container { 
    display: flex;
    align-items: center;
    justify-content: space-between; 
    height: 100%;
}

.hero-content {
    z-index: 1;
    max-width: 50%; 
    padding-right: 30px; 
    text-align: left; 
    color: var(--text-color); 
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color); 
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image-wrapper {
    position: relative;
    width: 50%; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0; 
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* Hizmetler */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* İstatistikler */
.stats {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0;
}
.stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

/* SSS - Accordion */
.faq {
    background: var(--light-color);
}
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.accordion-header:hover {
    background-color: #f0f0f0;
}
.accordion-header::after {
    content: '\2b'; 
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
.accordion-header.active {
    background-color: #f0f0f0;
    color: var(--primary-color);
}
.accordion-header.active::after {
    content: '\2212'; 
}
.accordion-content {
    max-height: 0;
    padding: 0 20px;
    background: #fff;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    overflow: hidden;
}
.accordion-content p {
    padding: 15px 0;
    margin: 0;
    border-top: 1px solid #eee;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.footer-logo h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.footer-contact h3 {
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}
.footer-contact p {
    margin-bottom: 10px;
}
.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Yapışkan Butonlar (Mobile CTA) */
.sticky-buttons {
    display: none; /* Masaüstünde gizle */
}

/* ------------------ RESPONSIVE (MOBİL) AYARLAR ------------------ */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        align-items: center;
    }
    .top-bar span {
        margin-bottom: 5px;
    }

    /* Navigasyon (Hamburger Menü) */
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; 
        left: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0;
        text-align: center;
        width: 100%;
    }
    .nav-links li a {
        display: block;
        padding: 10px 20px;
        border-bottom: 1px solid #f4f4f4;
    }
    /* Mobilde büyük butonu gizle, yapışkan butonları kullanacağız */
    .desktop-cta {
        display: none; 
    }
    /* Logo Boyutu Mobil */
    .navbar img {
        height: 45px; 
        max-width: 150px;
    }
    
    /* HERO Bölümü (Alt Alta Sıralama) */
    .hero {
        height: auto; 
        padding: 40px 0;
    }
    .hero .container {
        flex-direction: column; 
        text-align: center;
    }
    .hero-content {
        max-width: 100%; 
        padding-right: 0;
        margin-bottom: 30px; 
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-image-wrapper {
        width: 100%; 
        height: 250px; 
    }
    .hero-btns {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; 
    }
    .btn {
        margin: 5px; 
    }

    /* İstatistikler ve Footer */
    .stats .container {
        flex-direction: column;
    }
    .stat-item {
        margin-bottom: 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo, .footer-contact {
        margin-bottom: 20px;
    }

    /* Yapışkan Butonları Göster */
    .sticky-buttons {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    .sticky-btn {
        flex-grow: 1;
        text-align: center;
        padding: 15px 0;
        font-weight: bold;
        color: #fff;
    }
    .sticky-btn.call {
        background: var(--primary-color);
    }
    .sticky-btn.whatsapp {
        background: #25D366;
    }
}
/* ================================================= */
/* ============= BLOG SAYFASI STİLLERİ ============= */
/* ================================================= */

/* Blog Listeleme Sayfası */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.blog-date {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}
.blog-date i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.blog-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Blog Detay Sayfası */
.blog-container {
    max-width: 850px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.post-meta {
    display: block;
    color: #777;
    margin-bottom: 30px;
    font-size: 1rem;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
}

.post-content {
    line-height: 1.7;
    font-size: 1.1rem;
}

.post-content p {
    margin-bottom: 20px;
}
.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Detay Sayfası CTA Kutusu */
.call-to-action-box {
    background: #f0f0f0;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    margin: 40px 0;
    text-align: center;
}
.call-to-action-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.call-to-action-box h3 {
    margin: 0 0 10px 0;
    color: var(--dark-color);
}
.call-to-action-box .btn {
    margin-top: 20px;
}

/* Mobil Ayarlar (Blog) */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr; /* Mobil'de alt alta sırala */
    }
}