/* Created By AkinaCss */
/* Fonts area */

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
}

@font-face {
    font-family: 'Roboto-Light';
    src: url('../font/Roboto/Roboto-Light.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Regular';
    src: url('../font/Roboto/Roboto-Regular.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('../font/Roboto/Roboto-Bold.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Sportsquake';
    src: url('../font/Sportsquake.otf') format('truetype');
    font-style: normal;
}


/* ============================================================================== */

:root {
    --main: #A39161;
    --mainLight: #c5a03c;
    --mainBold: #8b773f;

    --bgDark: #1a1a1a;

    --blueDark: #21315f;

    --ablue: #008cff;

    --mianGray: #F1F1F1;

    --gray: #555555;
    --textClr: #52525C;
    --grayHover: #3a3a3a;

    --white: #FFFFFF;
    --black: #000000;
    --blackLight: #0c0c0c;
    
    --bgblue: #f1f9ff;
    
    --border: #dbdadc;

    --blackText: #1A1818;

    --proje: #ededed;
    --projeDark: #242424;
    
    --header: 'Montserrat';
    --text: 'Roboto-Regular';
    --textLight: 'Roboto-Light';
    --textBold: 'Roboto-Bold';

    --textother: 'Sportsquake';

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: var(--header);
}

body {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--white);
    overflow: auto;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--textClr);
    transition: 0.3s;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* ===================================================== */

/* Header Css Start */

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 998;
}

.navInside {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    margin-top: 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-radius 0.3s ease;
    box-shadow: rgba(124, 124, 124, 0.2) 0px 2px 8px 0px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.top-nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.navgap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    z-index: 999;
    opacity: 1;
}

.logo img {
    height: 40px;
}

.nav-links2 {
    display: none;
}

.nav-links2 a {
    margin: 10px 0;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.nav-links2 a:hover {
    color: var(--mainLight);
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: clamp(14px, 0.729vw, 15px);
}

.nav-links a:hover {
    color: var(--mainLight);
}

.language-switch {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--white);
    transition: color 0.3s;
    font-size: clamp(13px, 0.729vw, 13px);
}

.language-switch span {
    margin: 0 5px;
}

.language-switch a {
    margin: 0 5px;
    color: var(--border);
}

.language-switch a.active {
    color: var(--main);
}

.language-switch a:hover {
    color: var(--main);
    transform: translateY(-5px);
}

.contact-button a {
    padding: 10px 20px;
    border: 2px solid var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(14px, 0.729vw, 15px);
}
.contact-button a:hover {
    color: var(--white);
    background-color: var(--main);
    border: 2px solid var(--main);
}

.contact-button a svg {
    height: 15px;
    width: 15px;
    fill: var(--white);
    transition: fill 0.3s, transform 0.3s;
}

.contact-button a:hover svg {
    fill: var(--white);
    transform: translateX(5px);
}

.navInside.scrolled .nav-links a {
    color: var(--black);
}
.navInside.scrolled .nav-links a:hover {
    color: var(--main) !important;
}
.navInside.scrolled .language-switch {
    color: var(--black);
}
.navInside.scrolled .language-switch a {
    color: var(--blackText);
}
.navInside.scrolled .language-switch a:hover {
    color: var(--main);
}
.navInside.scrolled .language-switch a.active {
    color: var(--main);
}
.navInside.scrolled .contact-button a {
    color: var(--black);
    border-color: var(--black);
}
.navInside.scrolled .contact-button a:hover {
    color: var(--white);
    background-color: var(--main);
    border: 2px solid var(--main);
}
.navInside.scrolled .contact-button a svg {
    fill: var(--black);
}
.navInside.scrolled .contact-button a:hover svg {
    fill: var(--white);
    transform: translateX(5px);
}
.navInside.scrolled .nav-links2 a {
    color: var(--black);
}
.navInside.scrolled .nav-links2 a:hover {
    color: var(--main);
}


.navInside.blackNav .nav-links a {
    color: var(--black);
}
.navInside.blackNav .nav-links a:hover {
    color: var(--main);
}
.navInside.blackNav .language-switch {
    color: var(--black);
}
.navInside.blackNav .language-switch a {
    color: var(--blackText);
}
.navInside.blackNav .language-switch a:hover {
    color: var(--main);
}
.navInside.blackNav .language-switch a.active {
    color: var(--main);
}
.navInside.blackNav .contact-button a {
    color: var(--black);
    border-color: var(--black);
}
.navInside.blackNav .contact-button a:hover {
    color: var(--white);
    background-color: var(--main);
    border: 2px solid var(--main);
}
.navInside.blackNav .contact-button a svg {
    fill: var(--black);
}
.navInside.blackNav .contact-button a:hover svg {
    fill: var(--white);
    transform: translateX(5px);
}
.navInside.blackNav .nav-links2 a {
    color: var(--black);
}
.navInside.blackNav .nav-links2 a:hover {
    color: var(--main);
}


.boxMenu {
    display: none;
    position: relative;
    border-radius: 2px;
    width: 40px;
    height: 40px;
}

.btnMenu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    cursor: pointer;
}

.btnMenu span {
    display: block;
    width: 100%;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.3);
    border-radius: 3px;
    height: 2px;
    background: #fff;
    transition: all .3s;
    position: relative;
}

.btnMenu span + span {
    margin-top: 8px;
}

.navInside.scrolled .btnMenu span {
    background: var(--black);
}
.navInside.blackNav .btnMenu span {
    background: var(--black);
}


.active span:nth-child(1) {
    animation: ease .7s top forwards;
}

.not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}

.active span:nth-child(2) {
    animation: ease .7s scaled forwards;
}

.not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}

.active span:nth-child(3) {
    animation: ease .7s bottom forwards;
}

.not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}

@keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 5px;
      transform: rotate(0);
    }
    100% {
      top: 5px;
      transform: rotate(45deg);
    }
}

@keyframes top-2 {
    0% {
      top: 12px;
      transform: rotate(45deg);
    }
    50% {
      top: 12px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
}

@keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 15px;
      transform: rotate(0);
    }
    100% {
      bottom: 15px;
      transform: rotate(135deg);
    }
}

@keyframes bottom-2 {
    0% {
      bottom: 15px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 15px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
}

@keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
}

@keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}

/* =================================================================== */
/* =================================================================== */
/* =================================================================== */

/* Responsive Area */

@media (min-width: 1921px) {
    .navInside {
        width: 75%;
        max-width: 1400px;
    }
}


@media (max-width: 1258px) {
    .navgap {
        gap: 10px;
    }
    .nav-links a {
        margin: 0 5px;
    }
}

@media (max-width: 1080px) {
    .navInside {
        width: 80%;
    }
}

@media (max-width: 950px) {
    .navInside {
        width: 90%;
    }
}

@media (max-width: 850px) {
    .boxMenu {
        display: block;
    }
    
    .nav-links, .contact-button {
        display: none;
    }

    .nav-links2 {
        max-height: 0;
        overflow: hidden;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0px 0px 30px 30px;
        visibility: hidden;
        touch-action: none;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links2.active {
        max-height: 300px;
        visibility: visible;
        touch-action: initial;
        opacity: 1;
        padding: 15px 20px 5px 20px;
    }

    .navInside {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .contact-button a {
        padding: 5px 10px;
        font-size: 18px;
        gap: 5px;
    }
}

.pb-bg {
    padding: 100px 0px 200px 0px;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--black);
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--main);
    border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--mainBold);
}