/* Genel Sıfırlama ve Font Ayarı */
/* Safari ve iOS cihazlarda cam efektinin çalışması için şart */
.container, .skills-grid span {
    -webkit-backdrop-filter: blur(15px) !important;
    backdrop-filter: blur(15px) !important;
}

/* Mobilde ve Safari'de kutuların taşmaması için */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {

    background: linear-gradient(-45deg, #1a1a1a, #0b43e8, #008080, #051937);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    overflow-x: hidden; /* Taşmaları engellemek için */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ana Konteyner (Cam Efekti) */
.container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 550px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Profil Fotoğrafı Bölümü --- */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #008080; /* Matematik Teal Vurgusu */
    box-shadow: 0 0 20px rgba(0, 128, 128, 0.3);
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-photo:hover {
    transform: scale(1.1) rotate(3deg); /* Hafif matematiksel bir dinamizm */
    border-color: #20B2AA;
}

header h1 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Bölüm Başlıkları */
h2 {
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #008080; /* Matematik vurgu rengi */
    background: #ffffff;
    display: inline-block;
    padding: 4px 15px;
    border-radius: 4px;
    font-weight: 800;
   
    display: inline-flex;
    align-items: center;
    gap: 8px; 
}

h3 {
    margin-top: 50px;    
    margin-bottom: 20px; 
    font-size: 1.2rem;
    text-align: center;
    color: #00aaff;     
    font-weight: 700;
}

/* Başlık Ayarı */
.skills-container h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

/* Grid Yapısı */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

/* Beceri Etiketleri (Modern Tasarım) */
.skills-grid span {
    background: rgba(255, 255, 255, 0.05); /* Çok hafif cam efekti */
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Hover Efekti: Canlı ve Belirgin */
.skills-grid span:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.1);
    border-color: #008080; /* Senin Teal rengin */
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.4);
    color: #00ffcc; /* Parlak bir turkuaz yazı rengi */
    cursor: pointer;
}

/* Alt Çizgi Animasyonu (Opsiyonel) */
.skills-grid span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #008080;
    transition: width 0.3s ease;
}

.skills-grid span:hover::after {
    width: 100%;
}

/* CV Butonu */
.cv-action {
    margin-top: 40px;
}

.btn-cv {
    display: inline-block;
    padding: 15px 40px;
    background-color: #006464; /* Profesyonel Teal */
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
    border: none;
    cursor: pointer;
}

.btn-cv:hover {
    background-color: #006666;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 128, 128, 0.5);
}

/* Alt Bilgi */
footer {
    margin-top: 30px;
    padding-top: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

footer a:hover {
    color: #008080;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
}

.social-link-item {
    font-size: 2.8rem; /* Biraz daha büyüttük */
    color: rgba(255, 255, 255, 0.7); /* Başlangıçta şık, yarı saydam bir beyaz */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.social-link-item:hover .fa-linkedin {
    color: #ffffff; 
    filter: drop-shadow(0 0 15px #0077b5); 
    transform: translateY(-8px) scale(1.15);
}


.social-link-item:hover .fa-envelope {
    color: #ffffff;
    filter: drop-shadow(0 0 15px #008080);
    transform: translateY(-8px) scale(1.15);
}


.social-link-item i {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section {
    margin-top: 3rem; /* CV butonundan aşağıya doğru temiz bir boşluk */
    margin-bottom: 0.5rem; /* İkonlara çok uzak olmaması için az boşluk */
    text-align: center;
}

/* Footer içindeki ekstra boşlukları temizleyelim ki başlığa yakın dursun */
footer {
    margin-top: 0; 
    padding-top: 0;
}

.social-icons {
    margin-top: 15px; /* Başlık ile ikonlar arasındaki son dokunuş */
}

/* Başlığın altındaki boşluğu daraltıyoruz */
.egitim-baslik {
    margin-bottom: 5px !important; /* 20px olan değeri 5px yaptık */
}

/* Üniversite adının (h3) üstündeki boşluğu sıfırlıyoruz */
.Education h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Beceriler başlığının alt boşluğunu daralt */
.beceriler-baslik {
    margin-bottom: 5px !important;
}

/* Hemen altındaki Teknik Beceriler (h3) başlığının üst boşluğunu sıfırla */
.skills-container h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-top: 35px !important;
}

.Education h3 {
    margin-top: 30px !important;
}

#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.math-symbol {
    font-size: 3rem;
    color: #008080;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
/* Kurslar Bölümü Genel Alanı */
.Courses {
    margin-top: 3rem;
    text-align: center;
}

.course-item {
    margin-bottom: 35px; /* Her sertifika arası temiz boşluk */
}

/* Tarihler: Saf Beyaz */
.course-date {
    display: block;
    font-size: 0.9rem;
    color: #ffffff; 
    font-weight: 500;
    margin-bottom: 8px;
}

/* Başlıklar: Projedeki Mavi Tonu */
.course-item h3 {
    color: #00aaff !important; 
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

/* Kurum İsimleri: Hafif Şeffaf Beyaz */
.course-institution {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: italic;
    margin-top: 2px;
}

/* Başlığın altındaki boşluk ayarı */
.kurslar-baslik {
    margin-bottom: 25px !important;
}


/* Safari'nin otomatik renk ve alt çizgi atamasını engelle */
.course-date, .course-item h3 {
    text-decoration: none !important; /* Alt çizgiyi kaldır */
    color: inherit; /* Önce rengi sıfırla */
}

/* Tarihler için senin istediğin saf beyaz */
.course-date {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* Safari için özel zorlama */
}

/* Başlıklar için senin istediğin canlı mavi */
.course-item h3 {
    color: #00aaff !important;
    -webkit-text-fill-color: #00aaff !important; /* Safari için özel zorlama */
}