@import url(https://fonts.googleapis.com/css?family=Share+Tech+Mono);
body {
    overflow-x: hidden !important;
}

#app {
    overflow: hidden;
    touch-action: pan-up;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-shadow: 0 0 5px #ffffff, 0 0 20px #000, 0 0 30px #000;
    height: 80vh;
    width: 100%;
    position: relative;
}


#app a {
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

#app canvas {
    display: block;
    position: relative;
    z-index: -1;
    top: 0;
}

#world {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1080px;
    overflow: hidden;
    background: linear-gradient(#f6fbff, #e7f1ff);
}

/* Night variant for the world background (toggled by JS) */
.world-night {
    background: linear-gradient(#0a0a14, #0b0f1d);
}

/* text animaton */


.decode-text {
    width: 100%;
    font-size: 7.5rem;
    text-align: right;
    line-height: 7.6rem !important;
}

.space {
    display: inline-block;
    width: 10px;
}

.text-animation {
    display: inline-block;
    position: relative;
    color: transparent;
    text-transform: uppercase;
    transition: .3s ease-in-out all;
}
.text-animation:before {
    content: "";
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(123, 125, 128, 0.47);
    width: 0;
    height: 1.2em;
    -webkit-transform: translate(-50%, -55%);
    -ms-transform: translate(-50%, -55%);
    transform: translate(-50%, -55%);
    transition: .1s ease all;
    letter-spacing: .2px !important;
}
.text-animation.state-1:before {
    width: 1px;
    transition: .1s ease all;
}
.text-animation.state-2:before {
    width: 0.9em;
    transition: .1s ease all;
}
.text-animation.state-3 {
    color: #999;
    transition: .1s ease all;

}
.text-animation.state-3:before {
    width: 0;
    transition: .1s ease all;
}

#refresh {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
}

.decode-text {
    width: 100%;
    font-size: 7.5rem;
    font-family: "Share Tech Mono", monospace;
    letter-spacing: -40px;
    text-align: right;
    line-height: 7.6rem !important;
}

.world-message {
    width: 55%;
    right: 15%;
    position: absolute;
    height: 100vh;
	z-index: 50000;
    display: flex;
    align-items: center;
}

/* Work overlay */
.work-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.work-overlay.open {
    opacity: 1;
    visibility: visible;
}
.work-overlay-inner {
    position: relative;
    width: 90%;
    max-width: 1040px;
    max-height: 85vh;
    margin: 60px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.work-overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
    transition: background .2s ease;
}
.work-overlay-close:hover { background: rgba(0,0,0,0.8); }
.work-overlay-close i { color:#fff; transition: color .2s ease; }
.work-overlay-close:hover i { color:#bc3842; }
.work-overlay-media {
    flex: 1 1 auto;
    overflow: auto;
    background: #000;
}
.work-overlay-media img {
    display: block;
    width: 100%;
    height: auto;
}
.work-overlay-info {
    padding: 16px 18px 22px 18px;
    border-top: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.work-overlay-info h3 {
    color: #444;
    font-size: 1rem;
    margin: 0 0 6px 0;
    line-height: 1.2rem;
}
.work-overlay-info h4 {
    color: #777;
    font-weight: 300;
    font-size: .9rem;
    margin: 0;
    line-height: 1rem;
    font-family: 'Share Tech Mono', monospace;
}
.work-overlay-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: .85rem;
    transition: background-color .3s ease, color .3s ease, opacity .3s ease, transform .3s ease;
}
.work-overlay-actions .btn i { font-size: .9rem; }
.work-overlay-actions .btn:hover { background:#bc3842; color:#fff; opacity: 1; transform: translateY(-1px); }
.work-overlay-actions .btn.btn-disabled {
    background: #e9e9e9;
    color: #9a9a9a;
    pointer-events: none;
}

body.no-scroll { overflow: hidden; }

.scroll-cta {
    position: absolute;
    bottom:50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background: transparent;
    text-align: center;
    z-index: 10;
}
.scroll-cta .mouse {
    margin: 0 auto 8px auto;
    display: block;
}
.scroll-cta .label {
    font-size: 13px;
    color: #1a202c;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .5px;
    transition: color .3s ease;
}
body.night-mode .scroll-cta .label { color: #ffffff; }
body.night-mode .scroll-cta .mouse { border-color: #eaeaea; }
body.night-mode .scroll-cta .mouse:before { background-color: #eaeaea; }

.red.state-3 {
    color:#bc3842 !important;
}

.contact-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-box.opened {
    z-index: 99999;
    opacity: 1;
    visibility: visible;
}

.contact-wrap {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
}

/* Footer stillerini güncelle */
.footer {
    background: #000;
    padding: 80px 0 40px;
    margin-top: 80px;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
}

.footer h5 {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 400;
    color: #fff;
}

.footer h5 code {
    background: #1a1a1a;
    padding: 5px 10px;
    border-radius: 4px;
    color: #ff4d4d;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 400;
}

.footer .social-wrap {
    margin-bottom: 30px;
}

.footer .social-wrap a {
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer .social-wrap a:hover {
    color: #00ff9d;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: ">";
    position: absolute;
    left: 0;
    color: #ff4d4d;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #07a44c !important; 
    padding-left: 20px;
}

.footer-links a:hover:before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #ff4d4d;
    width: 20px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.footer-bottom p {
    color: #666;
    margin: 0;
}

.footer-bottom .highlight {
    color: #ff4d4d;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #00ff9d;
}

/* Footer responsive düzenlemeler aynı kalabilir */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
        text-align: center;
    }
    
    .footer .social-wrap {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .footer .logo {
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .footer-bottom a {
        display: inline-block;
        margin: 10px;
    }
}

/* Logo boyutunu küçült */
.footer .logo img {
    max-width: 96px;
    height: auto;
    filter: brightness(0) invert(1);
}


