/* =========================================================
   SERKAN ŞİMŞEK // DIGITAL EXPERIENCE
   GLOBAL STYLE SYSTEM
   FINAL
========================================================= */

:root {

    --bg: #050505;
    --bg-soft: #0a0a0a;
    --bg-mid: #101010;

    --panel:
        rgba(255, 255, 255, .035);

    --gold: #c79a3d;
    --gold-light: #efd08b;
    --gold-dark: #805d23;

    --white: #ffffff;
    --text: #c9c9c9;
    --muted: #777777;

    --border:
        rgba(255, 255, 255, .08);

    --border-gold:
        rgba(199, 154, 61, .28);

    --shadow:
        0 30px 100px
        rgba(0, 0, 0, .55);

    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 40px;

    --sidebar-width: 110px;

    --container: 1500px;

    --ease:
        cubic-bezier(.22, .61, .36, 1);

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: auto;

    background:
        var(--bg);
}


body {

    margin: 0;

    min-height: 100vh;

    background:
        var(--bg);

    color:
        var(--white);

    font-family:
        "Inter",
        sans-serif;

    font-size: 16px;

    line-height: 1.7;

    overflow-x: hidden;

    -webkit-font-smoothing:
        antialiased;

    -moz-osx-font-smoothing:
        grayscale;

}


body.modal-open,
body.mobile-menu-open {
    overflow: hidden;
}


::selection {

    background:
        var(--gold);

    color:
        #090909;

}


img,
video,
canvas,
svg {

    display: block;

    max-width: 100%;

}


button,
input,
select,
textarea {

    font: inherit;

}


button,
a {

    -webkit-tap-highlight-color:
        transparent;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    border: 0;

}


h1,
h2,
h3,
h4,
h5,
h6,
p {

    margin-top: 0;

}


ul,
ol {

    padding: 0;

    margin: 0;

    list-style: none;

}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 6px;

}


::-webkit-scrollbar-track {

    background:
        #080808;

}


::-webkit-scrollbar-thumb {

    border-radius:
        50px;

    background:
        linear-gradient(
            180deg,
            var(--gold-light),
            var(--gold-dark)
        );

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {

    position: fixed;

    left: 20px;
    top: -100px;

    z-index: 999999;

    padding:
        13px 20px;

    border-radius:
        10px;

    background:
        var(--gold);

    color:
        #060606;

    font-weight: 700;

    transition:
        top .3s ease;

}


.skip-link:focus {

    top: 20px;

}


/* =========================================================
   GLOBAL BACKGROUND
========================================================= */

.global-background {

    position: fixed;

    inset: 0;

    z-index: -100;

    overflow: hidden;

    pointer-events: none;

    background:
        linear-gradient(
            145deg,
            #040404 0%,
            #0a0a0a 40%,
            #050505 100%
        );

}


/* =========================================================
   MARBLE SURFACE
========================================================= */

.global-marble {

    position: absolute;

    inset: -10%;

    opacity: .78;

    background:

        radial-gradient(
            ellipse at 15% 25%,
            rgba(255, 255, 255, .035),
            transparent 30%
        ),

        radial-gradient(
            ellipse at 80% 60%,
            rgba(255, 255, 255, .02),
            transparent 32%
        ),

        linear-gradient(
            128deg,
            transparent 0%,
            transparent 33%,
            rgba(255, 255, 255, .022) 34%,
            transparent 36%,
            transparent 64%,
            rgba(255, 255, 255, .012) 65%,
            transparent 67%
        ),

        linear-gradient(
            35deg,
            #050505,
            #101010,
            #090909,
            #151515,
            #060606
        );

    filter:
        contrast(120%)
        brightness(85%);

    transform:
        scale(1.2)
        rotate(-2deg);

}


/* =========================================================
   GRID
========================================================= */

.global-grid {

    position: absolute;

    inset: 0;

    opacity: .13;

    background-image:

        linear-gradient(
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );

    background-size:
        80px 80px;

    mask-image:
        radial-gradient(
            circle at center,
            black 20%,
            transparent 90%
        );

}


/* =========================================================
   NOISE
========================================================= */

.global-noise {

    position: absolute;

    inset: 0;

    opacity: .055;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");

    mix-blend-mode:
        soft-light;

}


/* =========================================================
   VIGNETTE
========================================================= */

.global-vignette {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 25%,
            rgba(0, 0, 0, .28) 70%,
            rgba(0, 0, 0, .82) 100%
        );

}


/* =========================================================
   AMBIENT LIGHTS
========================================================= */

.global-light {

    position: absolute;

    border-radius: 50%;

    filter:
        blur(150px);

    will-change:
        transform;

}


.global-light-one {

    width: 800px;
    height: 800px;

    right: -220px;
    top: -260px;

    background:
        rgba(199, 154, 61, .10);

}


.global-light-two {

    width: 700px;
    height: 700px;

    left: 20%;
    bottom: -400px;

    background:
        rgba(199, 154, 61, .055);

}


/* =========================================================
   PAGE SYSTEM
========================================================= */

main {

    position: relative;

}


section {

    position: relative;

    width: 100%;

}


.section-dark {

    isolation: isolate;

}


.section-shell {

    width:
        min(
            calc(100% - 220px),
            var(--container)
        );

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.section-kicker {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 42px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing:
        5px;

    color:
        var(--muted);

}


.section-kicker span:first-child {

    color:
        var(--gold);

}


.section-kicker::after {

    content: "";

    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );

}


.section-heading {

    margin-bottom: 25px;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            52px,
            6vw,
            110px
        );

    font-weight: 700;

    line-height: .92;

    letter-spacing:
        -4px;

}


.section-lead {

    max-width: 690px;

    margin-bottom: 75px;

    color:
        #989898;

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   BUTTON SYSTEM
========================================================= */

.button {

    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    min-height: 62px;

    padding:
        0 34px;

    border-radius:
        100px;

    overflow: hidden;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing:
        .5px;

    cursor: pointer;

    transition:

        transform .4s var(--ease),

        border-color .4s ease,

        background .4s ease,

        color .4s ease,

        box-shadow .4s ease;

}


/* =========================================================
   GOLD BUTTON
========================================================= */

.button-gold {

    color:
        #070707;

    background:
        linear-gradient(
            135deg,
            #ae7d2e 0%,
            #edcd82 45%,
            #c59237 100%
        );

    box-shadow:
        0 15px 50px
        rgba(199, 154, 61, .22);

}


.button-gold:hover {

    transform:
        translateY(-5px)
        scale(1.02);

    box-shadow:
        0 25px 80px
        rgba(199, 154, 61, .36);

}


.button-shine {

    position: absolute;

    width: 50px;
    height: 170px;

    left: -80px;
    top: -50px;

    transform:
        rotate(25deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .65),
            transparent
        );

    filter:
        blur(4px);

    transition:
        left .85s var(--ease);

}


.button-gold:hover
.button-shine {

    left:
        calc(100% + 50px);

}


/* =========================================================
   GHOST BUTTON
========================================================= */

.button-ghost {

    border:
        1px solid
        rgba(255, 255, 255, .12);

    background:
        rgba(255, 255, 255, .025);

    backdrop-filter:
        blur(12px);

    color:
        var(--white);

}


.button-ghost:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(199, 154, 61, .55);

    background:
        rgba(199, 154, 61, .06);

}


/* =========================================================
   LOADER
========================================================= */

.loader {

    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        #020202;

}


.loader-noise {

    position: absolute;

    inset: 0;

    opacity: .12;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");

}


.loader-glow {

    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(199, 154, 61, .17),
            transparent 65%
        );

    filter:
        blur(80px);

}


.loader-content {

    position: relative;

    z-index: 3;

    width:
        min(
            500px,
            80vw
        );

}


/* =========================================================
   LOADER MARK
========================================================= */

.loader-mark {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 2px;

    margin-bottom: 60px;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            70px,
            10vw,
            140px
        );

    font-weight: 800;

    line-height: 1;

    letter-spacing:
        -8px;

    color:
        #ececec;

    text-shadow:
        0 0 30px
        rgba(255, 255, 255, .08);

    transform-style:
        preserve-3d;

}


.loader-mark-left,
.loader-mark-right {

    display: block;

    will-change:
        transform,
        opacity;

}


.loader-mark-right {

    color:
        var(--gold);

}


/* =========================================================
   LOADER PROGRESS
========================================================= */

.loader-progress {

    width: 100%;

}


.loader-progress-line {

    position: relative;

    width: 100%;
    height: 1px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, .10);

}


.loader-progress-bar {

    position: absolute;

    left: 0;
    top: 0;

    width: 0%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            var(--gold-light)
        );

    box-shadow:
        0 0 20px
        rgba(199, 154, 61, .7);

}


.loader-progress-meta {

    display: flex;

    justify-content: space-between;

    margin-top: 16px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing:
        4px;

    color:
        #616161;

}


/* =========================================================
   CURSOR
========================================================= */

.cursor {

    position: fixed;

    left: 0;
    top: 0;

    z-index: 99999;

    width: 50px;
    height: 50px;

    pointer-events: none;

    opacity: 0;

    will-change:
        transform;

}


.cursor-dot {

    position: absolute;

    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    transform:
        translate(
            -50%,
            -50%
        );

    background:
        var(--gold);

    box-shadow:
        0 0 15px
        rgba(199, 154, 61, .8);

}


.cursor-ring {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    border:
        1px solid
        rgba(199, 154, 61, .55);

    transition:

        transform .25s var(--ease),

        border-color .25s ease,

        background .25s ease;

}


.cursor.is-hover
.cursor-ring {

    transform:
        scale(1.7);

    border-color:
        rgba(199, 154, 61, .25);

    background:
        rgba(199, 154, 61, .05);

}


.cursor-label {

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(
            -50%,
            -50%
        );

    opacity: 0;

    color:
        #060606;

    font-size: 8px;

    font-weight: 800;

    letter-spacing:
        1px;

    white-space: nowrap;

}


.cursor.has-label {

    width: 80px;
    height: 80px;

}


.cursor.has-label
.cursor-ring {

    border: 0;

    background:
        var(--gold);

}


.cursor.has-label
.cursor-dot {

    opacity: 0;

}


.cursor.has-label
.cursor-label {

    opacity: 1;

}


/* =========================================================
   CURSOR GLOW
========================================================= */

.cursor-glow {

    position: fixed;

    left: 0;
    top: 0;

    z-index: -10;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(199, 154, 61, .11),
            transparent 70%
        );

    filter:
        blur(75px);

    pointer-events: none;

    opacity: 0;

    will-change:
        transform;

}


/* =========================================================
   REVEAL HELPERS
========================================================= */

[data-reveal],
[data-split] {

    will-change:
        transform,
        opacity;

}


.char,
.word,
.line {

    will-change:
        transform,
        opacity;

}


/* =========================================================
   MOBILE ELEMENTS
========================================================= */

.mobile-header,
.mobile-menu {

    display: none;

}


/* =========================================================
   PROJECT MODAL
========================================================= */

.project-modal {

    position: fixed;

    inset: 0;

    z-index: 99998;

    display: flex;

    align-items: center;
    justify-content: center;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

}


.project-modal.is-open {

    visibility: visible;

    opacity: 1;

    pointer-events: all;

}


.project-modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, .82);

    backdrop-filter:
        blur(24px);

}


.project-modal-panel {

    position: relative;

    z-index: 3;

    width:
        min(
            760px,
            calc(100% - 40px)
        );

    max-height: 90vh;

    overflow-y: auto;

    padding:
        70px;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    border-radius:
        32px;

    background:

        radial-gradient(
            circle at 80% 0%,
            rgba(199, 154, 61, .12),
            transparent 35%
        ),

        rgba(10, 10, 10, .92);

    box-shadow:
        0 50px 160px
        rgba(0, 0, 0, .8);

    backdrop-filter:
        blur(30px);

}


.project-modal-panel::before {

    content: "";

    position: absolute;

    inset: 0;

    border-radius:
        inherit;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .06),
            transparent 35%,
            transparent 70%,
            rgba(199, 154, 61, .06)
        );

}


.project-modal-close {

    position: absolute;

    right: 25px;
    top: 25px;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .04);

    color:
        #aaa;

    font-size: 28px;

    cursor: pointer;

    transition:

        background .3s ease,

        color .3s ease,

        transform .3s ease;

}


.project-modal-close:hover {

    color:
        var(--gold);

    background:
        rgba(199, 154, 61, .08);

    transform:
        rotate(90deg);

}


.project-modal-kicker {

    display: block;

    margin-bottom: 15px;

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        5px;

}


.project-modal h2 {

    margin-bottom: 18px;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            38px,
            5vw,
            70px
        );

    line-height: 1;

    letter-spacing:
        -3px;

}


.project-modal-panel > p {

    max-width: 600px;

    margin-bottom: 45px;

    color:
        #8c8c8c;

}


/* =========================================================
   FORM
========================================================= */

.project-form {

    display: grid;

    gap: 26px;

}


.form-row {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 20px;

}


.project-form label {

    display: block;

}


.project-form label > span {

    display: block;

    margin-bottom: 10px;

    color:
        #777;

    font-size: 10px;

    font-weight: 600;

    letter-spacing:
        2px;

    text-transform:
        uppercase;

}


.project-form input,
.project-form select,
.project-form textarea {

    width: 100%;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    border-radius:
        14px;

    outline: none;

    background:
        rgba(255, 255, 255, .025);

    color:
        var(--white);

    transition:

        border-color .3s ease,

        background .3s ease,

        box-shadow .3s ease;

}


.project-form input,
.project-form select {

    height: 58px;

    padding:
        0 18px;

}


.project-form textarea {

    min-height: 150px;

    padding:
        17px 18px;

    resize: vertical;

}


.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {

    border-color:
        rgba(199, 154, 61, .5);

    background:
        rgba(199, 154, 61, .025);

    box-shadow:
        0 0 0 3px
        rgba(199, 154, 61, .05);

}


.project-form select option {

    background:
        #101010;

    color:
        white;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    position: relative;

    border-top:
        1px solid
        rgba(255, 255, 255, .055);

    background:
        rgba(3, 3, 3, .88);

}


.footer-inner {

    position: relative;

    width:
        min(
            calc(100% - 220px),
            var(--container)
        );

    min-height: 160px;

    margin:
        0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

}


.footer-brand {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.footer-brand strong {

    font-family:
        "Outfit",
        sans-serif;

    font-size: 16px;

    letter-spacing:
        2px;

}


.footer-brand span,
.footer-copy,
.footer-top {

    color:
        #5d5d5d;

    font-size: 10px;

    letter-spacing:
        2px;

    text-transform:
        uppercase;

}


.footer-top {

    transition:
        color .3s ease;

}


.footer-top:hover {

    color:
        var(--gold);

}


/* =========================================================
   NOSCRIPT
========================================================= */

.noscript-message {

    position: fixed;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 999999;

    padding:
        18px 25px;

    border:
        1px solid
        rgba(199, 154, 61, .4);

    border-radius:
        15px;

    background:
        rgba(10, 10, 10, .95);

    color:
        #ddd;

    text-align: center;

}


/* =========================================================
   UTILITIES
========================================================= */

.gold-text {

    color:
        var(--gold);

}


.muted {

    color:
        var(--muted);

}


.glass-panel {

    border:
        1px solid
        var(--border);

    background:
        rgba(255, 255, 255, .025);

    backdrop-filter:
        blur(20px);

    box-shadow:
        var(--shadow);

}


.magnetic {

    will-change:
        transform;

}


/* =========================================================
   WEBGL FALLBACK
========================================================= */

.cube-fallback {

    opacity: 1;

    transition:
        opacity .7s ease,
        transform .7s ease;

}


html.no-webgl
.cube-fallback {

    opacity: 1 !important;

    display: block !important;

}


/* =========================================================
   PERFORMANCE
========================================================= */

.hero,
.hero-visual,
.webgl-container,
.global-light,
.cursor,
.cursor-glow {

    transform:
        translateZ(0);

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

    }

}