/* (1400px ve üstü için - Büyük Ekranlar) */
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden; /* Yatay kaydırmayı tamamen engeller */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;  /* LOGO ORTALANIR */
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Left Icons */
.left-icons {
    position: absolute;
    left: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: #379ed8;
    transition: transform 0.2s ease-in-out;
}
.left-icons i {
    font-size: 20px; /* İkon boyutunu belirle */
    color: #379ed8; /* İkon rengi mavi */
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.left-icons i:hover {
    transform: scale(1.2); /* Üzerine gelince hafif büyüt */
    color: #1d69a3; /* Hover rengini daha koyu yap */
}

/* Logo */
.logo img {
    height: 40px;
}

/* Navigation Menu */
/* Menü (Başlangıçta Gizli) */
.nav-menu {
    position: fixed;
    top: 73px;
    right: 15px; /* Sayfanın sağ üstüne hizalama */
    width: 200px;
    background: white;
    padding: 20px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px); /* Açılmadan önce yukarıda kalıyor */
    pointer-events: none; /* Açılmadığında tıklanamaz yap */
}
/* Menü Açıkken */
.nav-menu.open {
    opacity: 1;
    transform: translateY(0); /* Açılınca kayarak aşağı gelir */
    pointer-events: auto;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
}

.nav-menu ul li {
    padding: 10px 0;
    font-size: 18px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: black;
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 400; /* Julius Sans One tek ağırlıkta mevcut */
    letter-spacing: 1px; /* Harfler arasını açatım*/
}

/* Kapatma Butonu (X) */
.close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-menu span {
    position: absolute;
    width: 22px; /* X'in çizgilerinin uzunluğu */
    height: 2px; /* Kalınlığı azalttık */
    background: #379ed8; /* Mavi renk */
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    width: 100vw;
    background: url('images/cizim-kursu-banner-1.jpg') no-repeat center center;
    background-size: cover;
    background-color: #f0f0f0; /* Arka planda kalan boşlukları doldurmak için */
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero::before { /* Görsel için Overlay ekledim yazıyı belirgin yapmak için*/
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.45)
    );
    z-index: 0;
}

.hero h1 {
    display: flex;
    flex-direction: column; /* Alt alta dizmek için */
    text-align: center;
    line-height: 1.2;
    gap: 5px; /* Satırlar arasındaki mesafeyi ayarlamak için */
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 400; /* Julius Sans One tek ağırlıkta mevcut */
    font-size: 48px;
    position: relative;
    margin-top: -230px; /* Yukarı çek */
}

.hero p {
    font-family: 'Inter', sans-serif; /* Inter fontunu uygula */
    font-weight: 400; /* Inter tek ağırlıkta mevcut */
    font-size: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    font-size: 30px; /* Daha büyük ikon */
    cursor: pointer;
    display: block;
    position: absolute;
    right: 69px;
    top: 20px;
    background: none;
    border: none;
    font-weight: bold;
    color: #379ed8; /* Mavi renk */
    z-index: 1100;
}
/* Hakkında Section */
.hakkinda-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    /* Animasyon için başlangıç durumu */
    position: relative;
    transform: translateY(50px); /* Sayfa açıldığında biraz aşağıda */
    opacity: 0; /* Sayfa açıldığında görünmez */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
/* Sayfa yüklenince uygulanacak efekt */
.hakkinda-section.visible {
    transform: translateY(0); /* Kayarak yukarı çık */
    opacity: 1;
}

.hakkinda-container {
    display: flex;
    width: 100%;
    max-width: 100%;
}

/* Metin Alanı */
.hakkinda-text {
    flex: 0 0 45%; /* Genişliği belirledik */
    padding: 50px;
    background-color: #f0f8ff; /* Açık mavi */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Başlığı ortala */
    text-align: center; /* Yazıyı ortala */
    margin: 0; /* Kenar boşluklarını sıfırla */
}

.hakkinda-text h2 {
    font-family: 'Inter', sans-serif; /* Font Inter olacak */
    font-weight: 500; /* Medium ağırlık */
    font-size: 32px;
    color: #1d3557;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-transform: none; /* Büyük harfleri kaldır, normal yaz */
    max-width: 80%; /* Başlık genişliği sınırlı */
    margin-bottom: 10px;
}

.hakkinda-text h2 i {
    color: #379ed8; /* İkon rengi */
    font-size: 28px;
}

.hakkinda-text .blue-text {
    color: #379ed8;
}

.hakkinda-text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    max-width: 80%; /* Paragrafın genişliği başlıkla aynı olacak */
    text-align: center; /* Metin ortalanacak */
    margin-top: 5px;
}
.hakkinda-icon {
    width: 61px; /* İkonun boyutunu ayarlayabilirsin */
    height: auto;
    margin-right: 0px; /* Metinle arasında boşluk bırak */
    vertical-align: middle; /* Yazıyla hizala */
    display: inline-block;
}
/* Görsel Alanı */
.hakkinda-image {
    flex: 0 0 55%; /* Genişliği %60 olacak */
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0
}

.hakkinda-image img {
    flex: 1;
    display: flex;
    align-items: center;
}
.hakkinda-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli düzgün ölçeklendir */
}
/* Hakkında Section Sonu */

/* Galeri Alanı */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* İlk iki sütun yan yana */
    grid-template-rows: auto auto; /* Satır yükseklikleri otomatik */
    gap: 30px;
    max-width: 90%;
    margin: 50px auto;
}


/* Sütunlar */
.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Üçüncü sütunu alta al */
.gallery-column:last-child {
    grid-column: span 2; /* İlk iki sütunun genişliği kadar olacak */
    display: flex;
    flex-direction: row;
    gap: 30px;
}
/* 5 numaralı görsel solda yatay ve geniş */
.gallery-item.wide {
    flex: 3; /* Büyük görsel daha geniş olacak */
}

/* 6 numaralı görsel sağda dikey */
.gallery-item.tall {
    flex: 1; /* Küçük görsel büyük görselin 1/3 genişliğinde olacak */
    height: auto;
    display: flex;
    flex-direction: column;
}
/* Görsellerin genel stilleri */
.gallery-item {
    position: relative;
    overflow: hidden;
    display: flex;
    transition: transform 0.6s ease-out;
}
/* Hover olduğunda büyütme efekti */
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); /* Hafif gölge efekti */
    
}

/* Görsellerin orantılı görünmesi için */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* References Section */
/* References Section */
.references {
    background-color: #f5f5f5; /* Açık gri arkaplan */
    padding: 50px 0;
    text-align: center;
    margin-bottom: 1px;
}

.references h2 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #000;
    margin-bottom: 30px;
}

/* Grid Sistemi */
.references-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 sütun */
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

/* Kart Stili */
.reference-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.reference-item:hover {
    transform: scale(1.05);
}

/* Logolar */
.reference-item img {
    max-width: 80px; /* Maksimum genişlik */
    max-height: 80px; /* Maksimum yükseklik */
    object-fit: contain; /* Orantılı küçültme */
}

/* Footer */
.footer {
    background-color: #EAF4FC; /* Açık mavi arka plan */
    padding: 30px 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 50px;
}

.footer-info {
    font-size: 16px;
    color: #003366;
}

.footer-info a {
    text-decoration: none;
    color: #003366;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.footer-info a:hover {
    color: #1d69a3;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    font-size: 20px;
    color: #379ed8;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #1d69a3;
}

/* Copyright Section */
.copyright {
    background-color: #eaf4fc; /* Footer ile uyumlu açık mavi */
    color: #1d3557; /* Footer yazı rengiyle uyumlu koyu mavi */
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Metni belirgin yapmak için */
}

/* Bağlantılar */
.copyright a {
    color: #1d3557; /* Koyu mavi ton */
    text-decoration: underline;
    font-weight: 600; /* Biraz daha belirgin hale getirmek için */
}

/* Bağlantılara hover efekti */
.copyright a:hover {
    color: #379ed8; /* Footer'daki vurgulu mavi tonu */
}

/* ---- Courses Section ---- */
.courses-section {
    width: 90%;
    max-width: 1300px;
    margin: 70px auto;
    font-family: 'Inter', sans-serif;
}

.courses-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 25px;
    text-align: left;
}

/* Search Bar */
.course-search {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-bottom: 25px;
}

.course-search input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
}

.course-search i {
    position: absolute;
    right: 15px;
    top: 13px;
    font-size: 18px;
    color: #666;
}

/* Tabs */
.course-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.course-tabs .tab {
    padding-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
    color: #777;
    background: none;
    border: none;
    border-bottom: 2px solid transparent; /* ✔ Yükseklik sabit */
    font-family: inherit;
    font-weight: 500; /* ✔ Hepsine eşit font kalınlığı */
    transition: color 0.3s ease, border-color 0.3s ease;
}


.course-tabs .tab.active {
    color: #000;
    border-bottom-color: #000; /* ✔ Sadece renk değişiyor */
    font-weight: 500; /* ✔ Hepsinde aynı kalınlık */
}


/* Product Grid */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* Product Card */
.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.course-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.course-card .tag {
    margin: 10px 15px 0;
    font-size: 13px;
    color: #888;
    display: block;
}

.course-card h3 {
    margin: 10px 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.course-card .price {
    margin: 8px 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}
/* ---- Courses Section End ---- */

/* --- Course Hover Popover (Udemy style) --- */
.course-popover{
  position: absolute;
  width: 420px;
  background: #fff;
  color: #111;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  padding: 22px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.course-popover.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.course-popover .cp-title{
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 14px;
}

.cp-badges{
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.cp-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.cp-badge-primary{
  background: #2b2bd6;
  color: #fff;
}

.cp-badge-soft{
  background: #dff3f0;
  color: #0a4a41;
}

.cp-meta{
  font-size: 14px;
  color: #2f7a2f;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cp-meta .cp-dot{ color: #999; }
.cp-desc{
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0 0 14px;
}

.cp-bullets{
  margin: 0 0 18px;
  padding-left: 18px;
  color: #333;
}

.cp-bullets li{
  margin: 10px 0;
  line-height: 1.35;
}

.cp-actions{
  display: flex;
  gap: 12px;
  align-items: center;
}

.cp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  flex: 1;
}

.cp-btn-solid{
  background: #2b2bd6;
  color: #fff;
}

.cp-btn-ghost{
  background: #fff;
  border: 2px solid #2b2bd6;
  color: #2b2bd6;
}

/* Arrow */
.cp-arrow{
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid #e6e6e6;
  border-top: 1px solid #e6e6e6;
  transform: rotate(45deg);
  top: 32px;
  left: -9px; /* default: panel sağda açılınca ok solda */
}
.course-popover.left .cp-arrow{
  left: auto;
  right: -9px;
  transform: rotate(225deg);
}

/* --- Course Hover Popover End of CSS (Udemy style) --- */


/* ================================
   COURSE DETAIL (DESKTOP) - scoped
   sadece analog-... iç sayfa alanları
================================ */

/* İç sayfada yazılar görünür olsun (body beyaz yazı kalsın) */
.course-hero,
.course-main{
  color:#0f172a;
  background:#fff;
}

.course-wrap{
  width:min(1160px, 92%); /* biraz daha sıkı */
  margin:0 auto;
}

/* HERO */
.course-hero{
  margin-top:5px; /* navbar fixed boşluğu */
  padding:48px 0 34px; /* daha kibar */
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(55,158,216,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border-bottom:1px solid #eef4fb; /* daha soft */
}

.course-hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:24px; /* biraz az */
  align-items:center;
}

.course-kicker{
  display:inline-flex;
  font-size:12.5px;
  padding:7px 11px;
  border-radius:999px;
  background: rgba(55,158,216,.08);
  border: 1px solid rgba(55,158,216,.16);
  color:#526070;
  margin-bottom:12px;
}

.course-hero h1{
  margin:0 0 10px;
  font-size:38px;         /* 44 -> 38 */
  line-height:1.12;
  letter-spacing:-.2px;
}

.course-hero p{
  margin:0 0 16px;
  font-size:16.5px;       /* 18 -> 16.5 */
  line-height:1.65;
  color:#556274;          /* daha yumuşak */
  max-width:62ch;
}

/* BADGE */
.course-hero .badge,
.course-main .badge{
  display:inline-flex;
  align-items:center;
  font-size:12.5px;       /* 13 -> 12.5 */
  padding:7px 11px;       /* 8/12 -> 7/11 */
  border-radius:999px;
  border:1px solid #edf3fb;
  background:#fbfdff;
  color:#223045;
  white-space:nowrap;
}

.course-hero .badge.primary,
.course-main .badge.primary{
  background: rgba(55,158,216,.10);
  border-color: rgba(55,158,216,.20);
  color:#1b5f94;
}

/* En çok satan badge – özel vurgu */
.course-hero .badge.best,
.course-main .badge.best{
  background: #dff3f0;   /* soft yeşil */
  border-color: rgba(34,197,94,.28);
  color: #0a4a41;                    /* koyu yeşil */
}

/* Ücretsiz Kargo badge css */
/* Ücretsiz Kargo badge – özel mor vurgu */
.course-hero .badge.special,
.course-main .badge.special {
  background: #f5f3ff;   /* soft mor */
  border-color: rgba(139, 92, 246, 0.28);
  color: #5b21b6;        /* koyu mor */
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

/* Preview */
.course-preview{
  background:#fff;
  border:1px solid #eef4fb;
  border-radius:16px; /* 18 -> 16 */
  padding:12px;       /* 14 -> 12 */
  box-shadow: 0 14px 40px rgba(15,23,42,.08); /* daha hafif */
}

.course-preview img{
  width:100%;
  height:300px; /* 320 -> 300 */
  object-fit:cover;
  border-radius:12px; /* 14 -> 12 */
  display:block;
}

.preview-caption{
  margin-top:9px;
  display:flex;
  justify-content:space-between;
  font-size:12.5px;
  color:#5b687a;
}

/* MAIN */
.course-main{
  padding:28px 0 64px; /* daha kibar */
}

.course-main-grid{
  display:grid;
  grid-template-columns: 1fr 360px; /* 380 -> 360 */
  gap:22px;
  align-items:start;
}

/* Card */
.course-main .card{
  background:#fff;
  border:1px solid #eef4fb;
  border-radius:16px; /* 18 -> 16 */
  padding:20px;       /* 22 -> 20 */
  box-shadow: 0 8px 20px rgba(15,23,42,.05); /* daha soft */
}

.course-main .card h2{
  margin:0 0 10px;
  font-size:19px; /* 20 -> 19 */
  font-weight: 500;
}

.course-main .card p{
  margin:0 0 12px;
  color:#556274;
  line-height:1.75;
}

/* check list */
.course-main .check{
  margin:0;
  padding-left:18px;
}
.course-main .check li{
  margin:9px 0;
}

/* info grid */
.info-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.info .label{
  font-size:12px;
  color:#6b778a;
}
.info .value{
  font-size:14.5px;  /* 15 -> 14.5 */
  font-weight:600;
  margin-top:4px;
}

/* curriculum details */
.curriculum-item{
  border:1px solid #eef4fb;
  border-radius:14px;
  padding:12px 14px;
  margin-top:10px;
  background:#fff;
}
.curriculum-item summary{
  cursor:pointer;
  font-weight:500;
}
.curriculum-item .content{
  margin-top:10px;
  color:#5b687a;
  line-height:1.7;
  font-size:14.5px;
}

/* BUY (sticky) */
.buy{
  position:sticky;
  top:96px;
}
.buy-top{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:10px;
}
.buy-meta{
  color:#5b687a;
  line-height:1.6;
  margin:10px 0 12px;
  font-size:13.5px;
}
.price .main{
  font-size:24px;
  font-weight:750;  /* 800 -> 750 */
  margin:10px 0 12px;
  letter-spacing:-.2px;
}

/* BUTTON */
.course-main .btn{
  display:block;
  width:100%;
  height:50px;     /* 54 -> 50 */
  border-radius:12px; /* 14 -> 12 */
  border:0;
  cursor:pointer;
  font-weight:700;
  font-size:15.5px; /* 16 -> 15.5 */
}

.course-main .btn.primary{
  background:#3aa3db; /* daha soft */
  color:#fff;
}

.course-main .btn.ghost{
  margin-top:10px;
  background:#fff;
  border:1.5px solid rgba(55,158,216,.45); /* 2px -> 1.5px */
  color:#1b5f94;
}

.sep{
  border:0;
  border-top:1px solid #eef4fb;
  margin:14px 0;
}

.small{
  font-size:12.8px;
  color:#6b778a;
  line-height:1.6;
}

/* HERO STATS (rating + öğrenci) */
.hero-stats{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:18px;
}

.stat{
  display:flex;
  align-items: center;
  gap:10px;
}

.stat-value{
  font-size:16px;
  font-weight:600;
  color:#0f172a;
}

.stat-stars{
  color:#f59e0b; /* altın yıldız */
  font-size:12px;
  letter-spacing:1px;
}

.stat-label{
  font-size:12.5px;
  color:#64748b;
}

.stat-divider{
  width: 1px;
  height:38px;
  background:#e6eef7;
}

.hero-meta{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap; /* mobilde alta düşsün */
}


/* ================================
   COURSE DETAIL PAGE (DESKTOP)
   Sadece iç sayfa için end
================================ */




/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Kapanan Kurslar İçin */
.course-card.is-closed img {
    filter: grayscale(0.8);
    opacity: 0.7;
    transition: filter 0.3s ease;
}

.course-card.is-closed:hover img {
    filter: grayscale(0); /* kart üstünde hover olunca renklenir */
    opacity: 1;
}

.course-card .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Yazılar sığmazsa alt alta geçer */
}

.course-card .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}

.status-label {
    color: #379ed8; 
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase; /* Yazıyı daha profesyonel (BÜYÜK) yapar */
}

/* Kurs Kapalı iken açık iken css kontrolü */

/* Normal Durum: Kapalıya ait ne varsa gizle */
.price-closed, .btn-closed, .info-closed { display: none !important; }

/* Kapalı Durum: body'de .is-closed-page sınıfı varsa */
body.is-closed-page .price-open, 
body.is-closed-page .btn-open, 
body.is-closed-page .info-open { 
    display: none !important; 
}

body.is-closed-page .price-closed, 
body.is-closed-page .btn-closed, 
body.is-closed-page .info-closed { 
    display: block !important; 
}

/* Kapalıyken görseli de soluklaştır */
body.is-closed-page .course-preview img {
    filter: grayscale(0.8);
    opacity: 0.8;
}

/* Breadcrumb */
/* Breadcrumb Genel Stili */
.breadcrumb {
    background-color: #f8fbff; /* Hafif mavi/beyaz tonu */
    padding: 15px 0;
    margin-top: 73px; /* Navbar yüksekliği kadar boşluk */
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.breadcrumb .course-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    text-decoration: none;
    color: #379ed8; /* Sitenin ana mavi tonu */
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #1d69a3;
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
    color: #94a3b8; /* Ayırıcı ikon rengi */
}

.breadcrumb span {
    color: #64748b; /* Aktif sayfa rengi (tıklanamaz) */
    font-weight: 500;
}

/* --- Tükendi Modu (Anasayfa Kartları İçin) --- */

/* 1. Kartın görselini siyah-beyaz ve soluk yapar */
.course-card.is-out-of-stock img {
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* 2. Kartın üzerine gelince hafifçe renklenmesini sağlar (opsiyonel) */
.course-card.is-out-of-stock:hover img {
    filter: grayscale(0.2);
    opacity: 1;
}

/* 3. Eski fiyatın stilini belirler (üstü çizili) */
.course-card .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}

/* 4. Tükendi etiketinin rengini kırmızı yapar */
.status-label.out-of-stock {
    color: #ef4444; /* Canlı bir kırmızı */
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

/* --- İç Sayfa Tükendi Kontrolü --- */

/* Normalde Tükendi alanlarını gizle */
.price-closed, .btn-closed, .info-closed { 
    display: none !important; 
}

/* body'de .is-out-of-stock-page varken: */
/* 1. Normal fiyatı ve "Hemen Al" butonunu gizle */
body.is-out-of-stock-page .price-open, 
body.is-out-of-stock-page .btn-open, 
body.is-out-of-stock-page .info-open { 
    display: none !important; 
}

/* 2. "TÜKENDİ" yazısını ve pasif butonu göster */
body.is-out-of-stock-page .price-closed, 
body.is-out-of-stock-page .btn-closed, 
body.is-out-of-stock-page .info-closed { 
    display: block !important; 
}

/* 3. Görseli siyah-beyaz yap (Stok olmadığını iyice belli eder) */
body.is-out-of-stock-page .course-preview img {
    filter: grayscale(1);
    opacity: 0.7;
}