﻿/* SAYFA TEMEL KODLAR */
/* BAŞLANGIÇ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0b0c10;
    color: white;
    font-family: 'Orbitron', sans-serif;
    overflow-x: hidden;
    -webkit-user-select: none; /* Chrome, Safari, Opera için */
    -moz-user-select: none; /* Firefox için */
    -ms-user-select: none; /* Internet Explorer/Edge için */
    user-select: none; /* Standart sözdizimi */
}

/* Parallax stars */
#stars {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

canvas {
    display: block;
}

.snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 40px;
    z-index: 999;
}

    .navbar .logo {
        font-size: 1.5rem;
        color: #ff0055;
    }

    .navbar ul {
        list-style: none;
        display: flex;
        gap: 30px;
    }

    .navbar a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .navbar a:hover {
            color: #ff0055;
        }

.lang-icon {
    font-size: 1.3rem;
}

/* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* MOBİL MENÜ */
/* BAŞLANGIÇ */
/* Mobildeki hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

    .hamburger span {
        display: block;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: 0.3s;
    }

/* Mobil Menü */
/*.mobile-slide-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #111;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 2rem 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.5);
}*/

.mobile-slide-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 250px;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 2rem 1rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    backdrop-filter: blur(0px);
    z-index: 1000;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.5);
}

    .mobile-slide-menu a {
        color: white;
        text-decoration: none;
        margin: 1rem 0;
        font-weight: 500;
        transition: 0.2s;
        width: 100%;
    }

        .mobile-slide-menu a:hover {
            color: #f0c000;
        }

    /* Açıldığında */
    /*.mobile-slide-menu.active {
        right: 0;
    }*/

    .mobile-slide-menu.active {
        transform: translateX(0);
        opacity: 1;
        backdrop-filter: blur(6px);
    }

.overlay-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    transition: opacity 0.3s ease;
}

    .overlay-blur.d-none {
        opacity: 0;
        pointer-events: none;
    }

    .overlay-blur.active {
        opacity: 1;
        pointer-events: auto;
    }
    /* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* ÜSTTEN GELEN MESAJ */
/* BAŞLANGIÇ */
#dimensionOverlay {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(6px); /* Blur efekti */
    background: rgba(0, 0, 0, 0.75);
    color: #00ffff;
    text-align: center;
    padding: 14px 0;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif; /* Teknolojik bir font önerisi */
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px #00ffff, 0 0 20px #00ffff; /* Neon parlaması */
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.8s ease;
}
/* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* HERO BÖLÜMÜ */
/* BAŞLANGIÇ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(11,12,16,1) 100%);
}

    .hero h1 {
        font-size: 3rem;
        color: white;
    }

.hero-container {
    display: flex;
    align-items: center; /* Dikey ortalama */
    justify-content: center; /* İsteğe bağlı: yatay ortalama */
    gap: 50px; /* Resim ve yazılar arası boşluk */
}

.hero-image {
    max-height: 750px;
    width: auto;
    height: auto;
}

.highlight {
    color: #00fff0;
    animation: pulse 2s infinite;
}

.highlight-red {
    color: #ff0055;
    animation: pulse-red 2s infinite;
}

.slogan {
    margin-top: 1rem;
    font-size: 1.5rem;
    opacity: 0.85;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 10px #00fff0;
    }

    50% {
        text-shadow: 0 0 20px #00fff0, 0 0 30px #00fff0;
    }
}

@keyframes pulse-red {
    0%, 100% {
        text-shadow: 0 0 10px #ff0055;
    }

    50% {
        text-shadow: 0 0 20px #ff0055, 0 0 30px #ff0055;
    }
}

/* Mobil Görünüm için */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column; /* Dikey dizilim: görsel üstte, yazılar altta */
        text-align: center;
    }

    

    .hero-image {
        width: 90%; /* Ekrana sığması için görsel genişliği */
        max-height: none;
    }
}
/* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* SECTION YAPILARI */
/* BAŞLANGIÇ */
/* Section transitions */
.visitor-section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.dimension-transition {
    animation: fadeInUp 1.5s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Arkaplanı */
.section-inner {
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

    .section-inner .btn {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeSlideUp 1s forwards;
        animation-delay: 0.5s;
    }

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Project Cards */
.projects {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card {
    background: #1a1a1d;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

    .project-card:hover {
        transform: rotateY(10deg) rotateX(5deg);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 255, 255, 0.3);
    }


    .project-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
    }

.more-projects-btn {
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .more-projects-btn:hover {
        background-color: #00fff0;
        color: #0f0f0f;
        border-color: transparent;
        transform: scale(1.05);
    }
/* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* MANİFESTO */
/* BAŞLANGIÇ */
.manifesto-section {
    position: relative;
    background: linear-gradient(to bottom, #0c0c0c, #121212);
    padding: 100px 20px;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
}

.manifesto-overlay {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.manifesto-title {
    font-size: 3rem;
    color: #00fff0;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.manifesto-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #ddd;
    font-weight: 300;
}

.highlighted {
    color: #00fff0;
    font-weight: 600;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 0 0 10px #00fff0;
    }

    50% {
        text-shadow: 0 0 20px #00fff0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* İLETİŞİM BÖLÜMÜ */
/* BAŞLANGIÇ */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    display: flex;
    justify-content: center;
    width: 100vw;
    max-width: 100%;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-text {
    flex: 1;
    min-width: 250px;
}

    .contact-text h2 {
        font-size: 28px;
        color: #00fff0;
        margin-bottom: 10px;
    }

    .contact-text p {
        font-size: 16px;
        color: #ccc;
    }

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 250px;
}

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        resize: none;
        transition: all 0.3s ease;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #00fff0;
            outline: none;
            box-shadow: 0 0 10px #00fff055;
        }

    .contact-form button {
        padding: 12px;
        background: #00fff0;
        color: #0a0a0a;
        font-weight: bold;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .contact-form button:hover {
            background: #00d9c2;
        }
/* BİTİŞ */

/* -------------------------------------------------------------------------------- */


/*footer {
    background: #0f1014;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    color: #aaa;
    position: fixed;
}*/

/* FOOTER */
/* BAŞLANGIÇ */
.footer {
    background: #111;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    bottom:0;
}

.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer .motto {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 8px;
}

.footer .copyright {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.footer .social-icons a {
    color: #00fff0;
    margin: 0 10px;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .footer .social-icons a:hover {
        color: #ffffff;
        transform: scale(1.2);
    }

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00fff0;
    color: #000;
    padding: 10px 14px;
    border-radius: 50%;
    box-shadow: 0 0 10px #00fff0aa;
    z-index: 999;
    display: none;
    transition: all 0.3s ease;
}

    .scroll-top-btn:hover {
        background: #00d9c2;
        color: #000;
        transform: scale(1.1);
    }
.scroll-top-btn {
    opacity: 0;
    pointer-events: none;
}

    .scroll-top-btn.show {
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.5s ease;
    }
/* BİTİŞ */

/* -------------------------------------------------------------------------------- */

/* Sadece mobilde hamburger + mobil menü görünür */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }
}


/* Glow Line - üstten alta inen animasyon */
.glow-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, #00ffff, transparent);
    animation: slideDown 1.5s ease-in-out forwards;
}

@keyframes slideDown {
    0% {
        top: -100%;
        opacity: 0;
    }

    50% {
        top: 50%;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Glitch efekti */
/*#dimensionMessage::before,
#dimensionMessage::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    left: 0;
    text-shadow: -2px 0 red;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
}

#dimensionMessage::before {
    animation: glitchTop 2s infinite linear alternate-reverse;
}

#dimensionMessage::after {
    text-shadow: -2px 0 blue;
    animation: glitchBottom 1.5s infinite linear alternate-reverse;
}*/

/*@keyframes glitchTop {
    0% {
        clip: rect(0, 9999px, 0, 0);
    }

    20% {
        clip: rect(0, 9999px, 20px, 0);
    }

    40% {
        clip: rect(0, 9999px, 10px, 0);
    }

    60% {
        clip: rect(0, 9999px, 5px, 0);
    }

    80% {
        clip: rect(0, 9999px, 15px, 0);
    }

    100% {
        clip: rect(0, 9999px, 0, 0);
    }
}

@keyframes glitchBottom {
    0% {
        clip: rect(0, 9999px, 0, 0);
    }

    25% {
        clip: rect(10px, 9999px, 20px, 0);
    }

    50% {
        clip: rect(5px, 9999px, 15px, 0);
    }

    75% {
        clip: rect(15px, 9999px, 25px, 0);
    }

    100% {
        clip: rect(0, 9999px, 0, 0);
    }
}*/


