body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0f0f0f;
    color: rgb(26, 25, 25);
    scroll-behavior: smooth;
}

.flag-icon {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    cursor: default;
    z-index: 1000;
}

.flag-icon img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0,0,0,0.7);
}

.hero {
    position: relative;
    height: 100vh;
    background: url("/static/images/portfolio.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 2s ease-in forwards;
    color: white;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Transparan siyah */
    z-index: -1; /* Arka planda kalması için */
}

.hero-text-box {
    background-color: rgba(255, 255, 255, 0.6); /* Beyaz ve yarı şeffaf */
    padding: 30px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-text-box h1 {
    margin: 0;
    font-size: 3em;
    color: #7e1010;
}

.hero-text-box p {
    margin-top: 10px;
    font-size: 1.2em;
    color: #333;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: rgb(96, 9, 9);
    animation: slideDown 1.5s ease-out forwards;
}

.tagline {
    font-size: 1.5rem;
    color: #d0d0d0;
    margin-top: 10px;
    animation: fadeIn 3s ease-in forwards;
}

/* İçerik bölümleri */
.content-section {
    padding: 60px 10%;
    background-color: #121212;
    border-top: 1px solid #333;
}

/* Başlıklar sade ve hover animasyonlu alt çizgi */
.content-section h2 {
    color: #2196f3;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 6px;
    cursor: default;
}

.content-section h2::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: #2196f3;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.content-section h2:hover::after {
    width: 100%;
}

/* Başlık altındaki açıklamalar (animasyonlu kutu stilinde) */
.content-section p,
.content-section ul {
    background-color: #ffffff;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(126, 16, 16, 0.4);
    color: #000000;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-in-out forwards;
    transition: background-color 0.3s ease;
}

/* Üzerine gelince belirginleşme efekti */
.content-section p:hover,
.content-section ul:hover {
    box-shadow: 0 0 20px rgba(255, 6, 6, 0.7); /* Parlak bordo gölge */
    background-color: white; /* Arka plan sabit beyaz */
    color: black;            /* Yazı sabit siyah */
    cursor: default;
}

.content-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #90caf9;
}

.project-card {
    background-color: #1a1a1a;
    padding: 25px;
    margin-top: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-in-out forwards;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.7);
}

.project-card h3 {
    color: #64b5f6;
    margin-bottom: 10px;
}

.project-card p {
    color: #000000;
    line-height: 1.5;
}

.experience-item {
    background-color: #1a1a1a;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
    border-radius: 10px;
    animation: fadeInUp 1s ease-in-out forwards;
}

.experience-item h3 {
    margin: 0;
    color: #64b5f6;
}

.experience-item p {
    color: #000000;
    margin: 5px 0;
}

#contact a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#contact a:hover {
    text-decoration: underline;
    color: #90caf9;
}

#contact p {
    font-size: 1.1rem;
    margin: 8px 0;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideDown {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

@keyframes fadeInUp {
    from {transform: translateY(50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Kırmızı uçak ikonu için ekstra stil */
.logo i {
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.logo i:hover {
    transform: rotate(15deg) scale(1.1);
    cursor: pointer;
}

/* Navbar ayarları */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 255, 255);
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Logo */
/* Navbar ayarları */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 255, 255);
    padding: 12px 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Logo */
.navbar .logo {
    display: flex;
    align-items: center;
    color: rgb(0, 0, 0);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Menü - Masaüstü görünüm */
.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menü elemanları */
.navbar ul li {
    margin-left: 20px;
}

/* Menü linkleri */
.navbar ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekti */
.navbar ul li a:hover {
    background-color: #7e1010;
    color: white;
    box-shadow: 0 0 8px 3px rgba(126, 16, 16, 0.7);
    transform: scale(1.1);
}

/* Hamburger butonu */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: rgb(0, 0, 0);
    background: none;
    border: none;
    z-index: 10000;
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgb(255, 255, 255);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        border-radius: 0 0 8px 8px;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        margin: 10px 0;
        text-align: center;
    }

    .navbar ul li a {
        font-size: 1.2rem;
        padding: 10px 0;
        display: block;
    }
}












