:root {
    --primary-dark: #122130;
    --bg-light: #dfe8f2;
    --bg-darkest: #1a1a1a;
    --text-dark: #333;
    --text-light: #ffffff;
    --text-muted: #666;
    --primary-light-border: #bacadb;
    --primary-hover: #2a4a68;
}

@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.navbar {
    padding: 1.2rem 0;
    border-bottom: 1px solid #000000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: var(--primary-dark);
    backdrop-filter: blur(5px);
    transform: translateZ(0);
    will-change: transform;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 55px;
    /* Desktop */
    width: auto;
    margin: -10px 0;
    transition: height 0.3s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.navbar nav ul {
    display: flex;
    gap: 1.5rem;
}

.navbar nav a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--bg-light);
}

.hero {
    background-image: url('images/adalet_heykeli.webp');
    background-color: var(--primary-dark);
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 85vh;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    padding-top: 80px;
    will-change: transform;
}

@media (max-width: 768px) {
    .hero {
        position: relative;
        overflow: hidden;
        min-height: 42vh !important;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 90px;
        background-image: none !important;
        background-color: #122130;
    }

    .hero::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        background-image: url('images/adalet_heykeli-mobil.webp');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        z-index: 0;
        top: 50px !important;
    }

    .hero-overlay {
        z-index: 1 !important;
        position: absolute;
        top: 0;
        width: 60vw;
        height: 25vh;
        background: rgba(18, 33, 48, 0.65);
        border-radius: 1.5rem;
        pointer-events: none;
    }

    .hero-content {
        z-index: 2 !important;
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 0.5rem;
    }

    .hero h1,
    .hero h2,
    .hero p {
        text-align: left;
        margin-top: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 33, 48, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.services-preview {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.services-preview h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.service-card {
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    background-color: var(--bg-light);
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(18, 33, 48, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(18, 33, 48, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.service-card .icon-placeholder {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-link {
    font-weight: 600;
    color: var(--primary-dark);
}

.service-link:hover {
    color: var(--primary-hover);
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

.btn-blue {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-dark);
}

.btn-blue:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.features-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.btn-outline-white {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline-white:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.features-image {
    width: 100%;
}

.image-placeholder-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

.testimonials-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    margin-top: 3rem;
}

.testimonial-card {
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    padding: 2rem;
    background-color: var(--bg-light);
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
}

.testimonial-card .stars {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 3px solid var(--primary-light-border);
    padding-left: 1rem;
    margin-left: -1rem;
    margin-bottom: 1.5rem;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-white-solid {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: var(--text-light);
    color: var(--primary-dark);
    border: 2px solid var(--text-light);
}

.btn-white-solid:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.footer {
    background-color: var(--bg-darkest);
    color: #ccc;
    padding: 5rem 0 2rem 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: inline-block;
    white-space: nowrap;
}

.footer-col p {
    line-height: 1.7;
    color: #aaa;
    max-width: 350px;
}

.footer-col h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--text-light);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.contact-list span {
    font-size: 1.1rem;
    margin-right: 0.8rem;
    margin-top: 3px;
    color: var(--text-light);
}

.contact-list a {
    color: #ccc;
}

.contact-list a:hover {
    color: var(--text-light);
}

.footer-bottom {
    margin-top: 4rem;
    text-align: center;
}

.footer-bottom hr {
    border: 0;
    height: 1px;
    background-color: #444;
    margin-bottom: 2rem;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

.page-header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding-top: 120px;
    padding-bottom: 4rem;
    text-align: center;
}

.contact-header {
    background-image: url('images/blackphone.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 33, 48, 0.85);
    z-index: 0;
}

.contact-header>* {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-content {
    background-color: var(--bg-light);
    padding: 5rem 0 2.5rem 0;
    /* Reduced bottom padding */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    /* Stretch to make heights equal */
}

.about-image {
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio while filling height */
    border-radius: 12px;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    /* Match parent height */
    min-height: 400px;
    /* Fallback */
    background-color: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

.about-text-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

.values-section {
    background-color: var(--bg-light);
    padding: 2.5rem 0 5rem 0;
    /* Reduced top padding */
    text-align: center;
}

.values-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    background-color: var(--bg-light);
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(18, 33, 48, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* --- Article Table of Contents (TOC) Styles --- */
.article-toc {
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 1.2rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    max-width: 800px;
}

.article-toc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.article-toc-title::-webkit-details-marker {
    display: none;
}

.article-toc-title::after {
    content: '\25BC';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.article-toc[open]>.article-toc-title::after {
    transform: rotate(180deg);
}

.article-toc ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.article-toc li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.article-toc a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
}

.article-toc a:hover {
    color: #555555;
    text-decoration: underline;
}

/* Hierarchy indentation */
.article-toc .toc-h2 {
    margin-left: 1.5rem;
    font-size: 0.95rem;
}

.article-toc .toc-h3 {
    margin-left: 3rem;
    font-size: 0.9rem;
    color: #333;
}


.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.approach-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.approach-col {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.approach-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.approach-icon {
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.approach-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.approach-body p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
}

.services-list-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 40% 60%;
    border: 1px solid var(--primary-light-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
}

.service-detail-card:nth-child(even) {
    grid-template-columns: 60% 40%;
}

.service-detail-image-col {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-box i {
    font-size: 3rem;
}

.service-detail-image-col h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.service-detail-text-col {
    padding: 3rem;
    background-color: var(--bg-light);
}

.service-detail-text-col h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-detail-text-col p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-detail-text-col .btn {
    margin-top: 1.5rem;
}

.page-cta {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}

.page-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

.contact-cards-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background-color: var(--bg-light);
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(18, 33, 48, 0.1);
}

.contact-card-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-card strong {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info-section {
    background-color: var(--bg-light);
    padding-bottom: 5rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.sidebar-card {
    border: 1px solid var(--primary-light-border);
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
}

.sidebar-card.solid {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: none;
}

.sidebar-card.solid h3 {
    color: var(--text-light);
}

.sidebar-card.solid p,
.sidebar-card.solid li {
    color: #eee;
    opacity: 0.9;
}

.sidebar-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 i {
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.sidebar-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.sidebar-card li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.sidebar-card li i {
    margin-right: 0.5rem;
    color: var(--primary-dark);
}

.sidebar-card.solid li i {
    color: var(--text-light);
}

.sidebar-card hr {
    border: 0;
    height: 1px;
    background-color: var(--primary-light-border);
    margin: 1.5rem 0;
}

.sidebar-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-placeholder .placeholder-text {
    color: #888;
    font-size: 1.5rem;
    font-weight: 600;
}

.map-placeholder .placeholder-text span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

.blog-header {
    background-image: url('images/kalin_kitap.webp');
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
    padding-top: 120px;
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 33, 48, 0.85);
    z-index: 0;
}

.blog-header>* {
    position: relative;
    z-index: 1;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 2;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
}

.breadcrumb-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb-list .separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
    margin: 0;
}

.breadcrumb-list .current {
    color: #ffffff;
    font-weight: 500;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
}

.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    padding-left: 3.5rem;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    background-color: var(--bg-light);
}

.search-bar button {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
}

.category-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.category-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    display: block;
    background-color: var(--bg-light);
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 16px rgba(18, 33, 48, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(18, 33, 48, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.category-card .article-count {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.25rem 0 1rem 0;
}

.category-card .category-link {
    font-weight: 600;
    color: var(--primary-dark);
}

.recent-posts-section {
    background-color: var(--bg-light);
    padding: 0 0 5rem 0;
    text-align: center;
}

.recent-posts-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.post-card {
    background-color: var(--bg-light);
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(18, 33, 48, 0.1);
}

.post-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
}

.post-content .post-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.post-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.post-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content .read-more {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===========================
   İLGİLİ MAKALELER BÖLÜMÜ
=========================== */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 30px;
}

.related-article-card {
    background-color: #ffffff;
    border: 1px solid var(--primary-light-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(18, 33, 48, 0.15);
    border-color: var(--primary-dark);
}

.related-article-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.related-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image {
    transform: scale(1.05);
}

.related-article-content {
    padding: 1.5rem;
}

.related-article-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    background-color: rgba(18, 33, 48, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.related-article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-article-card:hover h3 {
    color: var(--primary-dark);
}

.related-article-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.related-article-meta i {
    margin-right: 5px;
}

/* RESPONSIVE TASARIM */
@media (max-width: 992px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-article-image-wrapper {
        height: 180px;
    }
}

.category-description-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.category-description-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.category-description-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.category-description-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.category-description-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.category-description-content ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.category-description-content ul li {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.category-description-content p:last-child {
    margin-bottom: 0;
}

.article-list-section {
    background-color: var(--bg-light);
    padding-bottom: 5rem;
}

.article-list-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.article-header-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 2rem 0;
    text-align: center;
    padding-top: 120px;
}

.article-header-section h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    line-height: 1.3;
}

.post-meta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 0 2rem 0;
}

.post-meta .meta-category {
    font-weight: 600;
    color: var(--text-light);
}

.post-meta .meta-date {
    margin-left: 1rem;
}

.article-image-placeholder {
    width: 100%;
    max-width: 900px;
    height: 450px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto;
    border-radius: 10px;
}

.article-content-section {
    background-color: var(--bg-light);
    padding: 0 0 5rem 0;
}

.article-body-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.article-body-container p {
    margin-bottom: 1.5rem;
}

.article-body-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body-container ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body-container ul li {
    margin-bottom: 0.5rem;
}

.article-body-container blockquote {
    font-style: italic;
    color: #555;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-dark);
    margin: 2rem 0;
}

@media (max-width: 992px) {
    .container {
        width: 95%;
    }

    .navbar nav ul {
        gap: 1rem;
    }

    .navbar nav a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 70vh;
        background-size: auto 80%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid,
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .approach-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .logo img {
        height: 40px;
        /* Mobile size (smaller than desktop) */
        margin: -8px 0;
    }

    .menu-toggle {
        display: block;
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: -150px;
        bottom: 0;
        width: 135px;
        height: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: #122130;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 99;
        margin: 0;
        padding-right: 0;
        padding-bottom: 0;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .navbar nav.active {
        right: 0;
    }

    .navbar nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .navbar nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    }

    .navbar nav a {
        font-size: 0.95rem;
        display: block;
        padding: 1rem 0.8rem;
        width: 100%;
        text-align: left;
        transition: background-color 0.3s ease;
    }

    .navbar nav a:hover,
    .navbar nav a.active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 2rem;
        background-size: 150%;
        background-position: center 40% !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .buttons {
        display: none;
    }

    .services-preview,
    .features-section,
    .testimonials-section,
    .cta-section,
    .page-cta {
        padding: 3rem 0;
    }

    .services-preview h2,
    .features-section h2,
    .testimonials-section h2 {
        font-size: 1.8rem;
    }

    .section-subheading {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .services-grid,
    .testimonials-grid,
    .category-grid,
    .post-grid,
    .values-grid,
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .features-content h2 {
        font-size: 1.8rem;
    }

    .features-intro {
        font-size: 1rem;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .feature-text h4 {
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .footer {
        padding: 3rem 0 1.5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col h4 {
        font-size: 1.1rem;
    }

    .footer-col p,
    .footer-col ul li {
        font-size: 0.9rem;
    }

    .page-header {
        padding-top: 180px;
        padding-bottom: 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .blog-header {
        padding: 3rem 0;
        padding-top: 180px;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-header p {
        font-size: 0.95rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
        padding: 0.5rem 0;
        margin-bottom: 1.25rem;
    }

    .breadcrumb-container {
        padding: 0 3%;
    }

    .breadcrumb-list {
        line-height: 2;
    }

    .breadcrumb-list li {
        margin: 0;
    }

    .breadcrumb-list a,
    .breadcrumb-list .separator,
    .breadcrumb-list .current {
        padding: 0.15rem 0.3rem;
        font-size: 0.75rem;
    }

    .breadcrumb-list .current {
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
        display: inline;
    }

    .search-bar input {
        font-size: 0.9rem;
        padding: 0.9rem 1.2rem;
        padding-left: 3rem;
    }

    .article-header-section {
        padding: 3rem 0 2rem 0;
        padding-top: 180px;
    }

    .article-header-section h1 {
        font-size: 1.8rem;
    }

    .article-image-placeholder {
        height: 250px;
    }

    .article-body-container {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    .article-body-container h2 {
        font-size: 1.4rem;
    }

    .article-body-container p {
        font-size: 0.95rem;
    }

    .service-detail-card,
    .service-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-detail-image-col {
        display: none;
    }

    .service-detail-text-col {
        padding: 2rem 1.5rem;
    }

    .service-detail-text-col h2 {
        font-size: 1.6rem;
    }

    .approach-col {
        flex-direction: column;
        align-items: flex-start;
    }

    .approach-header h3 {
        font-size: 1.2rem;
    }

    .approach-body p {
        font-size: 0.95rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card blockquote {
        font-size: 0.95rem;
    }
}

@media (hover: none) and (pointer: coarse) {

    a,
    button,
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {

    .blog-header,
    .contact-header {
        background-attachment: scroll;
    }
}

.service-card,
.value-card,
.contact-card,
.category-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    .article-image-placeholder {
        display: none;
    }
}

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
}

#cookie-banner .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

#cookie-banner .cookie-text {
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    flex: 1;
    min-width: 200px;
}

#cookie-banner .cookie-text a {
    color: #4da6ff;
    text-decoration: underline;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-banner button {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

#cookie-banner #reject-cookies {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

#cookie-banner #accept-cookies {
    background-color: #4da6ff;
    color: #fff;
    border: 1px solid #4da6ff;
    font-weight: bold;
}

@media (max-width: 600px) {
    #cookie-banner {
        padding: 12px 15px;
    }

    #cookie-banner .cookie-content {
        flex-direction: column;
        gap: 12px;
    }

    #cookie-banner .cookie-text {
        font-size: 12px;
        text-align: center;
        min-width: 100%;
    }

    #cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    #cookie-banner button {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        max-width: 120px;
    }
}

.article-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 5px solid var(--primary-dark);
    padding-left: 15px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.article-body ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    padding-left: 5px;
}

.article-body blockquote {
    background: #f1f5f9;
    border-left: 5px solid #2c3e50;
    margin: 1.5rem 0;
    padding: 1.5rem;
    font-style: italic;
    color: #555;
    border-radius: 4px;
}

.article-body strong {
    font-weight: 700;
    color: #000;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.article-body table th,
.article-body table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.article-body table th {
    background-color: var(--primary-dark);
    color: #fff;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* SEO Text Section */
.seo-text-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.seo-text-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-dark);
}

.seo-content-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content-grid p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: justify;
    margin-bottom: 1.5rem;
}


/* Article TOC Styling - Override for details/summary */
.article-toc {
    border: 1px solid var(--primary-light-border);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    background-color: var(--bg-light);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(18, 33, 48, 0.05);
}

.article-toc-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.article-toc ul {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--primary-light-border);
}

.article-toc ul li {
    list-style: none !important;
    margin-bottom: 0.5rem;
    padding-left: 0 !important;
}

.article-toc ul li a {
    text-decoration: none;
    color: var(--primary-dark);
    transition: color 0.2s;
}

.article-toc ul li a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.toc-h2 {
    margin-left: 0;
    font-weight: 600;
}

.toc-h3 {
    margin-left: 1.5rem;
    font-size: 0.95em;
}

/* =============================================
   HESAPLAMA ARAÇLARI (Calculator Pages)
   ============================================= */

/* === Liste Sayfası === */
.calculator-list-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.calculator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--primary-light-border);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.calculator-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(18, 33, 48, 0.12);
}

.calculator-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(18, 33, 48, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
}

.calculator-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.calculator-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.calculator-card-btn {
    display: inline-block;
    margin-top: auto;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.calculator-card:hover .calculator-card-btn {
    background-color: var(--primary-dark);
    color: #fff;
}

/* === Detay Sayfası === */
.calculator-detail-section {
    background-color: var(--bg-light);
    padding: 3rem 0 4rem 0;
}

.calculator-tool-area {
    margin-bottom: 2rem;
}

.calculator-placeholder {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #ccc;
}

.calculator-content {
    background: #fff;
    border: 1px solid var(--primary-light-border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.calculator-content h2,
.calculator-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.calculator-content ul,
.calculator-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.calculator-content li {
    margin-bottom: 0.4rem;
    list-style: disc;
}

/* === SSS Bölümü (Detay Sayfası) === */
.calculator-faq-section {
    background: #fff;
    border: 1px solid var(--primary-light-border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.calculator-faq-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.calculator-faq-section h2 i {
    margin-right: 8px;
}

.faq-item-display {
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
}

.faq-item-display:last-child {
    border-bottom: none;
}

.faq-item-display h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faq-item-display p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === CTA Bölümü === */
.page-cta {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.page-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.page-cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === Responsive === */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .calculator-card {
        padding: 1.8rem 1.2rem;
    }

    .calculator-content,
    .calculator-faq-section {
        padding: 1.5rem;
    }

    .page-cta h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   CALCULATOR WIDGET STYLES
   ===================================================== */

.calculator-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(18, 33, 48, 0.08);
    margin-bottom: 2rem;
    border: 1px solid var(--primary-light-border);
}

.calc-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.calc-header i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    display: block;
}

.calc-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Elements */
.calc-form-group {
    margin-bottom: 1.2rem;
}

.calc-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.calc-form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.calc-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e5ec;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.calc-input:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(18, 33, 48, 0.1);
    background: #ffffff;
}

.calc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Button */
.calc-btn {
    display: block;
    width: 100%;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-hover));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 33, 48, 0.25);
}

.calc-btn:active {
    transform: translateY(0);
}

.calc-btn i {
    margin-right: 0.5rem;
}

/* Results */
.calc-result {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
    animation: calcFadeIn 0.4s ease;
}

@keyframes calcFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-result h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.calc-result h3 i {
    margin-right: 0.5rem;
}

/* Tables */
.calc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.calc-table th,
.calc-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eef1f5;
    font-size: 0.95rem;
}

.calc-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.calc-table tr:hover {
    background: #f8f9fc;
}

.calc-val {
    text-align: right !important;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.calc-table .calc-highlight {
    background: #eef3fa !important;
}

.calc-table .calc-highlight td {
    border-bottom: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.calc-table .calc-highlight-success {
    background: #e8f5e9 !important;
}

.calc-table .calc-highlight-success td {
    border-bottom: 2px solid #2e7d32;
    color: #2e7d32;
    font-size: 1.05rem;
}

/* Small table variant */
.calc-table-sm th,
.calc-table-sm td {
    padding: 0.5rem 0.75rem;
    font-size: 0.88rem;
}

/* Info & Warning Boxes */
.calc-note {
    background: #f0f4f8;
    border-left: 4px solid var(--primary-dark);
    padding: 0.8rem 1rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.calc-note i {
    margin-right: 0.4rem;
    color: var(--primary-dark);
}

.calc-info-box {
    background: #f8f9fc;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.calc-info-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.calc-warning-box {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-left: 4px solid #ff9800;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5d4037;
}

.calc-warning-box i {
    color: #ff9800;
    margin-right: 0.4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-widget {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .calc-header h2 {
        font-size: 1.3rem;
    }

    .calc-header i {
        font-size: 2rem;
    }

    .calc-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .calc-table th,
    .calc-table td {
        padding: 0.6rem 0.6rem;
        font-size: 0.85rem;
    }

    .calc-val {
        font-size: 0.88rem;
    }

    .calc-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* --- Calculator Article Content Styles --- */
/* Copies typography from .article-body-container but fixes layout for calculator pages */
.calculator-article-content {
    max-width: 100%;
    margin: 2rem 0;
    padding: 0;
    /* Parent container already has padding */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.calculator-article-content p {
    margin-bottom: 1.5rem;
}

.calculator-article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.calculator-article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.calculator-article-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.calculator-article-content ul li {
    margin-bottom: 0.5rem;
}

.calculator-article-content blockquote {
    font-style: italic;
    color: #555;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-dark);
    margin: 2rem 0;
}

/* =====================================================
   NEW MOBILE MENU STYLES (PREMIUM DARK THEME)
   ===================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    /* Align to right */
    left: auto;
    /* Reset left */
    width: 60%;
    /* 60% width */
    height: 100%;
    background-color: #122130;
    z-index: 9999;
    transform: translateX(100%);
    /* Start off-screen right */
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    /* Shadow on left */
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    min-height: 100px;
}

.mobile-logo {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-right: 40px;
    padding-left: 10px;
}

.mobile-logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
}

.mobile-menu-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
}

.mobile-menu-body {
    flex: 1;
    padding: 20px 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #4da6ff;
}

.mobile-nav-links li a i {
    width: 30px;
    text-align: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-links li a.active i {
    color: #4da6ff;
}

.mobile-menu-footer {
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    /* Slightly smaller for narrow width */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    word-break: break-word;
    /* Ensure long emails don't break layout */
}

.mobile-contact-info p i {
    width: 20px;
    margin-right: 10px;
    color: #4da6ff;
    flex-shrink: 0;
}

.mobile-contact-info a {
    color: inherit;
    text-decoration: none;
}

.mobile-social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    /* Center social icons */
}

.mobile-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-social-links a:hover {
    background-color: #0077b5;
    /* LinkedIn Color */
    transform: translateY(-3px);
}

/* Ensure mobile menu works on small screens */
@media (max-width: 480px) {
    .mobile-menu {
        width: 75%;
        /* Slightly wider on very small screens to fit content */
    }
}

/* Ensure mobile menu is HIDDEN on desktop */
@media (min-width: 769px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* =============================================
   YEREL SEO - YOL TARİFİ & ULAŞIM (İletişim)
   ============================================= */

/* Yol Tarifi Butonu */
.direction-section {
    padding: 0 0 1rem 0;
    text-align: center;
}

.direction-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a5c 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(18, 33, 48, 0.25);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.direction-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(18, 33, 48, 0.35);
    background: linear-gradient(135deg, #1a3a5c 0%, var(--primary-dark) 100%);
    color: #fff;
}

.direction-btn:active {
    transform: translateY(-1px);
}

.direction-btn i {
    font-size: 1.3rem;
}

/* Commutes Widget */
.commute-section {
    padding: 3rem 0 4rem 0;
    background-color: var(--bg-light);
}

.commute-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.commute-title i {
    margin-right: 8px;
    color: var(--primary-dark);
}

.commute-widget-wrapper {
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--primary-light-border);
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .direction-btn {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 18px 24px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .commute-title {
        font-size: 1.3rem;
    }

    .commute-widget-wrapper {
        height: 400px;
        border-radius: 8px;
    }
}