/* =========================================================
   YKG METAL
   HAKKIMIZDA SAYFASI
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --color-primary: #F5A807;
    --color-primary-alt: #f5a900;
    --color-primary-dark: #db9200;

    --color-black: #101112;
    --color-dark: #171819;
    --color-dark-2: #1e1e1e;
    --color-dark-3: #262626;
    --color-black-soft: #111;

    --color-white: #fff;

    --color-gray-bg: #f1f1f1;
    --color-light-bg: #f8f8f8;

    --color-text-dark: #222;
    --color-text-strong: #333;
    --color-text: #383838;
    --color-muted: #777;
    --color-muted-2: #686868;

    --color-border: #dedede;
    --color-border-2: #d7d7d7;
    --color-border-3: #e0e0e0;

    --font-body: "Hanken Grotesk", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    --container-width: 1320px;
    --container-width-wide: 1689px;

    --header-height: 85px;
    --section-padding: 92px;

    --transition-fast: .25s ease;
    --transition-normal: .35s ease;
    --transition-slow: .5s ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

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

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

/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: #fff;
    padding: 75px 0 80px;
}


/* =========================================================
   ABOUT GRID
   Sol içerik ne kadar uzarsa sağ taraf da aynı yüksekliğe
   otomatik olarak uzar.
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(400px, .9fr);

    gap: 75px;

    /*
       Grid satırındaki elemanları aynı yüksekliğe getirir.
    */
    align-items: stretch;
}


/* =========================================================
   SOL ABOUT CONTENT
========================================================= */

.about-content {
    height: 100%;
}

.section-label {
    position: relative;
    display: inline-block;

    color: var(--color-primary);

    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 9px;
}


/* =========================================================
   ABOUT TITLE
========================================================= */

.about-content h2 {
    font-size: 50px;
    line-height: 1.08;
    font-weight: 700;

    letter-spacing: -.8px;

    margin-bottom: 24px;
}

.about-content h2 span {
    color: var(--color-primary);
}


/* =========================================================
   STATS
========================================================= */

.about-stats {
    display: flex;
    gap: 55px;
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-family: var(--font-mono);

    font-size: 50px;
    line-height: 1;
    font-weight: 500;

    color: var(--color-black-soft);
}

.stat-item span {
    margin-top: 6px;

    font-size: 14px;
    font-family: var(--font-mono);

    color: #888;

    text-transform: uppercase;
    letter-spacing: .3px;
}


/* =========================================================
   ABOUT PARAGRAPH
========================================================= */

.about-content>p {
    max-width: 713px;
    font-size: 16px;
    line-height: 1.8;
    color: #777;
    margin-bottom: 13px;
}

/* =========================================================
   VİZYON / MİSYON
========================================================= */

.text-block {
    margin-top: 18px;
}

.text-block h3 {
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 7px;
}

.text-block p {
    max-width: 713px;
    color: #777;
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   IMAGE
========================================================= */

.about-image {
    /*
       Grid yüksekliğini tamamen kullanır.
    */
    height: 100%;

    padding-top: 5px;

    display: flex;
}


/* =========================================================
   IMAGE FRAME
========================================================= */

.image-frame {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 7px;

    background: #fff;

    border: 1px solid #ddd;

    overflow: hidden;
}


/* Sol üst köşe */

.image-frame::before {
    content: "";

    position: absolute;

    top: -1px;
    left: -1px;

    width: 25px;
    height: 25px;

    border-top: 2px solid #777;
    border-left: 2px solid #777;

    z-index: 2;
}


/* Sağ alt köşe */

.image-frame::after {
    content: "";

    position: absolute;

    right: -1px;
    bottom: -1px;

    width: 25px;
    height: 25px;

    border-right: 2px solid #777;
    border-bottom: 2px solid #777;

    z-index: 2;
}


/* =========================================================
   IMAGE
========================================================= */

.image-frame img {
    width: 100%;

    /*
       Artık 615px SABİT DEĞİL.

       Sol içerik ne kadar uzarsa .image-frame de o kadar
       uzar ve görsel bu alanı tamamen doldurur.
    */
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.image-frame:hover img {
    transform: scale(1.035);
}


/* =========================================================
   PRINCIPLES
========================================================= */

.principles-section {
    background: #eeeeee;
    padding: 52px 0 70px;
}


/* =========================================================
   PRINCIPLES HEADER
========================================================= */

.principles-header {
    margin-bottom: 30px;
}

.principles-header h2 {
    font-size: clamp(25px, 3vw, 34px);

    font-weight: 700;
    line-height: 1;

    letter-spacing: -.5px;
}


/* =========================================================
   PRINCIPLE GRID
========================================================= */

.principles-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    align-items: start;
}


/* =========================================================
   PRINCIPLE CARD
========================================================= */

.principle-card {
    position: relative;

    min-width: 0;
    min-height: 369px;

    padding: 52px;

    background: #fff;

    border: 1px solid transparent;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}


/* 1. ve 3. kart yukarıda */

.principle-card:nth-child(odd) {
    margin-top: 0;
}


/* 2. ve 4. kart aşağıda */

.principle-card:nth-child(even) {
    margin-top: 34px;
}


/* =========================================================
   CARD HOVER
========================================================= */

.principle-card:hover {
    transform: translateY(-6px);

    border-color: rgba(245, 168, 7, .45);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .08);
}


/* =========================================================
   ICON
========================================================= */

.card-icon {
    width: 30px;
    height: 30px;

    display: flex;

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

    color: var(--color-primary);

    margin-bottom: 27px;
}

.card-icon i {
    color: var(--color-primary);
    font-size: 30px;
}


/* =========================================================
   CARD TEXT
========================================================= */

.principle-card h3 {
    font-size: 26px;
    font-weight: 600;

    margin-bottom: 21px;

    color: #242424;
}

.principle-card p {
    color: #888;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 991px) {

    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-content {
        max-width: 700px;
    }


    /* IMAGE */

    .about-image {
        width: 100%;
        max-width: 650px;

        margin: 0 auto;

        /*
           Mobil/tablet tek kolon olduğu için artık sol içerikle
           aynı yüksekliği paylaşmasına gerek yok.
        */
        height: auto;

        padding-top: 0;
    }

    .image-frame {
        height: auto;
    }

    .image-frame img {
        width: 100%;
        height: 400px;

        object-fit: cover;
    }


    /* PRINCIPLES */

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

    .principle-card:nth-child(even) {
        margin-top: 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    /* ABOUT */

    .about-section {
        padding: 50px 0;
    }

    .about-grid {
        gap: 35px;
    }

    .about-content h2 {
        font-size: 30px;
    }


    /* STATS */

    .about-stats {
        gap: 35px;
    }

    .stat-item strong {
        font-size: 18px;
    }


    /* IMAGE */

    .about-image {
        max-width: 100%;
    }

    .image-frame img {
        height: 280px;
    }


    /* PRINCIPLES */

    .principles-section {
        padding: 45px 0 50px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .principle-card {
        min-height: auto;

        padding: 23px 20px;
    }

    .principle-card:nth-child(even) {
        margin-top: 0;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .about-content h2 {
        font-size: 26px;
    }

    .about-stats {
        gap: 25px;
    }

    .image-frame img {
        height: 230px;
    }
}

/* =========================================================
   EK İÇERİK (panel: Hakkımızda > İçerik > Ek içerik)
   Paragraflar .text-block p ile, listeler aynı ölçüyle.
========================================================= */

.about-body {
    margin: 0 0 24px;
}

.about-body p,
.about-body li {
    max-width: 713px;
    color: #777;
    font-size: 16px;
    line-height: 1.75;
}

.about-body p {
    margin: 0 0 14px;
}

.about-body ul,
.about-body ol {
    margin: 0 0 14px 20px;
    padding: 0;
}