/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  /* Alt katman: genel açık gri ton */
  background-color: #fafafa;

  /* Üst katmanlar: nokta desenleri */
  background-image:
    radial-gradient(circle at 1px 1px, #eaeaea 1px, transparent 1px),
    radial-gradient(circle at 6px 6px, #eaeaea 1px, transparent 1px);

  /* Desenin tekrarlama aralığı */
  background-size: 12px 12px, 12px 12px;

  /* İstersen scroll ile birlikte hareket etsin: */
  background-attachment: scroll;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- Navbar: Flex düzeni, merkeze hizalama --- */
.navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Logo sola, otomatik sabit genişlik */
.navbar .logo {
  flex: 0 0 auto;
}

/* Navbar logo boyutunu kısıtla */
.navbar .logo img {
  max-height: 75px;
  /* İstediğin değeri 32–48px arası tutabilirsin */
  padding-top: 4px;
  width: auto;

}


/* Menu ortada */
.navbar .nav-links {
  display: flex;
  gap: 24px;
  flex: 1 1 auto;
  justify-content: center;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.2s;
}

.navbar .nav-links a:hover {
  color: #0197F6;
}

/* --- Navbar Sosyal İkonlar --- */
.navbar .socials {
  display: flex;
  gap: 16px;
}

/* Ortak sosyal link stili */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #333;
  /* default icon rengi */
  transition: color .2s, transform .2s;
}

.social-link .icon {
  width: 100%;
  height: 100%;
}

/* Hover efekti */
.social-link:hover {
  transform: scale(1.1);
}


.navbar .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* padding is optional, isteğe göre artırılabilir */
}

.navbar .socials a img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar .socials a:hover img {
  opacity: 1;
  transform: scale(1.1);
}


/* --- Hero --- */
.hero {
  text-align: center;
  padding: 100px 0;

}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.avatar {
  width: 350px;
  border-radius: 50%;
}

/* --- Sections --- */
.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin: 60px 0 20px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* --- Skills --- */
.skills {
  background: #0197F6;
  color: #fff;
  padding: 80px 0;
}

.skills .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  margin: 40px 0;
}

.skills .card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 320px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Kart içi ikon */
.skills .card-icon {
  text-align: center;
  margin-bottom: 15px;
}

.skills .card-icon i {
  display: inline-block;
  margin: 0 auto 15px;
  font-size: 48px;
  color: #0197F6;
}

/* Başlık ve açıklama */
.skills .card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}

.skills .card .card-desc {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

/* Alt başlıklar */
.skills .card h4 {
  font-size: 1rem;
  color: #0197F6;
  text-align: center;
  margin: 15px 0 8px;
  font-weight: 600;
}

/* Technologies ve Tools listeleri */
.skills .card ul.tech-list,
.skills .card ul.tools-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: center;
}

.skills .card ul.tech-list li,
.skills .card ul.tools-list li {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #555;
}

/* CV butonu */
.skills .skills-cta {
  text-align: center;
}

.skills .skills-cta .btn {
  display: inline-block;
  margin-top: 20px;
  background: #fff;
  color: #0197F6;
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills .skills-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* --- Projects --- */
.projects {
  padding-bottom: 80px;
  /* Alt kısmı 80px boşluklu hale getirir */
}

.projects .projects-grid {
  display: grid;
  gap: 60px;
  /* Projeler arası dikey boşluk */
}

/* Her bir proje iki sütun: media + içerik */
.projects .project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  /* <<< Hücreleri (media + content) aynı yükseklikte yapar */
}

/* Küçük ekranlarda tek sütuna düşsün */
@media (max-width: 768px) {
  .projects .project-item {
    grid-template-columns: 1fr;
  }
}

/* Görsel taraf */
.projects .project-media {
  border-radius: 8px;
  overflow: hidden;
}

.projects .project-media img {
  width: 100%;
  display: block;
}

/* İçerik tarafı */
.projects .project-content {
  display: flex;
  /* <<< Flex ile içeriği dengeleriz */
  flex-direction: column;
  justify-content: space-between;
  /* Başlık / paragraflar / link arası boşluğu ayarlar */
  height: 100%;
  /* <<< Media ile aynı yüksekliği kaplar */
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  /* Alt çizgi rengi, currentColor’dan geliyor */
  border-bottom: 4px solid currentColor;
}

.projects .project-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: center;
}

.projects .project-content p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
  text-align: center;
}

.projects .project-content .link {
  color: currentColor;
  text-decoration: underline;
  font-weight: 600;
  text-align: center;
}

/* Renk temaları */
.projects .project-media.yellow {
  background: #ffc83a;
}

.projects .project-content.yellow {
  color: #ffc83a;
}

.projects .project-media.blue {
  background: #0197F6;
}

.projects .project-content.blue {
  color: #0197F6;
}


.projects .project-media.green {
  background: #38b000;
}

.projects .project-content.green {
  color: #38b000;
}

.projects .project-media.gunmetal {
  background: #002A32;
}

.projects .project-content.gunmetal {
  color: #002A32;
}




/* --- CTA Wide --- */
.cta-wide {
  background: linear-gradient(90deg, #0197F6 0%, #02182B 100%);
  color: #fff;
  padding: 100px 0;
  /* dikey boşluğu açtık */
  text-align: center;
  /* tüm içeriği ortala */
}

.cta-wide h2 {
  font-size: 2.5rem;
  /* başlık boyutu */
  margin-bottom: 20px;
  /* altında boşluk */
  font-weight: 700;
  line-height: 1.2;
}

.cta-wide p {
  max-width: 600px;
  /* daha okunaklı satır genişliği */
  margin: 0 auto 30px;
  /* otomatik yatay ortalama + alt boşluk */
  font-size: 1.1rem;
  /* paragraf boyutu */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.cta-wide .btn {
  display: inline-block;
  background: #fff;
  color: #0197F6;
  padding: 15px 40px;
  /* buton boyutunu büyüttük */
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-wide .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}


/* --- Experience Section --- */
#experience {
  padding-bottom: 100px;

}

/* Başlık ile timeline arasına ekstra boşluk */
#experience .section-title {
  margin-bottom: 60px;
}

/* Timeline container */
.experience .timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
  /* Solda çizgi ve daire için boşluk */
}

/* Dikey çizgi */
.experience .timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e0e0e0;
}

/* Her madde */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Yıl dairesi */
.timeline-item .year {
  position: absolute;
  left: 10px;
  /* çizgiden daireye hizalama */
  top: 0;
  width: 60px;
  height: 60px;
  background: #fff;
  border: 3px solid #0197F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0197F6;
  font-size: 1rem;
  z-index: 1;
}

/* Metin kısmı */
.timeline-item .details {
  margin-left: 80px;
  /* daireden sağa boşluk */
}

.timeline-item .details h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #0197F6;
}

.timeline-item .details p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mobilde tek sütuna düşür */
@media (max-width: 768px) {
  .experience .timeline {
    padding-left: 0;
  }

  .experience .timeline::before {
    display: none;
  }

  .timeline-item .year {
    position: relative;
    left: 0;
    margin-bottom: 8px;
  }

  .timeline-item .details {
    margin-left: 0;
  }
}



/* --- Testimonials Section --- */
#testimonials {
  padding: 80px 0;
  background: white;
}

/* Başlık ile liste arasına boşluk */
#testimonials .section-title {
  margin-bottom: 60px;
}

/* Listeyi ortala ve yorumlar arasına boşluk ver */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  /* dilediğiniz maksimum genişlik */
  margin: 0 auto;
  /* sayfa ortasına yasla */
}

/* Her bir yorum: avatar sabit, içerik esnek */
.testimonial-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  /* avatar için 120px, geri kalan içerik */
  gap: 24px;
  /* kolonlar arası boşluk */
  align-items: flex-start;
  /* üstten hizala */
}

/* Mobilde tek kolona geçiş */
@media (max-width: 768px) {
  .testimonial-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Avatar + isim + rol bloğu */
.testimonial-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* üstten başlasın */
  text-align: center;
}

.testimonial-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.testimonial-avatar h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #333;
}

.testimonial-avatar .role {
  font-size: 0.9rem;
  color: #666;
}

/* Yorum içeriği bloğu */
.testimonial-content {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
  margin: 0;
  font-style: italic;
  line-height: 1.6;
  color: #555;
}



/* --- Contact Section --- */
.contact {
  padding: 100px 0 120px;
  /* yukarı 100px, aşağı 120px boşluk */
}

/* Grid’i stretch ile satır yüksekliğini eşitleyecek şekilde ayarla */
.grid-contact {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: stretch;
  /* <-- start yerine stretch */
}

/* Responsive: dar ekranlarda tek sütun */
@media (max-width: 768px) {
  .grid-contact {
    grid-template-columns: 1fr;
  }
}

/* Kart ortak stili (yüksekliği %100 kaplayacak) */
.contact-card {
  display: flex;
  /* <-- flex ile içeriği düzenleyeceğiz */
  flex-direction: column;
  justify-content: space-between;
  /* <-- başlık/alanın alt kenara kadar uzanması için */
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  /* <-- parent grid hücresinin tüm yüksekliğini kapla */
}

/* --- Contact Info (sol kart) içeriğini ortala --- */
.contact-info {
  /* display:flex zaten .contact-card içinde var; eğer yoksa ekleyin */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* dikey ortalama */
}


/* Sol başlık kartı extra */
.contact-info h2 {
  margin: 0 0 16px;
  font-size: 3rem;
  color: #333;
}

.contact-info p {
  margin: 0;
  font-size: 1.3rem;
  color: #555;
  line-height: 1.6;
}

/* Form kartı */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input {
  background: #f0f0f0;
  border: none;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #333;
}

.contact-form .btn {
  background: #0197F6;
  color: #fff;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
.footer {
  background: #0197F6;
  color: #fff;
  padding: 40px 0;
}

/* İçerikleri dikeyde ortala */
.footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* Başlık */
.footer .footer-content h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}

/* Menü bağlantıları */
.footer .nav-links {
  display: flex;
  gap: 24px;
}

.footer .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer .nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

/* Alt satır: yan yana, merkezde */
.footer .footer-bottom {
  display: flex;
  gap: 16px;
}

.footer .footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}













/* --- Project Hero --- */
.project-hero {

  padding: 100px 0 80px;
}

.project-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* Başlık & paragraf bloğu Gurulingua */
#hero-text-guru {
  font-size: 3rem;
  color: #002A32;
  /* sarı */
  margin-bottom: 16px;
}

/* Başlık & paragraf bloğu My Flashcards*/
#hero-text-myflashcards {
  font-size: 3rem;
  color: #ffc83a;
  /* sarı */
  margin-bottom: 16px;
}

.project-hero .hero-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 24px;
}

/* Buton */
.btn-primary {
  display: inline-block;
  background-color: #0197F6;
  /* mavi */
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Görsel bloğu */
.project-hero .hero-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Mobilde tek sütun */
@media (max-width: 768px) {
  .project-hero .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-hero .hero-image {
    margin-top: 40px;
  }
}


/* --- Project Meta --- */
.project-meta {
  padding: 60px 0;
  background: white;
}

.project-meta .meta-inner {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.meta-card {
  flex: 1 1 240px;
  background: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover efekti */
.meta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  background-color: #f7faff;
  /* İsteğe bağlı, hafif bir mavi ton */
}

.meta-card strong {
  display: block;
  color: #0197F6;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.meta-card span {
  color: #555;
  font-size: 0.9rem;
}

/* --- Project Details --- */
.project-details {
  background-color: white;
  padding-bottom: 80px;
}

.project-details .details-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Her bir satır: 2 sütun grid */
.project-details .detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

/* Tersine almak için yalnızca kolon sırasını çeviriyoruz */
.project-details .detail-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.project-details .detail-row.reverse .detail-image {
  order: 2;
}

.project-details .detail-row.reverse .detail-text {
  order: 1;
}

/* Görsel */
.detail-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Metin */
.detail-text p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mobilde tek sütuna geçir */
@media (max-width: 768px) {
  .project-details .detail-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-details .detail-row.reverse .detail-image,
  .project-details .detail-row.reverse .detail-text {
    order: initial;
    /* mobilde normal sıraya döndürüyoruz */
  }

  .detail-image,
  .detail-text {
    width: 100%;
  }

  .detail-image {
    margin-bottom: 24px;
  }
}


/* --- Project CTA Container --- */
.project-cta {
  padding: 80px 0;
  /* ekran üst/alt boşluğu */
  background: white;
}

/* Ortalanmış CTA kartı Gurulingua*/
#cta-card-guru {
  background: #002A32;
  /* sarı arkaplan */
  max-width: 800px;
  /* istediğin genişlik */
  margin: 0 auto;
  /* yatay ortalama */
  border-radius: 12px;
  padding: 60px 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Ortalanmış CTA kartı My Flashcards*/
#cta-card-myflashcards {
  background: #ffc83a;
  /* sarı arkaplan */
  max-width: 800px;
  /* istediğin genişlik */
  margin: 0 auto;
  /* yatay ortalama */
  border-radius: 12px;
  padding: 60px 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Metin */
.project-cta .cta-card p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Buton grubu */
.project-cta .cta-buttons {
  display: inline-flex;
  gap: 16px;
}

/* Buton stili */
.project-cta .btn-outline {
  background: #fff;
  color: #0197F6;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-cta .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Mobilde kartı daralt ve butonları alt alta yap */
@media (max-width: 768px) {
  .project-cta .cta-card {
    padding: 40px 20px;
    max-width: 95%;
  }

  .project-cta .cta-buttons {
    flex-direction: column;
  }

  .project-cta .btn-outline {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}







/* --- Yeni proje eklemek istiyor ve renklerini özelleştirmek istiyorsan hero-text-projectname ve cta-card-projectname özelliklerini güncellemen yeterli. Her eklediğin proje için projelere özel olarak bunları da eklemelisin. --- */