/* ########## 1. DEĞİŞKENLER VE TEMEL AYARLAR ########## */
:root {
    --bg-dark: #000814;
    --bg-card: #001d3d;
    --neon-blue: #00b4d8;
    --deep-blue: #0077b6;
}

html, body {
    background-color: var(--bg-dark) !important;
    color: white !important;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ########## 2. GENEL BİLEŞENLER ########## */
.text-gradient {
    background: linear-gradient(90deg, var(--neon-blue), #90e0ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.py-100 {
    padding: 100px 0;
}

/* ########## 3. HERO SECTION (ÜST ALAN) ########## */
.hero-wrapper {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.05) 0%, transparent 40%);
}

.glass-laptop {
    background: rgba(0, 29, 61, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg);
}

.code-window {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}

.window-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.c-blue {
    color: var(--neon-blue);
}

.c-yellow {
    color: #ffd60a;
}

.c-green {
    color: #27c93f;
}

.neon-shield {
    position: absolute;
    bottom: -30px;
    left: -40px;
    font-size: 80px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 15px var(--neon-blue));
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ########## 4. BUTONLAR ########## */
.btn-custom {
    background-color: var(--neon-blue) !important;
    color: #000814 !important;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    border: 2px solid var(--neon-blue);
    transition: 0.3s;
}

    .btn-custom:hover {
        background-color: var(--deep-blue) !important;
        border-color: var(--deep-blue);
        color: white !important;
    }

.btn-neon-blue {
    background-color: var(--deep-blue);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-neon-blue:hover {
        background-color: var(--neon-blue);
        transform: translateY(-3px);
        box-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
    }

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    transition: 0.3s;
}

    .btn-outline-light-custom:hover {
        background: rgba(255,255,255,0.05);
    }

/* ########## 5. HAKKIMDA & HİZMETLER ########## */
.about-img-box {
    position: relative;
    padding: 20px;
    background: rgba(0, 180, 216, 0.05);
    border-radius: 30px;
    border: 1px dashed var(--neon-blue);
    text-align: center;
}

.service-card {
    background: rgba(0, 29, 61, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--neon-blue);
    }

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin: 0 auto;
}

/* ########## 6. PROJELER ########## */
.project-card {
    background: #001220;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

    .project-card:hover {
        border-color: var(--neon-blue);
        transform: scale(1.02);
    }

.project-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #001d3d 0%, #000814 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.05);
}

/* ########## 7. İLETİŞİM ########## */
.contact-card-glass {
    background: rgba(0, 29, 61, 0.4);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 12px !important;
}

    .form-control:focus {
        border-color: var(--neon-blue) !important;
        box-shadow: 0 0 15px rgba(0, 180, 216, 0.2) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

/* İstatistik Çubuğu */
.stats-bar {
    background: rgba(0, 29, 61, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ########## FOOTER GÜNCELLEME ########## */
.footer {
    /* Sayfadan ayrılması için bir tık daha açık ama çok derin bir lacivert tonu */
    background: linear-gradient(to top, #001220 0%, #000814 100%);
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(0, 180, 216, 0.1); /* Çok ince neon mavi bir üst çizgi */
    position: relative;
}

    /* Footer üzerine hafif bir parıltı (Opsiyonel, şık durur) */
    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 30%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
        opacity: 0.5;
    }

    .footer span, .footer p {
        color: #94a3b8 !important; /* Metinler biraz daha gri/yumuşak olsun */
    }

    .footer strong {
        color: var(--neon-blue) !important; /* Markan parlasın */
    }

    .footer .bi {
        transition: 0.3s ease;
        opacity: 0.7;
    }

        .footer .bi:hover {
            color: var(--neon-blue) !important;
            opacity: 1;
            transform: translateY(-3px); /* İkonlar üzerine gelince hafif zıplasın */
        }
/* CoderVi logosunun boyutunu kurumsal seviyeye çekiyoruz */
.navbar-brand .img-logo {
    max-height: 40px; /* Logoyu bu yükseklikte sabitler, taşmasını önler */
    width: auto; /* Genişliği oranına göre otomatik ayarlar */
    margin-right: 12px; /* Metinle (CODERVI) arasına mesafe koyar */
    transition: all 0.3s ease; /* Hover efekti için yumuşak geçiş (kurumsallık +1) */
}

/* Hover yapınca hafif bir parlama efekti (kurumsallık +2) */
.navbar-brand:hover .img-logo {
    filter: brightness(1.2);
    transform: scale(1.03); /* Çok hafif büyüme */
}