/* MCM ortaq dizayn sistemi — index/services görünüşü (cases, blog, blog-details üçün) */

:root {
    --white: #FEFFFF;
    --black: #111111;
    --blue: #002561;
    --grey: #D6D6D6;
    --mono: 'JetBrains Mono', monospace;
    --display: 'Space Grotesk', sans-serif;
    --body: "Source Sans 3", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(254, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey);
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 34px;
    width: auto;
    border-radius: 4px;
}

.nav_list {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav_list a {
    color: var(--black);
    opacity: 0.7;
    font-size: 14px;
    font-weight: 500;
    transition: opacity .2s ease;
}

.nav_list a:hover,
.nav_list a.active {
    opacity: 1;
    color: var(--blue);
}

.openMenu {
    display: none;
    color: var(--black);
    font-size: 22px;
    cursor: pointer;
}

/* ===== PAGE HERO ===== */
.page_hero {
    padding-top: 76px;
    background: var(--white);
    background-image:
        linear-gradient(rgba(0, 37, 97, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 37, 97, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

.page_hero_inner {
    padding: 80px 0 70px;
}

.hero_text_col {
    padding: 3px;
}

.page_hero_eyebrow {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page_hero_eyebrow::before {
    content: '●';
    font-size: 9px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.page_hero h1 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    color: var(--black);
    letter-spacing: -0.01em;
    max-width: 820px;
}

.page_hero h1 em {
    font-style: normal;
    color: var(--blue);
}

.page_hero p.lead {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 620px;
}

.page_hero_status {
    margin-top: 60px;
    border-top: 1px solid var(--grey);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    font-family: var(--mono);
}

.status_item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 130px;
}

.status_item .label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
}

.status_item .value {
    font-size: 15px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status_item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

/* ===== SECTION ===== */
.section {
    padding: 90px 0;
}

.section.tint {
    background: #F7F8FA;
}

.section_head {
    max-width: 640px;
    margin-bottom: 48px;
}

.section_head .eyebrow {
    margin-bottom: 18px;
}

.section_head h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--black);
}

.section_head p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* ===== BUTTONS ===== */
.btn_primary {
    background: var(--blue);
    color: var(--white);
    padding: 15px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 37, 97, 0.25);
}

.btn_ghost {
    border: 1px solid var(--grey);
    width: 100%;
    color: var(--black);
    padding: 15px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 15px;
    background: transparent;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.btn_ghost:hover {
    background: rgba(0, 37, 97, 0.05);
    border-color: var(--blue);
}

/* ===== BLOG GRID (blog.html) ===== */
.blog_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--grey);
    border: 1px solid var(--grey);
}

.blog_card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: background .25s ease;
}

.blog_card:hover {
    background: #F7F8FA;
}

.blog_img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F0F1F3;
}

.blog_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog_card:hover .blog_img img {
    transform: scale(1.04);
}

.blog_card .blog_content {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog_date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog_card .blog_content h2 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--black);
}

.blog_card .blog_content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read_more {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--blue);
    letter-spacing: 0.05em;
    margin-top: auto;
}

/* ===== CASES / INDUSTRIES (cases.html) ===== */
.industries_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 56px;
}

.industries_nav span {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border: 1px solid var(--grey);
    border-radius: 4px;
    cursor: pointer;
    color: #555;
    transition: border-color .2s ease, color .2s ease;
}

.industries_nav span:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.industry {
    padding-bottom: 64px;
}

.industry:last-child {
    padding-bottom: 0;
}

.industry>h2 {
    font-family: var(--display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--grey);
}

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

.case {
    background: var(--white);
    border: 1px solid var(--grey);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .2s ease;
}

.case:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.case img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.case h3 {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 600;
    padding: 20px 22px 0;
    color: var(--black);
    line-height: 1.3;
}

.case p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    padding: 10px 22px 24px;
}

/* ===== BLOG DETAILS (blog-details.html) ===== */
.blog_details {
    padding: 76px 0 0;
}

.blog_details .container {
    max-width: 820px;
}

.blog_details_inner {
    padding: 70px 0 90px;
}

#blogHeader h1 {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--black);
    letter-spacing: -0.01em;
}

.blog_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
    font-family: var(--mono);
    font-size: 13px;
    color: #888;
}

#blogBanner {
    margin: 42px 0;
}

#blogBanner img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

#blogContent p {
    font-size: 16.5px;
    line-height: 1.85;
    color: #333;
    margin-bottom: 20px;
}

#blogContent p.blog-description {
    font-size: 19px;
    line-height: 1.7;
    color: #555;
    font-weight: 600;
    margin-bottom: 28px;
}

#blogContent .error-message,
#blogContent .loading-message {
    color: #888;
}

#blogContent .btn {
    display: inline-block;
    margin-top: 16px;
    color: var(--blue);
    font-family: var(--mono);
    font-size: 13px;
}

.blog_share {
    margin-top: 54px;
    padding-top: 30px;
    border-top: 1px solid var(--grey);
}

.blog_share h3 {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.social_share {
    display: flex;
    gap: 14px;
}

.social_share a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: border-color .2s ease, color .2s ease;
}

.social_share a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ===== CTA ===== */
.cta_section {
    background: #F7F8FA;
    padding: 110px 0;
    text-align: center;
}

.cta_section h2 {
    font-family: var(--display);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.15;
    color: var(--black);
}

.cta_section p {
    margin-top: 18px;
    color: #666;
    font-size: 17px;
}

.cta_actions {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== DEMO MODAL ===== */
.demo-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.demo-content {
    background: var(--white);
    padding: 40px;
    width: 420px;
    max-width: 92vw;
    border-radius: 6px;
    position: relative;
    text-align: left;
}

.demo-content h2 {
    font-family: var(--display);
    color: var(--blue);
    margin-bottom: 8px;
}

.demo-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.demo-input {
    padding: 13px 14px;
    border: 1px solid var(--grey);
    border-radius: 4px;
    font-family: var(--body);
    font-size: 14px;
}

.demo-form button {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 13px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    color: #555;
    padding: 64px 0 28px;
    border-top: 1px solid var(--grey);
}

.footer_top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer_brand img {
    height: 30px;
    margin-bottom: 14px;
}

.footer_brand p {
    font-size: 13.5px;
    line-height: 1.7;
    max-width: 280px;
}

.social_links {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.social_links a {
    color: #555;
    font-size: 16px;
    transition: color .2s ease;
}

.social_links a:hover {
    color: var(--blue);
}

.footer_menu h4 {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 16px;
}

.footer_menu ul li {
    margin-bottom: 10px;
}

.footer_menu ul li a,
.footer_menu ul li {
    font-size: 13.5px;
    transition: color .2s ease;
}

.footer_menu ul li a:hover {
    color: var(--blue);
}

.footer_contact h4 {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 16px;
}

.footer_contact p {
    font-size: 13.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer_contact p i {
    color: var(--blue);
}

.footer_bottom {
    border-top: 1px solid var(--grey);
    margin-top: 48px;
    padding-top: 22px;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer_top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav_list {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 18px;
        border-bottom: 1px solid var(--grey);
    }

    .nav_list.open {
        display: flex;
    }

    .openMenu {
        display: block;
    }

    .blog_grid {
        grid-template-columns: 1fr;
    }

    .cases {
        grid-template-columns: 1fr;
    }

    .page_hero_status {
        gap: 20px;
    }

    .cta_actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer_top {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}