/* =====================================================
   SKILLS PAGE
   SELİN ATEŞ
===================================================== */

:root {
    --skills-black: #030303;
    --skills-white: #ffffff;
    --skills-red: #ff2020;

    --skills-gray: rgba(255,255,255,.42);
    --skills-light: rgba(255,255,255,.68);
    --skills-line: rgba(255,255,255,.09);

    --skills-mono: "DM Mono", monospace;
    --skills-sans: "Figtree", sans-serif;
    --skills-serif: "Instrument Serif", serif;

    --skills-ease: cubic-bezier(.16,1,.3,1);
}


/* =====================================================
   PAGE
===================================================== */

.skills-page {
    position: relative;

    background: var(--skills-black);
    color: var(--skills-white);

    overflow: hidden;
}


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

.skills-hero {
    position: relative;

    min-height: 100vh;

    padding:
        170px
        6vw
        100px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;
}


.skills-hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -300px;
    top: 5%;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 50%;

    box-shadow:
        0 0 0 90px rgba(255,255,255,.008),
        0 0 0 180px rgba(255,255,255,.005),
        0 0 100px rgba(255,32,32,.035);

    animation:
        skillsOrbit 20s linear infinite;

    pointer-events: none;
}


.skills-hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    left: -250px;
    bottom: -250px;

    border: 1px solid rgba(255,32,32,.08);

    border-radius: 50%;

    pointer-events: none;
}


@keyframes skillsOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =====================================================
   HERO NUMBER
===================================================== */

.skills-hero-number {
    position: absolute;

    top: 145px;
    left: 6vw;

    font-family: var(--skills-mono);

    font-size: 9px;

    letter-spacing: .12em;

    color: rgba(255,255,255,.35);
}


.skills-hero-number::before {
    content: "";

    display: inline-block;

    width: 28px;
    height: 1px;

    margin-right: 12px;

    vertical-align: middle;

    background: var(--skills-red);

    box-shadow:
        0 0 10px rgba(255,32,32,.7);
}


/* =====================================================
   HERO LABEL
===================================================== */

.skills-hero-label {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: max-content;

    margin-bottom: 35px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(255,255,255,.1);

    border-radius: 999px;

    background:
        rgba(255,255,255,.025);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-family: var(--skills-mono);

    font-size: 8px;

    letter-spacing: .12em;

    color: rgba(255,255,255,.45);
}


.skills-hero-label span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--skills-red);

    box-shadow:
        0 0 14px rgba(255,32,32,.9);

    animation:
        skillsPulse 1.6s infinite;
}


@keyframes skillsPulse {

    0%,
    100% {
        transform: scale(.8);
        opacity: .45;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
    }

}


/* =====================================================
   HERO CONTENT
===================================================== */

.skills-hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1300px;

    margin: 0 auto;
}


.skills-hero h1 {

    margin: 0;

    font-family: var(--skills-sans);

    font-size:
        clamp(
            75px,
            14vw,
            210px
        );

    font-weight: 500;

    line-height: .74;

    letter-spacing: -.085em;

    text-transform: uppercase;
}


.skills-hero h1 em {

    font-family: var(--skills-serif);

    font-size: 1.05em;

    font-style: italic;

    font-weight: 400;

    color: rgba(255,255,255,.88);
}


.skills-hero h1 em::after {

    content: "";

    display: inline-block;

    width: 7px;
    height: 7px;

    margin-left: 7px;

    border-radius: 50%;

    background: var(--skills-red);

    box-shadow:
        0 0 15px rgba(255,32,32,.8);
}


.skills-hero-content p {

    max-width: 470px;

    margin:
        65px
        0
        0;

    padding: 20px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 20px;

    background:
        rgba(255,255,255,.018);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-family: var(--skills-sans);

    font-size: 14px;

    line-height: 1.8;

    color: rgba(255,255,255,.43);
}


/* =====================================================
   HERO BOTTOM
===================================================== */

.skills-hero-bottom {

    position: absolute;

    left: 6vw;
    right: 6vw;
    bottom: 30px;

    display: flex;

    justify-content: space-between;

    font-family: var(--skills-mono);

    font-size: 7px;

    letter-spacing: .12em;

    color: rgba(255,255,255,.28);
}


/* =====================================================
   SCROLL
===================================================== */

.skills-scroll {

    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 12px;

    font-family: var(--skills-mono);

    font-size: 7px;

    letter-spacing: .12em;

    color: rgba(255,255,255,.28);
}


.skills-scroll strong {

    font-size: 16px;

    font-weight: 400;

    color: rgba(255,255,255,.7);

    animation:
        skillsArrow 1.5s infinite;
}


@keyframes skillsArrow {

    0%,
    100% {
        transform: translateY(0);
        opacity: .4;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }

}


/* =====================================================
   SKILLS SECTION
===================================================== */

.skills-section {

    position: relative;

    margin:
        0
        5vw
        80px;

    padding:
        55px
        5vw
        90px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 30px;

    background:
        rgba(255,255,255,.018);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.05),
        0 30px 100px rgba(0,0,0,.22);
}


.skills-section::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );
}


/* =====================================================
   SECTION TOP
===================================================== */

.skills-section-top {

    display: flex;

    justify-content: space-between;

    padding-bottom: 25px;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

    font-family: var(--skills-mono);

    font-size: 7px;

    letter-spacing: .12em;

    color: rgba(255,255,255,.3);
}


/* =====================================================
   SKILLS LIST
===================================================== */

.skills-list {

    position: relative;

    width: 100%;
}


/* =====================================================
   SKILL ITEM
===================================================== */

.skill-item {

    position: relative;

    min-height: 145px;

    display: grid;

    grid-template-columns:
        70px
        minmax(0,1fr)
        170px
        100px
        45px;

    align-items: center;

    gap: 20px;

    border-bottom:
        1px solid
        rgba(255,255,255,.075);

    cursor: pointer;

    transition:
        padding .6s var(--skills-ease),
        transform .6s var(--skills-ease),
        background .4s ease;
}


.skill-item:first-child {

    border-top:
        1px solid
        rgba(255,255,255,.075);
}


/* =====================================================
   HOVER BACKGROUND
===================================================== */

.skill-item::before {

    content: "";

    position: absolute;

    left: -5vw;
    right: -5vw;

    top: 7px;
    bottom: 7px;

    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.015),
            rgba(255,255,255,.04),
            rgba(255,32,32,.025)
        );

    opacity: 0;

    transform:
        scaleX(.96);

    transition:
        opacity .5s ease,
        transform .6s var(--skills-ease);

    pointer-events: none;
}


.skill-item:hover::before {

    opacity: 1;

    transform:
        scaleX(1);
}


/* =====================================================
   RED LINE
===================================================== */

.skill-item::after {

    content: "";

    position: absolute;

    left: -5vw;

    top: 0;
    bottom: 0;

    width: 2px;

    background:
        var(--skills-red);

    box-shadow:
        0 0 18px
        rgba(255,32,32,.65);

    transform:
        scaleY(0);

    transform-origin: center;

    transition:
        transform .5s var(--skills-ease);
}


.skill-item:hover::after {

    transform:
        scaleY(1);
}


/* =====================================================
   NUMBER
===================================================== */

.skill-number {

    position: relative;

    z-index: 2;

    font-family: var(--skills-mono);

    font-size: 9px;

    color: rgba(255,255,255,.25);

    transition:
        color .4s ease;
}


.skill-item:hover .skill-number {

    color: var(--skills-red);
}


/* =====================================================
   SKILL NAME
===================================================== */

.skill-name {

    position: relative;

    z-index: 2;

    font-family: var(--skills-sans);

    font-size:
        clamp(
            32px,
            4vw,
            62px
        );

    font-weight: 500;

    line-height: .9;

    letter-spacing: -.055em;

    white-space: nowrap;

    color: rgba(255,255,255,.82);

    transition:
        transform .6s var(--skills-ease),
        color .4s ease;
}


.skill-item:hover .skill-name {

    transform:
        translateX(15px);

    color: #ffffff;
}


/* =====================================================
   TYPE
===================================================== */

.skill-type {

    position: relative;

    z-index: 2;

    font-family: var(--skills-mono);

    font-size: 7px;

    line-height: 1.5;

    letter-spacing: .1em;

    color: rgba(255,255,255,.28);

    transition:
        color .4s ease;
}


.skill-item:hover .skill-type {

    color: rgba(255,255,255,.55);
}


/* =====================================================
   LOGO
===================================================== */

.skill-logo {

    position: relative;

    z-index: 2;

    width: 78px;
    height: 78px;

    display: flex;

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

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 18px;

    background:
        rgba(255,255,255,.025);

    opacity: .38;

    transform:
        scale(.82)
        rotate(-5deg);

    transition:
        opacity .5s ease,
        transform .7s var(--skills-ease),
        background .4s ease,
        border-color .4s ease,
        box-shadow .5s ease;
}


.skill-logo img {

    display: block;

    width: 52px;
    height: 52px;

    object-fit: contain;

    transition:
        transform .7s var(--skills-ease);
}


.skill-item:hover .skill-logo {

    opacity: 1;

    transform:
        scale(1)
        rotate(0deg);

    background:
        rgba(255,255,255,.055);

    border-color:
        rgba(255,255,255,.18);

    box-shadow:
        0 15px 40px rgba(0,0,0,.25),
        0 0 30px rgba(255,255,255,.035);
}


.skill-item:hover .skill-logo img {

    transform:
        scale(1.12);
}


/* =====================================================
   ARROW
===================================================== */

.skill-arrow {

    position: relative;

    z-index: 2;

    width: 40px;
    height: 40px;

    display: flex;

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

    border:
        1px solid
        rgba(255,255,255,.1);

    border-radius: 50%;

    background:
        rgba(255,255,255,.025);

    color: rgba(255,255,255,.4);

    font-size: 14px;

    transition:
        transform .6s var(--skills-ease),
        background .3s ease,
        border-color .3s ease,
        color .3s ease;
}


.skill-item:hover .skill-arrow {

    transform:
        rotate(45deg);

    background:
        var(--skills-red);

    border-color:
        var(--skills-red);

    color: #ffffff;

    box-shadow:
        0 0 25px
        rgba(255,32,32,.3);
}


/* =====================================================
   SKILLS END
===================================================== */

.skills-end {

    position: relative;

    min-height: 90vh;

    margin:
        0
        5vw
        80px;

    padding:
        100px
        6vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 30px;

    background:
        rgba(255,255,255,.018);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}


.skills-end::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -300px;
    bottom: -300px;

    border:
        1px solid
        rgba(255,255,255,.06);

    border-radius: 50%;

    animation:
        skillsOrbit 22s linear infinite;
}


.skills-end-number {

    position: absolute;

    top: 35px;
    right: 40px;

    font-family: var(--skills-mono);

    font-size: 8px;

    color: rgba(255,255,255,.28);
}


.skills-end > span {

    position: relative;

    z-index: 2;

    font-family: var(--skills-mono);

    font-size: 8px;

    letter-spacing: .12em;

    color: var(--skills-red);
}


.skills-end h2 {

    position: relative;

    z-index: 2;

    margin:
        35px
        0
        0;

    font-family: var(--skills-sans);

    font-size:
        clamp(
            65px,
            10vw,
            155px
        );

    font-weight: 500;

    line-height: .72;

    letter-spacing: -.08em;
}


.skills-end h2 em {

    font-family: var(--skills-serif);

    font-style: italic;

    font-weight: 400;
}


.skills-end h2 span {

    color: var(--skills-red);

    text-shadow:
        0 0 30px
        rgba(255,32,32,.2);
}


.skills-end p {

    position: relative;

    z-index: 2;

    max-width: 450px;

    margin:
        55px
        0
        0;

    font-family: var(--skills-sans);

    font-size: 14px;

    line-height: 1.8;

    color: rgba(255,255,255,.4);
}


/* =====================================================
   FOOTER
===================================================== */

.skills-page + .footer {

    margin:
        0
        5vw;

    min-height: 100px;

    padding:
        25px
        0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    font-family: var(--skills-mono);

    font-size: 7px;

    letter-spacing: .1em;

    color: rgba(255,255,255,.28);
}


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

@media (max-width: 900px) {

    .skills-hero {

        min-height: 100svh;

        padding:
            130px
            20px
            90px;
    }


    .skills-hero-number {

        top: 105px;

        left: 20px;
    }


    .skills-hero h1 {

        font-size:
            clamp(
                62px,
                17vw,
                120px
            );
    }


    .skills-hero-content p {

        margin-top: 45px;

        font-size: 13px;
    }


    .skills-hero-bottom {

        left: 20px;
        right: 20px;
    }


    .skills-scroll {

        display: none;
    }


    .skills-section,
    .skills-end {

        margin:
            0
            15px
            50px;

        padding:
            50px
            20px
            65px;

        border-radius: 24px;
    }


    .skills-section-top {

        gap: 20px;
    }


    .skill-item {

        min-height: 115px;

        grid-template-columns:
            35px
            minmax(0,1fr)
            55px
            32px;

        gap: 10px;
    }


    .skill-number {

        font-size: 7px;
    }


    .skill-name {

        font-size:
            clamp(
                24px,
                7vw,
                42px
            );

        white-space: normal;
    }


    .skill-type {

        display: none;
    }


    .skill-logo {

        width: 52px;
        height: 52px;

        border-radius: 13px;

        opacity: .7;

        transform: scale(.9);
    }


    .skill-logo img {

        width: 34px;
        height: 34px;
    }


    .skill-arrow {

        width: 30px;
        height: 30px;

        font-size: 11px;
    }


    .skill-item:hover .skill-name {

        transform: translateX(5px);
    }


    .skills-end {

        min-height: 75vh;
    }


    .skills-end h2 {

        font-size:
            clamp(
                55px,
                15vw,
                105px
            );
    }


    .skills-page + .footer {

        margin:
            0
            20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;
    }

}


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

@media (max-width: 500px) {

    .skills-section {

        padding-left: 15px;
        padding-right: 15px;
    }


    .skill-item {

        grid-template-columns:
            25px
            minmax(0,1fr)
            45px
            28px;

        gap: 7px;
    }


    .skill-name {

        font-size: 21px;

        letter-spacing: -.04em;
    }


    .skill-logo {

        width: 44px;
        height: 44px;
    }


    .skill-logo img {

        width: 29px;
        height: 29px;
    }


    .skill-arrow {

        width: 27px;
        height: 27px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

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

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

}