@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* =========================================================
   RENKLER
   ========================================================= */

:root {
    --blue: #1f78c8;
    --blue-dark: #145a96;
    --blue-light: #ffffff;

    --text: #16324a;
    --muted: #667788;

    --white: #ffffff;
    --border: #d9e7f2;

    --navy: #16324a;
    --ice: #eaf4fb;
    --light-blue: #d9e7f2;
}


/* =========================================================
   TEMEL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);

    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 6px;
}

p {
    line-height: 1.75;
}


/* =========================================================
   GENEL BAŞLIKLAR
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.3;
}


/* =========================================================
   GENEL CONTAINER
   ========================================================= */

.section-container {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
}


/* =========================================================
   HEADER / HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100svh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--navy);
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 31, 52, 0.78) 0%,
            rgba(10, 31, 52, 0.58) 45%,
            rgba(10, 31, 52, 0.28) 100%
        );

    z-index: 1;
}

.header,
.content {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
}

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


/* =========================================================
   HEADER - TR / EN AYNI YAPI
   ========================================================= */

.hero .header,
.header {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 18px 5%;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;

    background: rgba(255, 255, 255, 0.97);
    color: #12345b;

    box-shadow: 0 2px 12px rgba(18, 52, 91, 0.08);
    backdrop-filter: blur(10px);
}


/* Logo */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    justify-self: start;
    flex-shrink: 0;

    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.brand-logo {
    display: block;

    width: 200px;
    height: 50px;
    max-width: 200px;

    object-fit: contain;
    object-position: left center;
}


/* Navigasyon */

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: nowrap;

    gap: 18px;

    min-width: 0;
}

.navigation a {
    flex: 0 0 auto;
    white-space: nowrap;

    padding-block: 10px;

    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

.mobile-navigation-header,
.mobile-navigation-language,
.navigation-arrow {
    display: none;
}

.header-offer {
    flex-shrink: 0;

    padding: 14px 20px;

    background: rgba(5, 19, 31, 0.8);
    color: var(--white);

    font-size: 0.86rem;
    font-weight: 600;
}


/* Menü butonu */

.menu-toggle {
    display: none;

    min-height: 44px;

    padding: 10px 14px;

    border: 1px solid #73808c;

    background: var(--navy);
    color: var(--white);

    font: inherit;

    cursor: pointer;
}

.menu-icon {
    display: grid;
    gap: 5px;
    width: 28px;
}

.menu-icon span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}


/* Dil seçici */

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: nowrap;
    flex: 0 0 auto;

    gap: 7px;
    margin-left: 0;

    white-space: nowrap;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.language-switcher a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--blue);
}

.language-switcher span {
    color: var(--border);
    font-weight: 400;
}


/* =========================================================
   HERO İÇERİK
   ========================================================= */

.content {
    margin-top: auto;

    padding-top: 140px;
    padding-bottom: clamp(64px, 9vh, 120px);

    color: var(--white);
}

.hero .content h1 {
    max-width: 850px;
    margin: 0 0 28px;

    color: var(--white);

    font-size: clamp(3rem, 6vw, 5.6rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.055em;

    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.22);
}

.hero .content h1 span {
    color: #8fcdf0;
    font-weight: 500;
}

.description,
.hero .description {
    max-width: 620px;

    margin: 24px 0 36px;

    color: rgba(255, 255, 255, 0.88);

    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}

.hero .actions {
    margin-top: 8px;
}


/* =========================================================
   BUTONLAR
   ========================================================= */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 52px;

    padding: 15px 30px;

    border: 1px solid transparent;
    border-radius: 4px;

    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.button-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(31, 120, 200, 0.20);
}

.button-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(31, 120, 200, 0.28);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.08);
    color: var(--white);

    backdrop-filter: blur(6px);
}

.button-secondary:hover {
    border-color: var(--white);

    background: rgba(255, 255, 255, 0.16);
    color: var(--white);

    transform: translateY(-2px);
}


/* =========================================================
   BÖLÜM BAŞLIKLARI
   ========================================================= */

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 0 0 20px;

    color: var(--blue);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";

    width: 40px;
    height: 1px;

    background: currentColor;
}

.section-title {
    margin: 0 0 56px;

    color: var(--text);

    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}


/* =========================================================
   1 — HİZMETLER / BEYAZ
   ========================================================= */

.solutions {
    padding: 100px 0;
    background: var(--white);
    color: var(--text);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 1px;

    background: var(--border);
    border: 1px solid var(--border);
}

.solution-card {
    padding: 36px 28px;

    background: var(--white);
    color: var(--text);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.solution-card:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
}

.solution-number {
    display: block;

    margin-bottom: 40px;

    color: var(--blue);

    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.solution-card h3 {
    margin: 0 0 16px;
}

.solution-card p {
    margin: 0;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.75;
}

.solutions .text-link {
    color: var(--blue);
}

.solutions .text-link:hover {
    color: var(--blue-dark);
}


/* =========================================================
   2 — ÜRÜNLER / AÇIK MAVİ
   ========================================================= */

.products {
    padding: 100px 0;

    background: var(--blue-light);
    color: var(--text);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1px;

    background: var(--border);
    border: 1px solid var(--border);
}

.product-card {
    padding: 40px;

    background: var(--white);
    color: var(--text);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    background: #f7fbfe;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 50, 74, 0.08);
}

.product-code {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 28px;

    color: var(--blue);

    font-family: monospace;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
}

.product-code::after {
    content: "";

    flex: 1;

    height: 1px;

    background: var(--border);
}

.product-card h3 {
    margin: 0 0 12px;
    color: var(--text);
}

.product-card p {
    margin: 0;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.7;
}

.products .text-link {
    color: var(--blue);
}

.products .text-link:hover {
    color: var(--blue-dark);
}


/* =========================================================
   3 — HAKKIMIZDA / BEYAZ
   ========================================================= */

.about {
    padding: 100px 0;

    background: var(--white);
    color: var(--text);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 80px;
    align-items: center;
}

.about-photo {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.about .section-title {
    margin-bottom: 24px;
}

.about-description {
    margin: 0 0 28px;

    color: var(--muted);

    font-size: 1.0625rem;
    line-height: 1.8;
}

.about .button-secondary {
    background: var(--white);
    color: var(--blue);

    border-color: var(--blue);

    backdrop-filter: none;
}

.about .button-secondary:hover {
    background: var(--blue);
    color: var(--white);

    border-color: var(--blue);
}


/* =========================================================
   4 — PROJELER / AÇIK MAVİ
   ========================================================= */

.projects {
    padding: 100px 0;

    background: var(--blue-light);
    color: var(--text);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2px;
}

.project-card {
    display: block;

    overflow: hidden;

    background: var(--white);
    color: var(--text);
}

.project-card img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.025);
}

.project-info {
    padding: 22px 24px 26px;

    background: var(--white);
}

.project-code {
    display: block;

    margin-bottom: 12px;

    color: var(--blue);

    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.project-info h3 {
    margin: 0;

    color: var(--text);

    font-size: 1.25rem;
    line-height: 1.35;
}

.projects .text-link {
    color: var(--blue);
}

.projects .text-link:hover {
    color: var(--blue-dark);
}


/* =========================================================
   5 — NEDEN ÖZGÜN SOĞUTMA / BEYAZ
   ========================================================= */

.why-us {
    padding: 100px 0;

    background: var(--white);
    color: var(--text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 1px;

    background: var(--border);
    border: 1px solid var(--border);
}

.value-card {
    padding: 36px 28px;

    background: var(--white);
    color: var(--text);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.value-card:hover {
    background: #f8fbfd;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(22, 50, 74, 0.10);
}

.value-number {
    display: block;

    margin-bottom: 24px;

    color: var(--blue);

    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.value-card h3 {
    margin: 0 0 14px;
    color: var(--text);
}

.value-card p {
    margin: 0;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   6 — İLETİŞİM CTA / AÇIK MAVİ
   ========================================================= */

.contact-banner {
    padding: 120px 0;

    background: var(--white);

    color: var(--text);

    text-align: center;
}

.contact-banner .section-eyebrow {
    justify-content: center;

    margin-bottom: 28px;

    color: var(--blue);
}

.contact-banner .section-eyebrow::after {
    content: "";

    width: 40px;
    height: 1px;

    background: currentColor;
}

.contact-banner h2 {
    max-width: 700px;

    margin: 0 auto 24px;

    color: var(--text);

    font-size: clamp(2rem, 4.5vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.contact-description {
    max-width: 540px;

    margin: 0 auto 36px;

    color: var(--muted);

    font-size: 1.0625rem;
    line-height: 1.8;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-button {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;
    color: var(--white);

    font-size: 0;

    text-decoration: none;

    z-index: 9999;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-button:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.whatsapp-button svg {
    display: block;

    width: 30px;
    height: 30px;
}


/* =========================================================
   TABLET / MENÜ
   ========================================================= */

@media (max-width: 900px) {

    .hero .header,
    .header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header-offer {
        display: none;
    }

    .navigation {
        display: none;

        width: 100%;

        padding: 16px;

        background: #102638;
    }

    .navigation.is-open {
        display: block;
    }

    .language-switcher {
        margin-left: 0;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

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


/* =========================================================
   DAR TABLET
   ========================================================= */

@media (max-width: 800px) {

    .project-card img {
        height: 330px;
    }
}


/* =========================================================
   TABLET / SLIDER MENÜ
   ========================================================= */

@media (max-width: 900px) {

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(11, 35, 58, 0.42);
    }

    body.menu-open .hero .content {
        visibility: hidden;
    }

    body.menu-open .header {
        position: relative;
        z-index: 10000;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 64px;
        min-width: 64px;
        height: 52px;
        border: 0;
        padding: 12px 16px;
        background: transparent;
        color: var(--blue);
        position: relative;
        z-index: 10001;
    }

    .menu-toggle:focus-visible,
    .menu-close:focus-visible {
        outline: 3px solid #8fc1ff;
        outline-offset: 3px;
    }

    .navigation.is-open {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        width: min(78vw, 540px);
        height: 100vh;
        padding: 28px 22px 24px;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 14px 0 36px rgba(8, 32, 56, 0.18);
        animation: mobile-menu-in 0.24s ease-out both;
    }

    .mobile-navigation-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 24px;
        border-bottom: 1px solid #e4eaf0;
    }

    .mobile-navigation-brand .brand-logo {
        width: 210px;
        height: 52px;
        max-width: 58vw;
    }

    .menu-close {
        width: 48px;
        height: 48px;
        border: 0;
        background: transparent;
        color: var(--navy);
        font: 2.7rem/1 sans-serif;
        cursor: pointer;
    }

    .navigation .navigation-link {
        display: grid;
        grid-template-columns: 1fr 24px;
        align-items: center;
        gap: 8px;
        min-height: 68px;
        padding: 10px 8px;
        border-radius: 8px;
        color: var(--navy);
        font-size: 1.08rem;
        font-weight: 600;
    }

    .navigation .navigation-link:first-of-type {
        margin-top: 14px;
    }

    .navigation .navigation-link[aria-current="page"] {
        background: #edf4ff;
        color: var(--blue);
    }

    .navigation-arrow {
        display: block;
        color: var(--blue);
        font-size: 2rem;
        font-weight: 400;
        text-align: right;
    }

    .mobile-navigation-language {
        display: block;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #e4eaf0;
    }

    .mobile-navigation-language .language-switcher {
        justify-content: flex-start;
        font-size: 1rem;
    }

    .desktop-language-switcher {
        display: none;
    }

    @keyframes mobile-menu-in {
        from { transform: translateX(-18px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 600px) {

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(11, 35, 58, 0.42);
    }

    body.menu-open .hero .content {
        visibility: hidden;
    }

    .header,
    .content {
        width: calc(100% - 40px);
    }

    .hero .header {
        width: 100%;
        padding: 16px 20px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 64px;
        min-width: 64px;
        height: 52px;
        border: 0;
        padding: 12px 16px;
        background: transparent;
        color: var(--blue);
    }

    .menu-toggle:focus-visible,
    .menu-close:focus-visible {
        outline: 3px solid #8fc1ff;
        outline-offset: 3px;
    }

    .navigation.is-open {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        width: min(78vw, 540px);
        height: 100vh;
        padding: 28px 22px 24px;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 14px 0 36px rgba(8, 32, 56, 0.18);
        animation: mobile-menu-in 0.24s ease-out both;
    }

    .mobile-navigation-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 24px;
        border-bottom: 1px solid #e4eaf0;
    }

    .mobile-navigation-brand .brand-logo {
        width: 210px;
        height: 52px;
        max-width: 58vw;
    }

    .menu-close {
        width: 48px;
        height: 48px;
        border: 0;
        background: transparent;
        color: var(--navy);
        font: 2.7rem/1 sans-serif;
        cursor: pointer;
    }

    .navigation .navigation-link {
        display: grid;
        grid-template-columns: 1fr 24px;
        align-items: center;
        gap: 8px;
        min-height: 68px;
        padding: 10px 8px;
        border-radius: 8px;
        color: var(--navy);
        font-size: 1.08rem;
        font-weight: 600;
    }

    .navigation .navigation-link:first-of-type {
        margin-top: 14px;
    }

    .navigation .navigation-link[aria-current="page"] {
        background: #edf4ff;
        color: var(--blue);
    }

    .navigation-arrow {
        display: block;
        color: var(--blue);
        font-size: 2rem;
        font-weight: 400;
        text-align: right;
    }

    .mobile-navigation-language {
        display: block;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #e4eaf0;
    }

    .mobile-navigation-language .language-switcher {
        justify-content: flex-start;
        font-size: 1rem;
    }

    .desktop-language-switcher {
        display: none;
    }

    @keyframes mobile-menu-in {
        from { transform: translateX(-18px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .brand {
        gap: 8px;

        font-size: 0.875rem;
        letter-spacing: 0.04em;
    }

    .brand-logo {
        width: 180px;
        height: 45px;
        max-width: 180px;
    }

    .content {
        padding-top: 90px;
        padding-bottom: 56px;
    }

    .hero .content h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .description {
        font-size: 1rem;
    }

    .button {
        padding-inline: 20px;
    }

    .section-container {
        width: calc(100% - 40px);
    }

    .section-title {
        margin-bottom: 32px;
    }

    .solutions {
        padding: 64px 0;
    }

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

    .solution-card {
        padding: 28px;
    }

    .solution-number {
        margin-bottom: 24px;
    }

    .products {
        padding: 64px 0;
    }

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

    .product-card {
        padding: 28px;
    }

    .about {
        padding: 64px 0;
    }

    .about-description {
        font-size: 1rem;
    }

    .projects {
        padding: 64px 0;
    }

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

    .project-card img {
        height: 260px;
    }

    .project-info {
        padding: 22px;
    }

    .why-us {
        padding: 64px 0;
    }

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

    .contact-banner {
        padding: 72px 0;
    }

    .contact-description {
        font-size: 1rem;
    }
}


/* =========================================================
   HAREKET AZALTMA
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .project-card img,
    .button,
    .solution-card,
    .product-card,
    .value-card {
        transition: none;
    }

    .project-card:hover img,
    .button:hover,
    .solution-card:hover,
    .product-card:hover,
    .value-card:hover {
        transform: none;
    }
}