/* =====================================================
   SELİN ATEŞ
   LIQUID GLASS HERO
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');


:root {

    --glass-white: #ffffff;

    --glass-red: #ff2020;

    --glass-black: #000000;

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

    --glass-serif:
        "Instrument Serif",
        serif;

    --glass-sans:
        "Figtree",
        sans-serif;

    --glass-mono:
        "DM Mono",
        monospace;

}


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

.home-page {

    position: relative;

    min-height: 100vh;

    min-height: 100svh;

    overflow: hidden;

    background: #000;

    color: #fff;

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

}


/* =====================================================
   VIDEO
===================================================== */

.hero-video-container {

    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    background: #000;

}


.hero-video {

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform:
        translateY(17%);

    transform-origin: center;

    opacity: 0;

}


.hero-video-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.28),
            rgba(0,0,0,.08) 45%,
            rgba(0,0,0,.58)
        );

}


/* =====================================================
   LIQUID GLASS
===================================================== */

.liquid-glass {

    position: relative;

    overflow: hidden;

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

    background-blend-mode:
        luminosity;

    backdrop-filter:
        blur(4px);

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

    border: none;

    box-shadow:
        inset
        0 1px 1px
        rgba(255,255,255,.1);

}


.liquid-glass::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    padding: 1.4px;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.45) 0%,
            rgba(255,255,255,.15) 20%,
            rgba(255,255,255,0) 40%,
            rgba(255,255,255,0) 60%,
            rgba(255,255,255,.15) 80%,
            rgba(255,255,255,.45) 100%
        );

    -webkit-mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:
        xor;

    mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    mask-composite:
        exclude;

    pointer-events: none;

}


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

.glass-header {

    position: relative;

    z-index: 20;

    padding:
        24px;

}


.glass-navbar {

    position: relative;

    max-width: 1340px;

    margin: 0 auto;

    padding:
        12px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-radius: 999px;

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

    backdrop-filter:
        blur(8px);

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

    box-shadow:
        inset
        0 1px 1px
        rgba(255,255,255,.08);

}


.glass-navbar::before {

    content: "";

    position: absolute;

    inset: 0;

    padding: 1px;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.28),
            rgba(255,255,255,.04)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:
        xor;

    mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    mask-composite:
        exclude;

    pointer-events: none;

}


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

.glass-logo {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 9px;

    color: #fff;

    text-decoration: none;

    white-space: nowrap;

    font-size: 14px;

    font-weight: 600;

}


.logo-mark {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #fff;

    color: #000;

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

    font-size: 17px;

}


/* =====================================================
   NAV
===================================================== */

.glass-nav {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 20px;

}


.glass-nav a {

    position: relative;

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

    text-decoration: none;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .06em;

    transition:
        color .3s ease;

}


.glass-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -5px;

    height: 1px;

    background: #fff;

    transform:
        scaleX(0);

    transform-origin: right;

    transition:
        transform .4s var(--glass-ease);

}


.glass-nav a:hover {

    color: #fff;

}


.glass-nav a:hover::after {

    transform:
        scaleX(1);

    transform-origin: left;

}


/* =====================================================
   HEADER RIGHT
===================================================== */

.glass-header-right {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 15px;

}


.header-status {

    display: flex;

    align-items: center;

    gap: 7px;

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

    font-size: 7px;

    letter-spacing: .08em;

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

}


.header-status i {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--glass-red);

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

    animation:
        statusPulse 1.6s infinite;

}


@keyframes statusPulse {

    0%,
    100% {

        opacity: 1;

        transform: scale(1);

    }

    50% {

        opacity: .45;

        transform: scale(1.4);

    }

}


/* =====================================================
   LOGIN / CONTACT BUTTON
===================================================== */

.glass-login {

    position: relative;

    z-index: 2;

    padding:
        9px 17px;

    border-radius: 999px;

    color: #fff;

    text-decoration: none;

    font-size: 8px;

    letter-spacing: .08em;

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

    backdrop-filter:
        blur(5px);

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

    box-shadow:
        inset
        0 1px 1px
        rgba(255,255,255,.12);

    transition:
        background .3s ease;

}


.glass-login:hover {

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

}


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

.glass-menu-button {

    display: none;

    position: relative;

    width: 38px;
    height: 38px;

    border: 0;

    border-radius: 50%;

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

    color: #fff;

}


.glass-menu-button span {

    position: absolute;

    left: 10px;

    width: 18px;

    height: 1px;

    background: #fff;

    transition:
        transform .4s var(--glass-ease);

}


.glass-menu-button span:first-child {

    top: 15px;

}


.glass-menu-button span:last-child {

    top: 22px;

}


.glass-menu-button.active
span:first-child {

    top: 19px;

    transform: rotate(45deg);

}


.glass-menu-button.active
span:last-child {

    top: 19px;

    transform: rotate(-45deg);

}


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

.glass-mobile-menu {

    position: fixed;

    inset: 0;

    z-index: 15;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(0,0,0,.72);

    backdrop-filter:
        blur(18px);

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

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .4s ease,
        visibility .4s ease;

}


.glass-mobile-menu.active {

    opacity: 1;

    visibility: visible;

}


.glass-mobile-menu nav {

    display: flex;

    flex-direction: column;

    gap: 13px;

}


.glass-mobile-menu a {

    color: #fff;

    text-decoration: none;

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

    font-size: 42px;

    line-height: .9;

    transition:
        color .3s ease,
        transform .4s var(--glass-ease);

}


.glass-mobile-menu a:hover {

    color: var(--glass-red);

    transform:
        translateX(10px);

}


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

.glass-hero-content {

    position: relative;

    z-index: 10;

    min-height:
        calc(100vh - 100px);

    min-height:
        calc(100svh - 100px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        50px 24px 80px;

    text-align: center;

    transform:
        translateY(-8%);

}


.glass-hero-inner {

    width: 100%;

    max-width: 1100px;

    display: flex;

    flex-direction: column;

    align-items: center;

}


.glass-hero-label {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-bottom: 25px;

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

    font-size: 8px;

    letter-spacing: .14em;

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

}


.hero-line {

    width: 24px;
    height: 1px;

    background:
        var(--glass-red);

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

}


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

.glass-hero-title {

    margin: 0;

    color: #fff;

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

    font-size:
        clamp(80px, 10vw, 145px);

    font-weight: 400;

    line-height: .78;

    letter-spacing:
        -.035em;

    text-wrap: balance;

    animation:
        heroReveal 1s
        var(--glass-ease)
        both;

}


.glass-hero-title em {

    color: #fff;

    font-style: italic;

}


@keyframes heroReveal {

    from {

        opacity: 0;

        transform:
            translateY(50px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


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

.glass-hero-info {

    width: 100%;

    max-width: 500px;

    margin-top: 35px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

    animation:
        heroInfoReveal 1s
        .15s
        var(--glass-ease)
        both;

}


.glass-hero-info p {

    max-width: 440px;

    margin: 0;

    padding:
        0 15px;

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

    font-size: 14px;

    line-height: 1.65;

}


@keyframes heroInfoReveal {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.glass-primary-button {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    min-width: 220px;

    padding:
        13px 15px 13px 20px;

    overflow: hidden;

    border-radius: 999px;

    color: #fff;

    text-decoration: none;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: .1em;

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

    backdrop-filter:
        blur(5px);

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

    box-shadow:
        inset
        0 1px 1px
        rgba(255,255,255,.12);

    transition:
        color .4s ease,
        background .4s ease;

}


.glass-primary-button::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        var(--glass-red);

    transform:
        translateY(101%);

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

}


.glass-primary-button::after {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    padding: 1px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.4),
            rgba(255,255,255,.06)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:
        xor;

    mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    mask-composite:
        exclude;

    pointer-events: none;

}


.glass-primary-button:hover {

    color: #000;

}


.glass-primary-button:hover::before {

    transform:
        translateY(0);

}


.glass-primary-button span {

    position: relative;

    z-index: 2;

}


.glass-primary-button span:last-child {

    font-size: 15px;

}


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

.glass-bottom {

    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 25px;

    z-index: 12;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: end;

    max-width: 1340px;

    margin: 0 auto;

}


.glass-bottom-left {

    display: flex;

    gap: 15px;

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

    font-size: 7px;

    letter-spacing: .1em;

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

}


.glass-bottom-center {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

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

    font-size: 7px;

    letter-spacing: .12em;

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

}


.glass-bottom-center i {

    display: block;

    width: 1px;
    height: 25px;

    background:
        linear-gradient(
            to bottom,
            #fff,
            transparent
        );

    animation:
        scrollPulse 1.8s infinite;

}


@keyframes scrollPulse {

    0%,
    100% {

        opacity: .3;

        transform:
            scaleY(.5);

    }

    50% {

        opacity: 1;

        transform:
            scaleY(1);

    }

}


.glass-socials {

    display: flex;

    justify-content: flex-end;

    gap: 8px;

}


.glass-socials a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

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

    text-decoration: none;

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

    font-size: 7px;

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

    backdrop-filter:
        blur(5px);

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

    box-shadow:
        inset
        0 1px 1px
        rgba(255,255,255,.1);

    transition:
        color .3s ease,
        background .3s ease;

}


.glass-socials a:hover {

    color: #fff;

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

}


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

@media (max-width: 1100px) {

    .glass-nav {

        gap: 12px;

    }


    .glass-nav a {

        font-size: 8px;

    }


    .header-status {

        display: none;

    }

}


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

@media (max-width: 809px) {


    .glass-header {

        padding:
            18px;

    }


    .glass-navbar {

        padding:
            10px 12px 10px 16px;

    }


    .glass-nav {

        display: none;

    }


    .glass-menu-button {

        display: block;

    }


    .glass-login {

        display: none;

    }


    .glass-logo {

        font-size: 13px;

    }


    .glass-hero-content {

        min-height:
            calc(100svh - 80px);

        padding:
            100px 18px 110px;

        transform:
            translateY(-4%);

    }


    .glass-hero-label {

        flex-wrap: wrap;

        font-size: 7px;

    }


    .glass-hero-title {

        font-size:
            clamp(
                65px,
                19vw,
                100px
            );

        line-height: .8;

    }


    .glass-hero-info {

        margin-top: 30px;

    }


    .glass-hero-info p {

        max-width: 370px;

        font-size: 12px;

    }


    .glass-primary-button {

        min-width: 205px;

    }


    .glass-bottom {

        left: 18px;
        right: 18px;
        bottom: 18px;

        grid-template-columns:
            1fr auto;

    }


    .glass-bottom-center {

        display: none;

    }


    .glass-socials {

        gap: 5px;

    }


    .glass-socials a {

        width: 30px;
        height: 30px;

    }


    .glass-bottom-left {

        font-size: 6px;

    }


    .hero-video {

        transform:
            translateY(17%);

    }

}


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

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

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

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}