/* =======================================================
   İLETİŞİM VE SOSYAL MEDYA (GENEL YAPILANDIRMA)
   ======================================================= */

:root {
  --accent: #2dd4bf; /* Utku Turkuazı */
  --bg-card: rgba(30, 41, 59, 0.4);
  --border-light: rgba(255, 255, 255, 0.1);
  --font-mono: "Ubuntu Mono", monospace;
  --text-muted: #94a3b8;
  --hire-accent: #60a5fa; /* Softer blue for the Hire section */
}

.media-card,
.comm-card,
.egitim-channel,
.hire-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* --- Bölüm Başlıkları (Syntax Style) --- */
.media-card h2,
.comm-card h2 {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: #fff;
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

/* =======================================================
   KARTLAR VE BUTONLAR (MEDYA & İLETİŞİM)
   ======================================================= */

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start; /* Sola yaslı ama esnek */
}

/* --- Buton Ana Yapısı --- */
.media-btn,
.comm-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Efekti: Kartı biraz yukarı kaldır */
.media-btn:hover,
.comm-btn:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* --- İkon Konumu (SVG) --- */
.svgContainer {
  position: relative;
  z-index: 2; /* Arka planın üstünde kalsın */
  display: flex;
  align-items: center;
  justify-content: center;
}

.svgContainer svg {
  fill: var(--text-muted); /* Varsayılan sönük renk */
  transition: fill 0.3s ease;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

.media-btn:hover .svgContainer svg,
.comm-btn:hover .svgContainer svg {
  fill: #fff; /* Hoverda beyaz yap */
}

/* --- Arka Plan Dolum Animasyonu (.BG) --- */
.BG {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%; /* Başlangıçta görünmez */
  background-color: var(--accent);
  transition: height 0.3s ease;
  z-index: 1;
}

.media-btn:hover .BG,
.comm-btn:hover .BG {
  height: 100%; /* Hoverda yukarı dolar */
}

/* --- Markaya Özel Renkler (Hover Durumu) --- */

/* Github */
.media-btn.github:hover .BG {
  background-color: #fe4c25;
}
/* Instagram */
.media-btn.instagram:hover .BG {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
/* Linkedin */
.media-btn.linkedin:hover .BG {
  background-color: #0077b5;
}
/* Spotify */
.media-btn.spotify:hover .BG {
  background-color: #1db954;
}

/* Phone & Whatsapp & Telegram & Mail & Web */
.comm-btn.phone:hover .BG {
  background-color: #34b7f1;
}
.comm-btn.whatsapp:hover .BG {
  background-color: #25d366;
}
.comm-btn.telegram:hover .BG {
  background-color: #0088cc;
}
.comm-btn.mail:hover .BG {
  background-color: #ea4335;
}
.comm-btn.web:hover .BG {
  background-color: var(--accent);
}

/* =======================================================
   EĞİTİM KANALI (ARTILINGO BÖLÜMÜ)
   ======================================================= */

.egitim-channel {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  margin-top: 4rem;
  margin-bottom: 4rem;
  overflow: hidden;
  position: relative;
}

.egitim-channel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(to bottom, var(--accent), #98c379);
}

/* Sol Taraf: Logo ve Destek Metni */
.egitim-channel .img {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(
    0,
    0,
    0,
    0.2
  ); /* Logoyu belirginleştirmek için hafif koyuluk */
  height: 100%;
}

.egitim-channel .img img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  transition: transform 0.3s;
}

.egitim-channel .img a:hover img {
  transform: scale(1.05);
}

.egitim-channel .kaynak {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-style: italic;
}

/* Sağ Taraf: İçerik ve İletişim */
.egitim-content {
  flex: 1;
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.egitim-header h1 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.egitim-fiyat {
  display: inline-block;
  background-color: transparent; /* Make background transparent for desktop */
  border: 1px solid var(--accent); /* Add accent border */
  color: var(--accent); /* Change text color to accent */
  padding: 0.2rem 0.6rem; /* Slightly reduced padding */
  border-radius: 6px;
  font-size: 1.1rem; /* Slightly increased font size for desktop */
  font-weight: bold;
  margin-left: 1rem;
  vertical-align: middle;
}

.egitim-iletisim-header h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.egitim-ikons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =======================================================
   HIRE ME (CV DOWNLOAD)
   ======================================================= */

.hire-wrapper {
  margin-bottom: 4rem;
}

.hire {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--hire-accent); /* Dikkat çekici kırmızı/pembe */
  border-radius: 8px;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Arka planda hafif kod deseni veya glow olabilir, sade tutalım */
.hire-title h2 {
  font-family: var(--font-mono);
  color: var(--hire-accent);
  margin: 0;
  font-size: 1.4rem;
}

.cv-port {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cv-port .text {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 1rem;
}

.download-btn {
  background-color: transparent;
  border: 2px solid var(--hire-accent);
  color: var(--hire-accent);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.download-btn:hover {
  background-color: var(--hire-accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
  transform: rotate(360deg);
}

/* --- Call Back Button (Genel) --- */
.call-back-btn {
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  margin: 4rem 0;
}

.call-back-btn a {
  background-color: var(--accent);
  color: var(--bg-main);
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.call-back-btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.6);
}

/* =======================================================
   MOBİL UYUMLULUK (MEDIA QUERIES)
   ======================================================= */

@media (max-width: 992px) {
  .egitim-channel {
    flex-direction: column; /* Mobilde alt alta al */
    text-align: center;
    gap: 0;
  }

  .egitim-channel::before {
    width: 100%;
    height: 5px; /* Üst çizgi yap */
    top: 0;
    left: 0;
    bottom: auto;
  }

  .egitim-channel .img {
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    flex: none;
    padding: 2rem;
  }

  .egitim-content {
    padding: 2rem;
    width: 100%;
    align-items: center;
  }

  .egitim-ikons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .egitim-channel .img {
    padding: 1.5rem; /* Reduce padding for the image section */
  }

  .egitim-channel .img img {
    max-width: 180px; /* Limit the width of the logo image */
  }

  .egitim-content {
    padding: 1.5rem; /* Reduce padding for the content section */
  }

  .egitim-header h1 {
    font-size: 1.3rem; /* Adjust font size for heading */
    margin-bottom: 1rem;
  }

  .egitim-iletisim-header h3 {
    font-size: 0.9rem; /* Adjust font size for sub-heading */
    margin-bottom: 0.8rem;
  }

  .egitim-fiyat {
    font-size: 0.9rem; /* Adjust font size for price on smaller screens */
    background-color: var(--accent); /* Revert to solid background for mobile */
    color: #000; /* Revert to black text for mobile */
    border: none; /* Remove border for mobile */
    padding: 0.3rem 0.7rem; /* Revert to original padding for solid background */
  }

  .media-btn,
  .comm-btn {
    width: 50px; /* Reduce button size */
    height: 50px;
  }

  .svgContainer svg {
    width: 24px; /* Adjust SVG icon size */
    height: 24px;
  }

  .hire {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    border-left: 1px solid var(--border-light);
    border-top: 5px solid var(--hire-accent);
  }

  .cv-port {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cards {
    justify-content: center; /* Butonları mobilde ortala */
  }

  .media-card h2,
  .comm-card h2 {
    text-align: center;
    border-left: none;
    border-bottom: 3px solid var(--accent);
    padding-left: 0;
    padding-bottom: 0.5rem;
    display: inline-block;
  }

  .media-card,
  .comm-card {
    text-align: center; /* Başlığı ortalamak için */
  }
}

@media (max-width: 576px) {
  .media-card,
  .comm-card,
  .egitim-channel,
  .hire-wrapper {
    padding: 1rem;
  }

  .media-card h2,
  .comm-card h2 {
    font-size: 1.4rem;
  }

  .egitim-channel .img {
    padding: 1rem;
  }

  .egitim-content {
    padding: 1rem;
  }

  .egitim-header h1 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hire-title h2 {
    font-size: 1.2rem;
  }

  .cv-port .text {
    font-size: 0.9rem;
  }

  .egitim-fiyat {
    display: block;
    margin: 0.5rem auto 0 auto; /* Center it and add top margin */
    font-size: 0.8rem; /* Further reduce font size for very small screens */
    background-color: var(--accent); /* Revert to solid background for mobile */
    color: #000; /* Revert to black text for mobile */
    border: none; /* Remove border for mobile */
    padding: 0.3rem 0.7rem; /* Revert to original padding for solid background */
  }
}

@media (min-width: 1400px) {
  .media-card,
  .comm-card,
  .egitim-channel,
  .hire-wrapper {
    max-width: 1300px;
  }

  /* Optionally, adjust font sizes or spacing for larger screens if needed */
  .media-card h2,
  .comm-card h2 {
    font-size: 1.8rem;
  }

  .egitim-header h1 {
    font-size: 1.8rem;
  }

  .hire-title h2 {
    font-size: 1.6rem;
  }

  .egitim-fiyat {
    font-size: 1.2rem; /* Adjust font size for larger screens */
  }
}
