/* === DEĞİŞKENLER === */
/* === DEĞİŞKENLER (RENK PALETLERİ) === */
:root {
    /* Dark Tema (Varsayılan) */
    --bg-color: #0d1117;
    --card-color: #161b22;
    --primary-color: #21262d;
    --border-color: #30363d;
    --accent-color: #FFA500; /* Original accent color */
    --text-color: #c9d1d9;
    --text-color-strong: #ffffff;
    --text-muted-color: #8b949e;
    --success-color: #238636;
    --warning-color: #f7b731; /* Only present in first block, keeping it */
    --danger-color: #e94560; /* Only present in first block, keeping it */
    --box-shadow: none;
    --border-radius: 12px;
}

body.light-theme {
    /* Light Tema */
    --bg-color: #f0f2f5;
    --card-color: #ffffff;
    --primary-color: #e4e6eb;
    --border-color: #ced0d4;
    --accent-color: #1877f2; /* Original accent color for light theme */
    --text-color: #4b4f56;
    --text-color-strong: #050505;
    --text-muted-color: #65676b;
    --box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Specific accent color overrides found in some blocks */
/* If a single accent color is desired across all themes/pages, consolidate to one variable.
   For now, keeping the last specified 'f56200' for dark and 'f56200' for light as overrides,
   but commenting out the conflicting ones to avoid confusion. */
/* :root { --accent-color: #f56200; } */
/* body.light-theme { --accent-color: #f56200; } */

/* === TEMEL STİLLER === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6; /* Most common line-height, using this one */
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card {
    background-color: var(--card-color);
    padding: 25px; /* Most common padding, overridden for specific cards */
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s, all 0.3s ease; /* Combined transitions */
}

/* === HEADER === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Genel logo stili */
header .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-strong);
    text-align: left; /* Logonun solda hizalanması */
    padding-left: 20px; /* Sol kenara biraz boşluk ekleyelim */
}

/* Logo resminin boyutunu ayarlayalım */
header .logo img {
    max-height: 80px;
    margin-right: 20px; /* Logoyu biraz sağa kaydır */
}

/* Logo renk değişimi için */
header .logo.day-theme img {
    filter: brightness(0) saturate(100%) invert(0); /* Gündüz teması: Normal renk */
}

header .logo.night-theme img {
    filter: brightness(0) saturate(100%) invert(1); /* Gece teması: Beyaz renk */
}

/* Logo linkinin stilini belirleyelim */
header .logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-strong);
    text-decoration: none;
    display: inline-block; /* Resimle metin hizalanmasını sağlar */
}

/* Mobil uyumlu düzenlemeler */
@media (max-width: 767px) {
    header .logo {
        font-size: 18px; /* Mobilde daha küçük font boyutu */
        padding-left: 10px; /* Sol boşluğu küçültelim */
    }

    header .logo img {
        max-height: 60px; /* Mobilde logoyu biraz küçültelim */
        margin-right: 0; /* Sağdan margin'i sıfırlayalım */
    }

    header .logo a {
        font-size: 18px; /* Mobilde font boyutunu küçültelim */
    }
}

@media (max-width: 500px) {
    header .logo {
        padding-left: 5px; /* Daha küçük ekranlar için boşluk azaltma */
    }

    header .logo img {
        max-height: 50px; /* Logoyu daha da küçük yapalım */
    }
}


header nav a {
    color: var(--text-muted-color);
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 5px; /* For active state underline */
}

header nav a:hover {
    color: var(--text-color-strong);
}

header nav a.active {
    color: var(--text-color-strong);
}

header nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

header .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .header-right .btn {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    border: 1px solid var(--accent-color); /* Added from one of the blocks */
    transition: background-color .3s, opacity 0.2s; /* Combined transitions */
}

header .header-right .btn:hover {
    background-color: #4682B4; /* Specific hover color found in one block */
}

header .header-right .btn.active {
    box-shadow: 0 0 10px var(--accent-color);
}

header .header-right .icon-btn {
    background: none;
    border: none;
    color: var(--text-muted-color);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

header .header-right .icon-btn:hover {
    color: var(--text-color-strong);
}

/* === ANA YAPI === */
.main-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    margin-top: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Most common margin */
}

.section-header h2 {
    font-size: 20px;
    color: var(--text-color-strong);
}

.section-header a {
    font-size: 14px;
    color: var(--text-muted-color);
}

/* === SOL SÜTUN === */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-card {
    text-align: center;
}

.profile-card .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    margin: 0 auto 15px auto;
    object-fit: cover;
}

.profile-card h1 {
    font-size: 22px;
    color: var(--text-color-strong);
}

.profile-card p {
    color: var(--text-muted-color);
    font-size: 14px;
}

.profile-card .social-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* Added flex-wrap from one block */
    justify-content: center;
    gap: 20px; /* Most common gap, one block had 15px */
}

.profile-card .social-links a {
    color: var(--text-muted-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card {
    padding: 20px; /* Specific padding for this card */
}

.service-card .top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-color-strong);
    margin-bottom: 4px;
}

.service-card p {
    color: var(--text-muted-color);
    font-size: 14px;
}

.service-card .tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.service-card .tag.yoğun {
    background-color: var(--warning-color);
    color: #000;
}

.service-card .tag.müsait {
    background-color: var(--success-color);
    color: #fff;
}

.service-card .icons {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    font-size: 24px;
}

.service-card .icons i {
    color: var(--text-muted-color);
}

.service-card .icons .fa-css3-alt {
    color: #264de4;
}

.service-card .icons .fa-html5 {
    color: #e34c26;
}

.service-card .icons .fa-figma {
    color: #f24e1e;
}

.service-card .icons .fa-adobe {
    color: #ff0000;
}


/* === SAĞ SÜTUN === */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.summary-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 10px; /* Added from a more complete summary-card block */
}

.summary-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.summary-item h3 {
    font-size: 20px;
    color: var(--text-color-strong);
}

.summary-item p {
    color: var(--text-muted-color);
    font-size: 13px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.portfolio-item img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.portfolio-item .info {
    padding: 15px;
}

.portfolio-item h3 {
    font-size: 16px;
    color: var(--text-color-strong);
}

.portfolio-item p {
    font-size: 14px;
    color: var(--text-muted-color);
}

/* === ALT YAPI (BLOG & ÜRÜNLER) === */
.bottom-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

/* --- BLOG BÖLÜMÜ (YENİLENMİŞ STİLLER) --- */
.blog-section { /* Added from an internal consolidated section */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-post.card {
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    min-height: 250px;
}

.main-post-link { /* Added from an internal consolidated section */
    display: block;
    text-decoration: none;
    color: inherit;
}

.main-post-link:hover .image-wrapper img { /* Added from an internal consolidated section */
    transform: scale(1.05);
}

.main-post .image-wrapper {
    flex: 0 0 40%;
    position: relative;
    /* Original main-post image-wrapper styles, kept for unique properties */
    background: linear-gradient(135deg, #1e3a8a, #4c1d95);
    color: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.main-post .image-wrapper img { /* Added from an internal consolidated section */
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-post .year { /* Specific to original blog section */
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

.main-post .chart { /* Specific to original blog section */
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 50px;
    position: absolute;
    bottom: 20px;
    z-index: 1;
}

.main-post .bar { /* Specific to original blog section */
    background-color: rgba(255,255,255,0.2);
    width: 15px;
    border-radius: 4px;
}

.main-post .content {
    flex: 1 1 60%;
    padding: 25px; /* Most common padding for main-post content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-post h3 {
    font-size: 20px; /* Most common font size for main-post h3 */
    color: var(--text-color-strong);
    margin-bottom: 10px;
}

.main-post p {
    font-size: 14px;
    color: var(--text-muted-color);
}

.other-posts-list { /* Added from an internal consolidated section */
    display: grid;
    gap: 12px;
    margin-top: -10px;
}

.blog-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px; /* Most common padding for blog-post-item */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.2s;
    text-decoration: none;
}

.blog-post-item:hover { /* Added from an internal consolidated section */
    background-color: var(--primary-color);
    border-color: var(--accent-color);
}

.blog-post-item .icon-box {
    font-size: 18px; /* Most common font size for icon-box */
    color: #fff;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    flex-shrink: 0; /* Added from an internal consolidated section */
}

.blog-post-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0; /* Added from an internal consolidated section */
}

/* === ÜRÜNLER & ARAÇLAR === */
.products-and-tools { /* Added from an internal consolidated section */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-item { /* This style block seems to be from an older or different product section */
    text-align: center;
    margin-bottom: 15px;
}

.product-item img {
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    height: 160px;
    object-fit: cover;
}

.product-item h3 {
    font-size: 16px;
    color: var(--text-color-strong);
}

.product-item .price {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
}

.product-item .free {
    background: linear-gradient(to right, #e94560, #0f3460);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
}

.tools-grid { /* This is from the first block's tools-grid, which is different from the tools page */
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.tool-item { /* This is from the first block's tool-item, which is different from the tools page */
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.tool-item i {
    font-size: 20px;
    color: var(--text-muted-color);
}

.tool-item span {
    color: var(--text-color);
}

/* === SAYFA GENELİ BAŞLIK VE FİLTRELEME === */
.page-header {
    text-align: center;
    margin: 40px 0;
}

.page-header h1 {
    font-size: 42px;
    color: var(--text-color-strong);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto;
}

.filter-menu {
    display: flex;
    flex-wrap: wrap; /* Added from portfolio filter menu */
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-menu .filter-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-menu .filter-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.filter-menu .filter-btn.active {
    background-color: var(--accent-color);
    color: white;
}

/* === ÜRÜNLER SAYFASI STİLLERİ === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.product-card .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.product-card .product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .product-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.product-card h3 {
    font-size: 20px;
    color: var(--text-color-strong);
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-card .product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-strong);
}

.product-card .product-price .old-price {
    font-size: 15px;
    color: var(--text-muted-color);
    text-decoration: line-through;
    margin-right: 8px;
}

.product-card .product-price .free {
    color: var(--success-color);
}

.product-card .btn-buy {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 14px;
}

/* === ARAÇLAR SAYFASI STİLLERİ (Detailed) === */
.tools-grid { /* This tools-grid is for the dedicated tools page, overriding the simpler one above */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tool-card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tool-card .tool-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tool-card .tool-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-strong);
    margin-bottom: 10px;
}

.tool-card .tool-description {
    color: var(--text-muted-color);
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 25px;
}

.tool-card .btn-launch {
    background-color: var(--primary-color);
    color: var(--text-color-strong);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: block;
    margin-top: auto;
    transition: all 0.2s;
}

.tool-card .btn-launch:hover {
    background-color: var(--accent-color);
    color: white;
}

/* === PORTFOLIO SAYFASI STİLLERİ === */
.portfolio-grid { /* This is for the dedicated portfolio page, overriding the simpler one above */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.project-card .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay .project-category {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.project-overlay .project-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

/* === TEKLİF AL SAYFASI STİLLERİ === */
.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Changed to 1.2fr from 1.5fr for consistency */
    gap: 60px; /* Changed to 60px from 40px for consistency */
    align-items: flex-start;
    margin-top: 40px; /* Changed to 40px from 50px for consistency */
}

.contact-info h1 {
    font-size: 42px;
    color: var(--text-color-strong);
    line-height: 1.3; /* Changed to 1.3 from 1.2 for consistency */
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 17px; /* Changed to 17px from 16px for consistency */
    color: var(--text-muted-color);
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    margin-bottom: 15px; /* Added margin-bottom from one block */
    color: var(--text-color); /* Added color from one block */
}

.info-list li i {
    color: var(--accent-color);
    font-size: 20px;
    width: 20px; /* Added width from one block */
    text-align: center; /* Added text-align from one block */
}

/* Form Stilleri */
.quote-form {
    padding: 40px; /* Added padding from a complete block */
}

.quote-form .form-group {
    margin-bottom: 20px;
}

.quote-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color-strong); /* Changed to text-color-strong for consistency */
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color); /* Changed from 3px to 2px for consistency */
}

.quote-form textarea {
    resize: vertical;
    min-height: 120px;
}

.quote-form .btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px; /* Changed to 16px from 18px for consistency */
    font-weight: 600;
    color: white;
    background-color: var(--accent-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.2s; /* Combined transitions */
}

.quote-form .btn-submit:hover {
    opacity: 0.9;
}

.quote-form .btn-submit i { /* Only present in one block, keeping it */
    margin-left: 10px;
}

/* BAŞARI VE HATA MESAJLARI */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.alert.success {
    background-color: #28a74520;
    color: #28a745;
    border: 1px solid #28a745;
}

.alert.error {
    background-color: #dc354520;
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* === HİZMETLER SAYFASI STİLLERİ === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.service-card .icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--text-color-strong);
    margin-bottom: 10px;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-card .price {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted-color);
    margin-bottom: 20px;
}

.service-card .price span {
    font-weight: 700;
    color: var(--text-color);
}

.service-card .btn-detail {
    background-color: var(--primary-color);
    color: var(--text-color-strong);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: block;
    transition: background-color 0.2s;
}

.service-card .btn-detail:hover {
    background-color: var(--accent-color);
    color: white;
}

/* SSS Bölümü */
.faq-section {
    max-width: 800px;
    margin: 80px auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-color-strong);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item .answer {
    padding: 0 20px 20px 20px;
    color: var(--text-muted-color);
}

/* CTA Bölümü */
.cta-section {
    text-align: center;
    background-color: var(--card-color);
    padding: 50px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 32px;
    color: var(--text-color-strong);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-muted-color);
    margin-bottom: 30px;
}

.cta-section .btn {
    font-size: 18px;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
}

/* --- BLOG DETAY SAYFASI İÇİN STİLLER --- */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 40px;
}

.post-content {
    padding: 30px 40px;
}

.post-content .post-category {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.post-content h1 {
    font-size: 40px;
    color: var(--text-color-strong);
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-content .post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted-color);
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-content .post-meta img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-content .featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.post-body {
    font-size: 16px;
    color: var(--text-color);
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2,
.post-body h3 {
    color: var(--text-color-strong);
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body a {
    font-weight: 600;
}

.post-body blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--text-muted-color);
}

.post-body ul,
.post-body ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.social-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-share h4 {
    margin-bottom: 15px;
    color: var(--text-color-strong);
}

.social-share .share-buttons a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 8px;
    margin-right: 10px;
    color: white;
    font-size: 14px;
}

.share-buttons a.twitter {
    background-color: #1DA1F2;
}

.share-buttons a.facebook {
    background-color: #1877F2;
}

.share-buttons a.whatsapp {
    background-color: #25D366;
}

.share-buttons a.linkedin {
    background-color: #0A66C2;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    padding: 25px;
}

.widget-title {
    font-size: 20px;
    color: var(--text-color-strong);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.author-widget {
    text-align: center;
}

.author-widget img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

.author-widget h5 {
    font-size: 18px;
    color: var(--text-color-strong);
}

.author-widget p {
    font-size: 14px;
    color: var(--text-muted-color);
}

.recent-posts-list .post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-posts-list .post-item:last-child {
    margin-bottom: 0;
}

.recent-posts-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-posts-list h6 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    transition: color 0.2s;
}

.recent-posts-list a:hover h6 {
    color: var(--accent-color);
}

/* === BLOG SAYFASI STİLLERİ === */
/* Manşet Yazısı */
.featured-post-link {
    display: block;
    text-decoration: none;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
    padding: 20px;
}

.featured-post .featured-image {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.featured-post .post-category {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.featured-post h2 {
    font-size: 32px;
    color: var(--text-color-strong);
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-post .post-excerpt {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Blog Grid */
.section-title {
    font-size: 28px;
    color: var(--text-color-strong);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.post-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.post-card .post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-card .post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card .post-category {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 10px;
}

.post-card h3 {
    font-size: 20px;
    color: var(--text-color-strong);
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.post-card .post-meta {
    font-size: 14px;
    color: var(--text-muted-color);
}

/* Sayfalandırma */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination .page-link {
    color: var(--text-color);
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.pagination .page-link:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination .page-link.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination .page-link.disabled {
    color: var(--text-muted-color);
    opacity: 0.6;
    cursor: not-allowed;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 40px 20px; /* Most common padding, some had 20px for margin-top */
    margin-top: 60px; /* Most common margin-top, some had 24px or 40px */
    border-top: 1px solid var(--border-color);
    color: var(--text-muted-color);
    font-size: 14px; /* Added from one footer block */
}

footer .social-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
}

footer .social-links a {
    color: var(--text-muted-color);
}

footer .social-links a:hover {
    color: var(--accent-color);
}

/* === RESPONSIVE TASARIM === */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 992px) {
    .main-layout,
    .bottom-layout,
    .quote-layout,
    .post-layout {
        grid-template-columns: 1fr;
    }

    header nav {
        display: none;
    }
}

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

    .summary-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .post-content {
        padding: 20px;
    }

    .post-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .main-post {
        flex-direction: column;
    }

    .main-post .content {
        padding: 0;
        margin-top: 15px;
    }

    .summary-card { /* This media query for summary-card was also present in a 576px block */
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) { /* Specific to portfolio page */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}