/* 
    Düzey Tekstil - Global Design System
    Premium Aesthetics: Emerald & Gold Palette
*/
@import url(https://db.onlinewebfonts.com/c/24ee22b1aca25a7d83f28d63c4093f8e?family=Neuzeit+Grotesk+Regular);
:root {
    --bg-primary: #031211;
    --bg-secondary: #0a2a28;
    --text-primary: #E2E8F0;
    --text-secondary: rgba(226, 232, 240, 0.4);
    --gold: #fff;
}

/* Base Setup */
html,
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
    font-family: "Neuzeit Grotesk Regular", sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Neuzeit Grotesk Regular', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 0px;
}

/* Navigation Header */
#navbar {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#navbar.scrolled {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(197, 160, 40, 0.2);
}

/* Custom Hover Link */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #fff;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-underline:hover::after {
    width: 100%;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-line {
    width: 0%;
    height: 1px;
    background: #fff;
    margin-top: 20px;
}

/* Back to Top */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: '\f062';
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    color: #fff;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    z-index: 1;
    font-weight: 900;
}

.progress-circle {
    pointer-events: none;
}

/* Magnetic Custom Cursor */
.custom-cursor {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100000;
}

.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
}

@media (max-width: 1024px) {

    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

/* Horizontal Scroll Layout (Mainly for Index) */
.horizontal-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

.horizontal-panel {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Menu Clip Path */
#mobile-menu {
    transition: all 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    clip-path: circle(0% at 100% 0%);
}

#mobile-menu.active {
    clip-path: circle(150% at 100% 0%);
}

/* General Animations */
.reveal-nav {
    opacity: 0;
    transform: translateY(20px);
}

.menu-link-large {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    opacity: 0;
    transform: translateY(40px);
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}