﻿



.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 oranı */
  height: 0;
  overflow: hidden;
  max-width: 90%;
  margin: 0 auto; /* ortalamak için */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 90% !important;
  height: 100% !important;
  border: 0;
}

/* Mobil için genişlik %100 yap */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%;
  }
  .video-container iframe {
    width: 100% !important;
    height: 100% !important;
  }
}


/* .bg-light img {
    max-width: 50px;
} */

/*KOYU TEMA BASLANGİC*/
body[data-bs-theme="dark"] {
  background-color: #212121e3;
  color: #e0e0e0;
}

body[data-bs-theme="dark"] a {
  color: #f5f5f5;
}

body[data-bs-theme="dark"] a:hover {
  color: #ffffff;
}
/* Koyu temada yazıları açık yapmak için */
[data-bs-theme="dark"] {
    color-scheme: dark;
}

[data-bs-theme="dark"] body {
    color: #f1f1f1;
    background-color: #212121e3;
}



[data-bs-theme="dark"] a {
    color: #ffc107;
}

/* Tablodaki yazılar için tema uyumlu renk */
.custom-table-text {
    color: #333; /* light tema varsayılan */
}

/* Koyu temada yazılar daha açık ton */
[data-bs-theme="dark"] .custom-table-text {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .table {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

[data-bs-theme="dark"] .table thead.table-dark {
    background-color: #111;
}

[data-bs-theme="dark"] .table-hover tbody tr:hover {
    background-color: #333;
}

/* Koyu tema için yazı rengi */
[data-bs-theme="dark"] .table td {
  color: #e0e0e0;
    font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
 
 [data-bs-theme="dark"] .bg-dark {
    --bs-bg-opacity: 1;
    background: linear-gradient(90deg, #ea7700dd, #ffb347);
    box-shadow: 0 4px 15px rgba(234, 119, 0, 0.3);
}

[data-bs-theme="light"] .footer-warning-link {
    color: red !important;
}
[data-bs-theme="dark"] .footer-warning-link {
    color: #ff8080 !important;
}

[data-bs-theme="dark"] .custom-footer .footer-link {
    color: #5f2c07 !important;
}


/* 🌙 DARK tema için özel tablo renkleri */
[data-bs-theme="dark"] .table {
    --bs-table-bg: #212529;
    --bs-table-color: #f1f1f1;
    --bs-table-border-color: #444;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
    --bs-table-active-bg: rgba(255, 255, 255, 0.08);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
}

/*KOYU TEMA SON*/


/*LİGHT AÇIK  TEMA BASLANGİC*/

 [data-bs-theme="light"] .bg-dark {
    --bs-bg-opacity: 1;
    background: linear-gradient(90deg, #ea7700dd, #ffb347);
    box-shadow: 0 4px 15px rgba(234, 119, 0, 0.3);
}

/* Açık tema için yazı rengi */
[data-bs-theme="light"] .table td {
  color: #707070 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}


[data-bs-theme="light"] .custom-footer .footer-link {
    color: #5f2c07 !important;
}

/*LIGHT AÇIK  TEMA SON*/


/* Hover efekti her temada aynı */
.custom-footer .footer-link:hover {
    color: #7f3b09 !important;
    text-decoration: underline;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1060;
  display: none;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background-color: rgba(234, 119, 0, 0.7); /* %70 opaklık */
  color: #fff;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.5s ease;
  cursor: pointer;
}

.scroll-top-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  /* Hoverda biraz daha opak yapalım */
  background-color: rgba(234, 119, 0, 0.9);
}


/* Fade animasyon */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-toggle-btn {
  background: linear-gradient(90deg, #ea7700dd, #ffb347);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.theme-toggle-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.custom-search-btn {
  background: linear-gradient(90deg, #ea7700dd, #ffb347);
  color: #fff;
  font-weight: 600;
  border: 1px solid #e69500;
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-search-btn:hover {
  background: linear-gradient(90deg, #ffb347, #ea7700dd);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.custom-search-btn:active {
  background: #d66b00;
  border-color: #cc6600;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
}

.custom-search-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(234, 119, 0, 0.4);
}

@media (max-width: 767.98px) {
  .mobil-saga-yasla {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 0.5rem;
  }
  /* Masaüstünde gizle */
  @media (min-width: 768px) {
    .mobil-saga-yasla {
      display: none !important;
    }
  }
}

/* Koyu tema aktifken bg-light sınıfını özelleştir */
[data-bs-theme="dark"] .bg-light {
  background-color: #343a40 !important; /* ya da #3a3a3a */
  color: #f8f9fa !important;
}


.tox .tox-editor-container {
  background: transparent !important;
}

.card-img, .card-img-bottom, .card-img-top {
    width: 100%;
    max-height: 250px;
}



/* Genel tablo ve hücre kenarlıkları */
.content-area table, .content-area th, .content-area td {
    border: 1px solid #afacac4a !important;
    border-collapse: collapse;
}

/* Açık tema: açık gri kenarlık */
body.bg-light .content-area table,
body.bg-light .content-area th,
body.bg-light .content-area td {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Koyu tema: açık gri kenarlık */
body.bg-dark .content-area table,
body.bg-dark .content-area th,
body.bg-dark .content-area td {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Hücre içi hizalama ve boşluk */
.content-area th,
.content-area td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

/* Zebra satır (koyu ve açık temaya göre) */
body.bg-dark .content-area tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}
body.bg-light .content-area tr:nth-child(even) {
  background-color: #f8f9fa;
}


    .form-check-input#acade-my-style {
        width: 20px;
        height: 20px;
        margin-top: 0.3rem;
        cursor: pointer;
    }

    .form-check-label[for="academy"] {
        font-weight: 500;
        font-size: 16px;
        cursor: pointer;
    }


.bg-pk-color {
    background-color: #ad196b !important; /* koyu mor PK */
    color: #fff !important;               /* yazı beyaz */
}
