@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Inter-Bold';
    src: url('../fonts/Inter-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Inter-Light';
    src: url('../fonts/Inter-Light-BETA.otf') format('opentype');
}

@font-face {
    font-family: 'Inter-Thin';
    src: url('../fonts/Inter-Thin-BETA.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter';
    line-height: 1.6;
    color: #333;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background: #243248;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
}

header {
    background: #f4f4f4;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

#globe-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

#main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #243248;
    transition: clip-path 2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    clip-path: circle(0);
}

.main-container.active {
    clip-path: circle(100%);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Inter';
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Inter';
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #6eb4ff;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 50, 72, .5);
    z-index: 2;
}

.animated-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 21234;
}

.main-ring::before,
.main-ring::after {
    content: none;
}

.dot {
    position: absolute;
    width: 80%;
    display: flex;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.dot:hover {
    background-color: transparent;
}

.dot.top-left {
    /* 45 degrees position */
    top: calc(50% - 300px * 0.7071);
    left: calc(9.5% - 300px * 0.7071);
}

.dot.top-right {
    /* 135 degrees position */
    top: calc(65% - 300px * 0.7071);
    left: calc(100.5% + 300px * 0.7071);
    flex-direction: row-reverse;
}

.dot.bottom-left {
    /* 315 degrees position */
    top: calc(50% + 300px * 0.7071);
    left: calc(9.5% - 300px * 0.7071);
}

.dot.bottom-right {
    /* 225 degrees position */
    top: calc(50% + 300px * 0.7071);
    left: calc(90.5% + 300px * 0.7071);
    flex-direction: row-reverse;
}

.dot.top-left .circle-dot-container {
    align-items: end;
    justify-content: right;
}

.dot.top-right .circle-dot-container {
    align-items: end;
    justify-content: left;
}

.dot.bottom-left .circle-dot-container {
    align-items: baseline;
    justify-content: right;
}

.dot.bottom-right .circle-dot-container {
    align-items: baseline;
    justify-content: left;
}

.dot.top-right .circle-dot-text {
    text-align: left;
}

.dot.bottom-right .circle-dot-text {
    text-align: left;
}

.circle-dot-text {
    text-align: right;
    width: 90%;
    transition: .3s;
}

.circle-dot-text span {
    font-size: 16px;
    letter-spacing: 1px;
    color: white;
    white-space: nowrap;
    text-transform: uppercase;
}

.circle-dot-container {
    width: 10%;
    display: flex;
    justify-content: right;
    align-items: end;
}

.circle-dot-container span {
    display: block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.dot .circle-dot-container span::after {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    border: 1px solid white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease-in-out;
}

.dot:hover .circle-dot-container span::after {
    width: 40px;
    height: 40px;
}

.dot:hover .circle-dot-text {
    padding: 0 10px;
}

.circle-dot-text span {
    position: relative;
    padding-bottom: 5px;
}

.circle-dot-text .left::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0px;
    background: white;
    height: 2px;
    transition: .3s;
}

.dot:hover .circle-dot-text .left::before {
    width: 30px;
}

.circle-dot-text .right::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0px;
    background: white;
    height: 2px;
    transition: .3s;
}

.dot:hover .circle-dot-text .right::before {
    width: 30px;
}

.main-ring-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.5);
    width: 85%;
    height: 85%;
    border-radius: 50%;
    transition: 3s;
}

#main-container.active .main-ring-text-container {
    background-color: rgba(196, 72, 64, 0.5);
}

.ring-text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 100%;
}

.ring-text-center h1 {
    font-size: 25px;
    font-family: 'Inter-Thin';
    font-weight: light;
    letter-spacing: 3px;
    margin-bottom: 10px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.ring-text-center p {
    font-size: 40px;
    font-family: 'Inter';
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.ring-text-center h1.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.ring-text-center p.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.ring-text-center h1.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.ring-text-center p.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.floating-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    animation: circular-motion 8s infinite linear;
}

.floating-ring:nth-child(2) {
    border: 2px solid rgba(196, 72, 64, 0.7);
    animation-delay: 0s;
}

.floating-ring:nth-child(3) {
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation-delay: 4s;
}

#wave-effect-container .wave-effect {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-color: transparent;
    opacity: 0.5;
    border: 10px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: wave-effect 2.5s infinite;
    opacity: 0;
    z-index: 1;
}

#wave-effect-container .wave-effect:nth-child(2) {
    animation-delay: 150ms;
}

#wave-effect-container .wave-effect:nth-child(3) {
    animation-delay: 300ms;
}

@keyframes wave-effect {
    0% {
        width: 300px;
        height: 300px;
        border-width: 10px;
        opacity: 0;
    }

    70% {
        opacity: 1;
        border-width: 2px;
    }

    100% {
        width: 80vw;
        height: 80vw;
        border-width: 10px;
        opacity: 0;
    }
}

@keyframes circular-motion {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    25% {
        transform: rotate(90deg) translate(20px, 20px);
    }

    50% {
        transform: rotate(180deg) translate(0, 40px);
    }

    75% {
        transform: rotate(270deg) translate(-20px, 20px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

.wave-effect-container {
    position: relative;
    z-index: 1;
}

.text-animation {
    z-index: 2;
    position: absolute;
    color: white;
    font-family: 'Inter';
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    text-align: center;
    width: 100%;
    max-width: 70%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
}

#text1 {
    font-size: 24px;
    line-height: 1.5;
}

#text4 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
}

.fade-in {
    opacity: 1 !important;
}

.fade-out {
    opacity: 0 !important;
}

/* Remove letter animation styles */
.letter {
    display: inline;
    opacity: 1;
    transform: none;
}

.letter.visible {
    opacity: 1;
    transform: none;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Yazı yazma animasyonu */
.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: white;
    }
}

.keep-scrolling {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Inter';
    font-weight: lighter;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 2s;
    z-index: 1000;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.keep-scrolling .circle {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.keep-scrolling .circle::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: scrolling-wave-effect 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) 0s infinite normal none running;
}

.keep-scrolling .circle::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: scrolling-scale-effect 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) 0s infinite normal none running;
}

@keyframes scrolling-scale-effect {
    0% {
        scale: 1;
    }

    50% {
        scale: 1.5;
    }

    100% {
        scale: 1;
    }
}

@keyframes scrolling-wave-effect {
    0% {
        scale: 1;
        opacity: 1;
    }

    100% {
        scale: 3;
        opacity: 0;
    }
}

.keep-scrolling .arrow {
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    margin-top: -3px;
}

.keep-scrolling span {
    font-family: 'Inter-Light';
    font-weight: lighter;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: block;
    white-space: nowrap;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* navbar */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10%;
    margin: auto;
}

.navbar-side {
    width: 33.33333%;
}

.logo {
    width: 33.33333%;
}

.logo img {
    width: 60%;
}

.navbar-side ul {
    display: flex;
    column-gap: 10%;
    align-items: center;
    list-style: none;
    width: 100%;
}

.navbar-side:nth-child(1) ul {
    justify-content: right;
    position: relative;
}

.navbar-side:nth-child(3) ul {
    justify-content: left;
}

.navbar-side ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 0;
    font-size: 14px;
    transition: .3s;
    text-transform: uppercase;
}

.language {
    position: absolute;
    top: 0;
    left: -20%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.language i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
}

.navbar-menu-button {
    width: 28px;
    height: 12px;
    position: relative;
    cursor: pointer;
}

.navbar-menu-button div {
    width: 28px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: .3s;
}

.navbar-menu-button:hover div {
    background-color: white;
}

.navbar-menu-button div:first-child {
    margin-bottom: 8px;
}

.navbar-side ul li div {
    transition: .3s;
}

.navbar-side ul li a:hover,
.navbar-side ul li div:hover,
.navbar-side ul li a:hover i {
    color: white;
}

.scroll-progress-bar {
    position: fixed;
    bottom: 15%;
    left: 5%;
    z-index: 2;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    overflow: hidden;
}

.scroll-progress-bar .progress-bar {
    background-color: rgba(255, 255, 255, 0.5);
    width: 120px;
    height: 1px;
}

.scroll-progress-bar .progress-text {
    color: white;
}

/* navbar */

.hero-button {
    position: absolute;
    bottom: 7.5%;
    right: 10%;
    z-index: 5;
}

.hero-button a {
    display: flex;
    align-items: center;
    text-decoration: none;
    column-gap: 10px;
}

.hero-button-text {
    color: white;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
    font-weight: 500;
}

.button__decor {
    position: relative;
    margin-left: 1rem;
    line-height: 0;
}

.button__decor:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 21px;
    height: 23px;
    background: 50% no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 21 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.263.842l10.105 10.105m0 0L9.263 22.316m10.105-11.369H.421' stroke='%23fff'/%3E%3C/svg%3E");
    transition: transform .3s ease-in-out;
}

.button__decor svg {
    width: 96px;
    height: 96px;
    transition: transform .3s ease-in-out;
}

.button__decor svg circle:nth-child(1),
.button__decor svg circle:nth-child(2) {
    transform-origin: center;
    animation: rotateCircle 5s linear infinite;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-button:hover .button__decor svg circle:nth-child(1),
.hero-button:hover .button__decor svg circle:nth-child(2) {
    animation-play-state: paused;
}
