﻿
:root {
    --primary-green: #2ecc71;
    --dark-bg: #1a1a1a;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--body-font);
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    position: relative;
}

#home {
    background: radial-gradient(800px 400px at 50% 20%, rgba(255,255,255,0.06), transparent 60%), linear-gradient(180deg, #0f1419 0%, #07090c 100%);
}

    #home h1 {
        text-shadow: 0 8px 30px rgba(0,0,0,0.6);
    }

#wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 280px;
    min-width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--dark-bg);
    z-index: 2000;
    transition: all 0.3s ease;
    overflow-y: auto;
    z-index:9999;
}

#page-content-wrapper {
    width: 100%;
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding: 100px 40px;
    min-height: 100vh;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: 1px;
}

.bg-parallax {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/img/parallax-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: white;
}

#sidebar .list-group-item {
    font-family: var(--heading-font);
    background: transparent !important;
    color: #fff !important;
    border: none;
    border-left: 4px solid transparent !important;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

    #sidebar .list-group-item:hover {
        background: rgba(46, 204, 113, 0.1) !important;
        color: var(--primary-green) !important;
    }

    #sidebar .list-group-item.active-menu {
        background-color: #212529 !important;
        color: var(--primary-green) !important;
        border-left: 4px solid var(--primary-green) !important;
        font-weight: bold;
    }

.card-expertise {
    background: #fff;
    border-left: 5px solid var(--primary-green);
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

    .card-expertise:hover {
        transform: translateY(-10px);
    }

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

    .contact-item:hover {
        background: rgba(255, 255, 255, 0.07);
        transform: translateY(-5px);
        border-color: var(--primary-green);
    }

    .contact-item i {
        transition: transform 0.3s ease;
    }

    .contact-item:hover i {
        transform: scale(1.2);
    }

.scroll-down-container, .scroll-up-container {
    z-index: 5;
    text-align: center;
}

.scroll-down-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down-circle, .scroll-up-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-down-circle {
    border: 2px solid #fff;
    color: #fff !important;
    animation: bounce 2s infinite;
}

.bg-white .scroll-down-circle, .bg-light .scroll-down-circle {
    border-color: #333;
    color: #333 !important;
}

.scroll-up-circle {
    border: 2px solid var(--primary-green);
    color: var(--primary-green) !important;
    margin: 0 auto;
    animation: bounce-up 2s infinite;
}

.scroll-up-link:hover .scroll-up-circle {
    background-color: var(--primary-green);
    color: #fff !important;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }
}

@keyframes bounce-up {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {
    #sidebar {
        margin-left: -280px;
    }

        #sidebar.show-sidebar {
            margin-left: 0;
            box-shadow: 0 0 0 10000px rgba(0,0,0,0.5);
        }

    #page-content-wrapper {
        margin-left: 0 !important;
        padding-top: 75px;
    }

    .fixed-top-mobile {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
        height: 75px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #dee2e6;
    }

    section {
        padding: 60px 20px;
        scroll-margin-top: 75px;
    }

    .lh-1 {
        line-height: 1.2 !important;
    }
}

.footer {
    background-color: #111 !important;
    color: white;
}

.blog-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.blog-img-container {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 4px;
}

    .blog-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-green);
}

#postModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Parallax Arka Plan Efekti */
.bg-parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Bölümlere özel hafif geçişli arka planlar */
#expertise {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#publications {
    background-color: #ffffff;
}

/* Kartlar için ekstra derinlik */
.transition-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}