/* Reset CSS and General Styling -tüm öğelerin başlangıç ayarları */
/* ✅ Genel Resetleme - Tüm öğelerin başlangıç ayarları */
/* 1️⃣ Sayfa Resetleme ve Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2️⃣ Sayfa Genel Stil */
body {
    font-family: Arial, sans-serif;
    background-color: #FFFFFF; /* Açık Beyaz Arka Plan */
    color: #1E212B; /* Koyu Füme Metin Rengi */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


/* 3️⃣ Menü Simgesi (Hamburger Butonu) */
.menu-container {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 1001;
    display: inline-block;
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: #E63946; /* Parlak Kırmızı */
    transition: 0.3s;
}

/* 4️⃣ Menü (Başlangıçta Gizli) */
.navbar {
    position: absolute;
    top: 40px;
    right: 0;
    width: 220px;
    background-color: rgba(30, 33, 43, 0.95);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    min-height: 350px; /* 📌 Navbar’ın yüksekliği sabit */
    display: flex;
    flex-direction: column;
    padding: 20px 0; /* İç boşluk sabit */
}

/* 5️⃣ Menü Hover ile Açılacak */
.menu-container:hover .navbar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 6️⃣ Menü İçeriği */
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* 7️⃣ Menü Öğeleri */
.navbar ul li {
    height: 50px; /* 📌 Tüm öğeleri sabit yükseklikte tut */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 8️⃣ Menü Linkleri */
.navbar ul li a {
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%; /* 📌 Linkler tam genişlikte olacak ama yanlardan biraz boşluk kalacak */
    height: 100%; /* 📌 Linklerin yüksekliği sabit kalacak */
    border-radius: 12px;
    transition: background-color 0.3s ease, border 0.3s ease;
}

/* 9️⃣ Hover Efekti (Sadece Arka Plan Değişsin, Padding Değişmesin) */
.navbar ul li a:hover {
    background-color: rgba(255, 140, 66, 0.8);
    border: 2px solid #FFD166;
}




/* 9️⃣ Giriş (Hero) Bölümü */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
    text-align: left;
}







/* 🔟 Sol Taraftaki Yazılar */
.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3em;
    color: #1E212B;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-in-out forwards 0.3s;
}


.hero-content h1 span {
    color: #E63946; /* Parlak Kırmızı */
}

.hero-content h2 {
    font-size: 1.8em;
    color: #2274A5;
    margin-top: 10px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-in-out forwards 0.5s;
}

.hero-content p {
    font-size: 1.2em;
    color: #333;
    margin-top: 15px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-in-out forwards 0.7s;
}


/* 1️⃣1️⃣ Butonlar */
.hero-buttons {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards 0.6s;
}


.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1em;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-primary {
    background-color: #E63946; /* Parlak Kırmızı */
    color: white;
}

.btn-primary:hover {
    background-color: #FF8C42; /* Canlı Turuncu */
}

.btn-secondary {
    background-color: #2274A5; /* Elektrik Mavisi */
    color: white;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #FFD166; /* Canlı Sarı */
}

/* 1️⃣2️⃣ Sağ Taraftaki Profil Fotoğrafı */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-in-out forwards 0.9s;
}


.hero-image img {
    width: 350px; /* Daha büyük fotoğraf */
    height: 350px;
    border-radius: 50%; /* Yuvarlak çerçeve */
    object-fit: cover;
    border: 6px solid transparent; /* İlk başta çerçeve görünmez */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
    animation: borderPulse 2s infinite alternate ease-in-out; /* Çerçeve animasyonu */
}





/* 1️⃣3️⃣ Footer (Alt Bilgi Bölümü) */
footer {
    text-align: center;
    color: #1E212B; /* Yazı rengi koyu füme */
    padding: 15px;
    margin-top: auto;
    width: 100%;
    background-color: transparent; /* Arka planı kaldır */
}




/* 1️⃣4️⃣ Animasyonlar */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ✅ Read More Butonu için Fade-in Animasyonu */
@keyframes fadeInReadMore {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}



/* 1️⃣5️⃣ Açıklama Metni ve Read More Butonu */
.about-box {
    background-color: transparent; /* Çerçeveyi kaldır */
    padding: 0; /* İç boşluğu sıfırla */
    border-radius: 0; /* Yuvarlatmayı kaldır */
    box-shadow: none; /* Gölgeyi kaldır */
    text-align: left; /* Yazıyı sola hizala */
    max-width: 500px; /* Genişliği koru */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-in-out forwards 0.9s; /* Açıklama animasyonu */
}

/* ✅ Açıklama Metni */
.about-box p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ✅ Read More Butonu (Açıklamayla aynı animasyonlu giriş) */
.read-more {
    color: #2274A5; /* Elektrik Mavisi */
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInReadMore 1s ease-in-out forwards 1.2s; /* Açıklamadan sonra gecikmeli giriş */
    transition: 0.3s ease;
}

.read-more:hover {
    color: #FF8C42; /* Canlı Turuncu */
    text-decoration: underline;
}



/* Mobil Uyum (max-width: 768px altında) */
/* Mobil Görünüm (600px altı için) */
@media (max-width: 600px) {

  /* Hero yapısını alt alta diz */
  .hero {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .hero-image {
    order: 1; /* Fotoğraf en üstte */
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2em;
    white-space: normal;
  }

  .hero-content h2 {
    font-size: 1.3em;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 10px;
  }

  /* Açıklama kutusu aşağıda gelsin */
  .about-box {
    order: 3; /* En altta gelsin */
    max-width: 100%;
    padding: 0 15px;
    margin-top: 20px;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    animation: none;
    transform: none;
    opacity: 1;
  }

  /* Footer */
  footer {
    font-size: 0.85em;
    padding: 10px;
  }
}





























/* 2️⃣1️⃣ About Sayfası Genel Stil */
.about-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 2️⃣2️⃣ Kart Tasarımı */
.about-card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* ✅ Animasyon eklendi */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-in-out forwards;
}


/* 2️⃣3️⃣ Kart Hover Efekti (Çok keskin değil, hafif bir efekt) */
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 2️⃣4️⃣ Sol Tarafa Sabit Navigasyon Yuvarlakları */
.side-navigation {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 2️⃣5️⃣ Yuvarlak Butonlar */
.nav-dot {
    width: 15px;
    height: 15px;
    background: #E63946; /* Parlak Kırmızı */
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

/* 2️⃣6️⃣ Yuvarlak Buton Hover Efekti */
.nav-dot:hover {
    transform: scale(1.2);
    background: #FF8C42; /* Canlı Turuncu */
}






/* 2️⃣7️⃣ About Sayfası Hiyerarşi ve Okunabilirlik Düzenlemesi */

/* 🔴 Ana Başlıklar (About Me, Skills, Experience, Hobbies) */
.about-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #E63946; /* Parlak Kırmızı */
}

/* 🔵 Orta Başlıklar (Core Competencies, Supporting Expertise, vb.) */
.about-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #2274A5; /* Elektrik Mavisi */
}

/* ⚫ Alt Başlıklar (Smart Energy & Power Electronics vb.) */
.about-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 4px;
    color: #1E212B; /* Koyu Füme */
}

/* 📑 Paragraflar - İki yana yasla */
.about-card p {
    text-align: justify;
    line-height: 1.7;
    font-size: 16px;
    color: #1E212B;
}

/* 📋 Listeler */
.about-card ul {
    padding-left: 20px;
}

.about-card li {
    text-align: justify;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 15.5px;
    color: #1E212B;
}

/* 2️⃣8️⃣ Yalnızca "Skills" Kartı İçin: Başlık ve Madde Boşluklandırması */
#skills strong {
    display: block;
    margin-top: 20px;     /* Başlıktan önce boşluk */
    margin-bottom: 8px;   /* Başlıktan sonra boşluk */
    font-weight: bold;
}

/* Yine sadece Skills içindeki liste maddelerinin en sondakine boşluk */
#skills ul li:last-child {
    margin-bottom: 12px;
}
/* 2️⃣9️⃣ Sadece Cryptographic Watermarking & Security maddesinden sonra boşluk bırak */
#skills .last-skill-item {
    margin-bottom: 60px;
}






/* Mobilde Sol Navigasyon Butonlarını Gizle */
@media (max-width: 700px) {
  .side-navigation {
    display: none;
  }
}


























/* 3️⃣0️⃣ Projects Sayfası - Genel Kart Yapısı (Daha Dar ve Dengeli) */
.projects-section {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3️⃣1️⃣ Proje Kartı Tasarımı (Animasyonlu + Hover) */
.project-card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 22px 28px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;

    /* 🔥 Animasyon */
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    /* ✅ transform'u buradan kaldırdık ki hover'da sorun çıkmasın */
}

/* 3️⃣2️⃣ Hover Efekti (Sadece gölge + yukarı kayma) */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* 3️⃣3️⃣ Proje Başlıkları */
.project-card h2 {
    font-size: 28px; /* About ile aynı */
    font-weight: 700;
    color: #E63946;
    margin-bottom: 15px;
}

/* 3️⃣4️⃣ Proje Açıklamaları */
.project-card p {
    font-size: 1.05em; /* About ile aynı boyut */
    color: #1E212B;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 10px;
}

/* 3️⃣5️⃣ Alt Başlıklar (h3) */
.project-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2274A5;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 3️⃣6️⃣ GitHub Bağlantısı */
.github-link {
    margin-top: 20px;
    text-align: center;
}

.github-link a {
    color: #2274A5;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-link a:hover {
    color: #FF8C42;
}










/* 3️⃣7️⃣ Academic Sayfası - Genel Bölüm Yapısı */
.academic-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
}

/* 3️⃣8️⃣ Her Bir Akademik Blok */
.academic-block {
    background: none;
    padding: 10px 0;
}

/* 3️⃣9️⃣ Ana Başlıklar (h2) */
.academic-block h2 {
    font-size: 28px;
    font-weight: 700;
    color: #E63946;
    margin-bottom: 20px;
}

/* 4️⃣0️⃣ Alt Başlıklar (h3) */
.academic-block h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2274A5;
    margin-bottom: 10px;
}

/* 4️⃣1️⃣ Paragraflar */
.academic-block p {
    font-size: 1.05em;
    color: #1E212B;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 15px;
}

/* 4️⃣2️⃣ Vurgulu metinler (strong) */
.academic-block p strong {
    font-weight: 600;
    color: #000;
}


/* 4️⃣3️⃣ Dot Separator (Academic Sayfa Arası Görsel Ayraç) */
.section-separator {
    width: 50px;
    height: 5px;
    background: #E63946;
    border-radius: 8px;
    margin: 50px auto 30px auto;
}






/* Academic Sayfası - Mobil Görünüm */
@media (max-width: 600px) {

  .academic-section {
    padding: 10px 15px;
    gap: 30px;
  }

  .academic-block h2 {
    font-size: 24px;
    text-align: center;
  }

  .academic-block h3 {
    font-size: 18px;
  }

  .academic-block p {
    font-size: 1em;
    line-height: 1.6;
    text-align: left; /* Daha sade görünüm */
  }

  .section-separator {
    width: 40px;
    height: 4px;
    margin: 30px auto 20px auto;
  }
}


















/* 4️⃣4️⃣ Travel Sayfası - Genel Stil */
/* === Travel Map Sayfası === */
/* Travel Map için iyileştirme */

.travel-title-box {
  background-color: #2274A5;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin: 30px auto 25px;
  width: fit-content;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  animation: fade-in-top 1s ease-in-out;
}


#map {
  width: 55vw;
  height: 60vh;
  margin: 0 auto;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}


.map-title {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #1E212B;
  font-weight: bold;
}





/* Bayrak ikonlu marker için info window stilleri */
.marker-label {
  font-weight: bold;
  font-size: 14px;
}

/* Animasyon */
@keyframes fade-in-top {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}






/* 4️⃣5️⃣ Travel Sayfası - Mobil Görünüm */
@media (max-width: 600px) {

  .travel-title-box {
    font-size: 1.5rem;
    padding: 15px;
    width: 90%;
    margin-top: 60px;
  }

  #map {
    width: 90vw;
    height: 50vh;
    margin: 20px auto;
    border-radius: 10px;
    margin-top: 30px;
  }

  .map-title {
    font-size: 1.8rem;
  }
}














/* 45. Blog Sayfası (Minimal) */
.blog-coming-soon {
  text-align: center;
  padding: 80px 20px 100px;
}

.blog-title {
  font-size: 2.2rem;
  color: #1E212B;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 40px;
}

.blog-placeholder {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border-left: 4px solid #E63946;
  background-color: #f9f9f9;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: left;
  border-radius: 8px;
}



















/* 
46. İletişim Sayfası (Contact Page)
*/
.contact-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 30px;
}

.contact-header p {
  font-size: 1.2rem;
  color: #1e212b;
  margin-bottom: 50px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 1rem;
}

.contact-info .info-item i {
  font-size: 1.2rem;
  color: #2274A5;
  background-color: #e8f3fa;
  padding: 8px;
  border-radius: 50%;
}

.contact-info .info-item a {
  color: #1e212b;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info .info-item a:hover {
  color: #e63946;
}

.contact-form {
  flex: 1;
  min-width: 250px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 12px;
  background-color: #e63946;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #c72f3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1)
}


✅ Mobil Uyumluluk (Responsive) – Küçük Ekranlar

@media (max-width: 600px) {
  .contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }
}



/* 47. İletişim Sayfası Animasyonları */
@keyframes complexFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  60% {
    opacity: 0.5;
    transform: translateY(20px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-header,
.contact-info,
.contact-form {
  animation: complexFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.contact-header { animation-delay: 0.2s; }
.contact-info   { animation-delay: 0.4s; }
.contact-form   { animation-delay: 0.6s; }
