/* Genel Ayarlar ve Fontlar */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --bg-dark: #0d0d0d;
    --bg-medium: #1a1a1a;
    --text-light: #e0f2f7; /* Açık turkuaz/beyaz */
    --accent-color: #20c997; /* Ana turkuaz */
    --accent-light: #4ed8b4; /* Açık turkuaz hover */
    --gray-text: #a0e6ff; /* Daha soluk turkuaz */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Header ve Navigasyon */
header {
    background-color: var(--bg-medium);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand a {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: var(--accent-light);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    color: var(--text-light); /* Varsayılan link rengi */
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-color);
    font-weight: 600;
}


/* Bölümlerin Genel Ayarları */
section {
    padding: 80px 0; /* Üst ve alttan boşluk */
    text-align: center;
    min-height: calc(100vh - 120px); /* Ekranın çoğunu kaplasın */
    display: flex; /* İçeriği ortalamak için flex kullan */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section:not(.active) {
    display: none; /* JavaScript ile kontrol edilecek */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ana Sayfa (Home) */
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px); /* Navigasyon ve footer hariç tüm ekranı kaplasın */
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(32, 201, 151, 0.7);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(32, 201, 151, 0.5);
    }
    100% {
        box-shadow: 0 0 40px rgba(32, 201, 151, 1);
    }
}

.home-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.short-bio {
    font-size: 1.3rem;
    max-width: 700px;
    margin-top: 0;
    margin-bottom: 3rem;
    color: var(--gray-text);
}

.meaningful-image-container {
    width: 100%;
    max-width: 900px;
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease-in-out;
}

.meaningful-image-container:hover {
    transform: translateY(-10px);
}

.meaningful-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hakkımda (About) */
.about-content {
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify; /* Yazıyı hizala */
    padding: 0 1rem;
}

.about-content h3 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.skill-item {
    background-color: var(--bg-medium);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--accent-color);
    font-size: 1.1rem;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.skill-item:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(32, 201, 151, 0.4);
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.video-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.video-container iframe:hover {
    transform: translateY(-5px);
}


/* Galeri (Gallery) */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.6);
}

/* İletişim (Contact) */
.contact-content {
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 3rem auto 2rem auto;
    gap: 1.2rem;
    padding: 2rem;
    background-color: var(--bg-medium);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 10px rgba(32, 201, 151, 0.5);
}

.contact-form button {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(rgba(32, 201, 151, 0.6));
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    font-size: 2.5rem;
    color: var(--accent-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-light);
    transform: translateY(-7px) scale(1.1);
}


/* Footer */
footer {
    background-color: var(--bg-medium);
    color: var(--gray-text);
    text-align: center;
    padding: 2rem 0;
    font-size: 1rem;
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    display: flex; /* Flexbox kullan */
    justify-content: center; /* İçeriği yatayda ortala */
    align-items: center; /* İçeriği dikeyde ortala (eğer footer'ın yüksekliği artarsa) */
    flex-direction: column; /* İçerik alt alta gelsin */
}

.footer-content {
    max-width: 1200px;
    width: 100%; /* İçeriğin tam genişliği kullanmasını sağla */
    margin: 0 auto;
    padding: 0 2rem;
    display: flex; /* İçindeki p etiketlerini yönetmek için */
    flex-direction: column; /* p etiketleri alt alta gelsin */
    align-items: center; /* p etiketlerini ortala */
}

footer p {
    margin: 0.5rem 0;
}

/* ------------------------------------- */
/* Mobil Uyumlu Tasarım (Responsive Design) */
/* ------------------------------------- */

@media (max-width: 992px) {
    .nav-links li {
        margin-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Genel */
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    /* Navigasyon */
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-brand {
        margin-bottom: 1rem;
    }

    .nav-brand a {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: space-around;
    }

    .nav-links li {
        margin-left: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
    
    /* Ana Sayfa */
    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }
    
    .short-bio {
        font-size: 1.1rem;
    }

    .meaningful-image-container {
        max-width: 100%;
        border-radius: 8px;
    }

    /* Hakkımda Bölümü */
    .about-content p {
        text-align: left; /* Mobil'de sol hizala */
    }

    .skills-grid {
        gap: 10px;
    }

    .skill-item {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .video-container {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 15px;
    }
    
    .video-container iframe {
        height: 200px;
    }

    /* Galeri Bölümü */
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .image-grid img {
        height: 150px;
    }

    /* İletişim Bölümü */
    .contact-form {
        max-width: 100%;
        padding: 1.5rem;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        padding: 12px;
        font-size: 0.95rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 2rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 0; /* Daha az padding */
    }
    .footer-content {
        padding: 0 1rem; /* Mobil padding'ini ayarla */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    .short-bio {
        font-size: 0.95rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .video-container iframe {
        height: 180px;
    }
    .image-grid {
        grid-template-columns: 1fr; /* Çok küçük ekranlarda tek sütun */
    }
    .image-grid img {
        height: 200px; /* Tek sütunda daha yüksek olabilir */
    }
}
/* Yeni Galeri Item Stilleri */
.gallery-item {
    background-color: var(--bg-medium);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Taşmaları engelle */
    display: flex;
    flex-direction: column; /* İçeriği dikey sırala */
    text-align: center;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.6);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0; /* Sadece üst kenarlara yuvarlaklık ver */
}

/* Açıklama Yazısı Stilleri */
.item-description {
    padding: 15px;
    font-size: 0.9rem;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

/* Video ve Görsel arasında hizalama farkı olmasın diye */
.image-grid .video-container {
    width: 100%;
    height: 250px; /* Görsel ile aynı yükseklikte olmasını sağlar */
}

.image-grid iframe {
    width: 100%;
    height: 100%; /* Kapsayıcı divi doldur */
    display: block;
}

@media (max-width: 768px) {
    .image-grid .video-container {
        height: 200px;
    }
}