:root {
    --primary-color: #00d2ff;
    --dark-bg: #0b0e14;
    --card-bg: rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, .brand-text {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.navbar {
    transition: background 0.3s ease-in-out, padding 0.3s ease;
    padding: 1.5rem 0;
    z-index: 1030;
    background: transparent !important; 
}

.navbar.scrolled {
    background: rgba(11, 14, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.nav-logo {
    height: 40px;
    border-radius: 50%;
}

.btn-glow {
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    transition: 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
    background-color: var(--primary-color);
    color: #000;
}

.hero-section {
    position: relative;
    height: 100vh; 
    width: 100%;
    overflow: hidden;
}
.fixed-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11,14,20,0.8) 0%, rgba(11,14,20,0.4) 50%, var(--dark-bg) 100%);
    z-index: 1; 
}

.hero-content {
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#toggleMuteBtn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(5px);
    padding: 1px 2px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#toggleMuteBtn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.main-content-wrapper {
    position: relative;
    z-index: 5;
    background-color: var(--dark-bg);
    margin-top: -80px;
}

.section-dark { background-color: #11151d; }
.section-black { background-color: var(--dark-bg); }


.image-box img {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.custom-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}

.custom-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
}

.divider {
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
.modal { z-index: 10001 !important; }
.modal-backdrop { z-index: 10000 !important; }
.modal-backdrop.show {
    backdrop-filter: blur(2px);
    opacity: 0.8; 
}
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 768px) {
    /* Başlık boyutlarını küçült */
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }

    #toggleMuteBtn {
        bottom: 100px; /* Alt kenardan mesafe */
        right: 50px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    #bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-content {
        padding-bottom: 30px;
    }
}
