/*
Theme Name: Distek Dernek Teması
Theme URI: http://webozel.net/distek
Author: Edip Berisha Vardarlı
Author URI: http://webozel.net
Description: Hafif ve şık bir dernek teması.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: distek
Tags: light, custom-font, responsive
*/

/*===============================
  Renk Değişkenleri
=================================*/
:root {
  --primary-color: #23A7D7;
  --secondary-color: #323D4E;
  --danger-color: #E8191E;
  --light-color: #E3E3E3;
  --white-color: #ffffff;
}

/*===============================
  Temel Gövde Ayarları
=================================*/
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--light-color);
  color: var(--secondary-color);
  margin: 0;
  padding: 0;
}

/*===============================
  Bağlantılar
=================================*/
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--danger-color);
}

/*===============================
  Başlıklar
=================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', sans-serif;
  color: var(--secondary-color);
  margin-top: 0;
}

/*===============================
  Yazı Tipi Yüklemeleri
=================================*/

/* Roboto Variable Font */
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* Roboto Italic Variable Font */
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* Diğer Roboto statik fontlar */
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Roboto Condensed Fontlar */
@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/fonts/roboto/Roboto_Condensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/fonts/roboto/Roboto_Condensed-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/fonts/roboto/Roboto_Condensed-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/fonts/roboto/Roboto_Condensed-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Roboto Italic Fontlar */
@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('assets/fonts/roboto/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

/*=====================
 üst kısım style
 ======================*/
 
.social-icon-link {
  border-radius: 50%;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  color: #323D4E;
}

.navbar-nav .nav-link:hover {
  color: #23A7D7;
}

/*======================
 Footer Style
 =======================*/
 
 .site-footer {
  background-color: #323D4E;
  color: #ffffff;
  font-size: 15px;
}

.site-footer h5 {
  color: #23A7D7;
  margin-bottom: 1rem;
  font-weight: bold;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer a {
  color: #E3E3E3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a.footer-social-link:hover {
  color: none;
}

.map-responsive iframe {
  border: 2px solid #23A7D7;
  border-radius: 8px;
}

/* Hero Slider Style */
/* Slider container göreli konumda */
#heroCarousel {
  position: relative !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Carousel item göreli */
.carousel-item {
  position: relative !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Resim stili */
.carousel-inner img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Butonlar */
.carousel-control-prev,
.carousel-control-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  z-index: 10 !important;
}

/* Buton arkaplanları */
.custom-carousel-btn {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.3s ease !important;
}

.custom-carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

/* Alt boşlukları kaldır */
.hero-section,
.container-fluid,
#heroCarousel,
.carousel-inner,
.carousel-item {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/*Etkinlik Section*/
.announcement-section .announcement-box {
  background: #fff;
}

.announcement-section h2 {
  font-weight: 700;
  color: #333;
}

.announcement-box h3 {
  color: #007bff;
}

.announcement-box p {
  font-size: 1.1rem;
  color: #555;
}

/*Aktif Eğitimler Style*/
.active-egitimler-section h2 {
  color: #007bff;           /* Mavi başlık */
  font-weight: 700;         /* Kalın yazı */
}

.active-egitimler-section .card {
  transition: transform 0.3s ease;  /* Hover'da yumuşak geçiş */
}

.active-egitimler-section .card:hover {
  transform: translateY(-5px);      /* Hover olunca yukarı sıçrama efekti */
}

.egitimler-archive {
  padding: 20px;            /* Arşiv sayfası boşluğu */
}

.active-egitimler-section .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.active-egitimler-section .card-text {
  font-size: 0.95rem;
  color: #555;
}

.active-egitimler-section .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.active-egitimler-section .btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
  color: #fff;
}

.active-egitimler-section .btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
  background-color: transparent;
}

.active-egitimler-section .btn-outline-secondary:hover {
  background-color: #6c757d;
  color: #fff;
  border-color: #6c757d;
}

.active-egitimler-section .btn:hover {
  opacity: 0.9;
}

.active-egitimler-section .card-img-top {
  width: 100%;
  height: 200px; /* ya da ihtiyacına göre */
  object-fit: cover; /* resim kırpılacak ama bozulmayacak */
  border-radius: 6px 6px 0 0;
}

.active-egitimler-section .card-img-top,
.egitimler-archive .card-img-top {
  width: 100%;
  height: 200px; /* İsteğe bağlı olarak sabit yükseklik */
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}


/* Mobilde height’yi auto yap */
@media (max-width: 768px) {
  .active-egitimler-section .card-img-top {
    height: auto;
  }
}

.egitimler-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.egitim-item {
  width: 300px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  transition: box-shadow 0.3s ease;
  background-color: #fff;
}

.egitim-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.egitim-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.egitim-item h2 {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.egitim-item .meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.egitim-item .description {
  font-size: 15px;
  margin-bottom: 10px;
}

.egitim-item .register-link a {
  display: inline-block;
  padding: 8px 12px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.egitim-item .register-link a:hover {
  background-color: #005177;
}

/* Eğitim detay sayfası temel stiller */
.egitim-single {
  padding: 40px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

.egitim-single h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.egitim-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.egitim-image {
  max-width: 800px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  overflow: hidden;
}

.egitim-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .egitim-image {
    max-width: 100%;
    padding: 0 10px;
  }
}

.egitim-details {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.egitim-details p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.btn-kayit {
  display: inline-block;
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.btn-kayit:hover {
  background-color: #0056b3;
}

.btn-kayit.kapandi {
  background-color: #6c757d;
  cursor: not-allowed;
}

.egitim-aciklama {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  color: #444;
  line-height: 1.7;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

/*Son yazılar buton style*/
.latest-blog-posts .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.latest-blog-posts .btn-primary:hover {
  opacity: 0.9;
  color: white;
}

.card-img-top {
  object-fit: cover;
  height: 220px; /* ihtiyacına göre 200-300px arası ayarlayabilirsin */
  width: 100%;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

/*tekil yazı style*/
body {
  background-color: #f8f9fa; /* İstersen burayı açık gri yap, yoksa beyaz (#fff) */
}

.page-wrapper.bg-white {
  background-color: #fff !important;
}

.previous-post a.btn, 
.next-post a.btn {
  min-width: 140px;
  white-space: nowrap;
  text-align: center;
}

/*Sidebar style*/
/* Sidebar widget kapsayıcı */
.sidebar-widget {
  margin-bottom: 2rem;
  font-family: 'Arial', sans-serif;
}

/* Widget başlıkları */
.sidebar-widget h3 {
  color: #222;
  font-size: 1.25rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Liste stili */
.sidebar-widget ul {
  list-style: none;
  padding-left: 0;
}

.sidebar-widget ul li {
  margin-bottom: 0.75rem;
}

.sidebar-widget ul li a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-widget ul li a:hover {
  color: #555;
  text-decoration: none;
}

/*Yorumlar Style*/
.comment-list .comment {
    border-left: 4px solid #0d6efd;
    padding-left: 15px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.comment-custom-form textarea,
.comment-custom-form input {
    border-radius: 6px;
    border: 1px solid #ced4da;
}

.comment-custom-form .form-label {
    font-weight: 500;
}

.comment-pagination {
    text-align: center;
}

/*Proje sayfa Style*/
.project-single .project-thumbnail img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

.project-meta p {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-content {
  margin-top: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.project-archive .project-card {
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.project-archive .project-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-archive h3 a {
  color: #007bff;
  text-decoration: none;
}
.project-archive h3 a:hover {
  text-decoration: underline;
}

/*Proje Arşiv sayfası*/
.project-archive .project-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.project-archive .post-thumbnail {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Antrasit renk */
.text-antrasit {
  color: #2f3640; /* koyu gri/antrasit ton */
}

/* Başlıklar antrasit ve link değil */
.project-title {
  color: #2f3640;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Buton alt kısımda ve sola hizalı */
.project-card .btn {
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.project-card .btn:hover {
  background-color: #1e90ff; /* örnek hover rengi */
  color: white;
}

/* Görsel kapsayıcı */
.project-thumb {
  max-height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*H1 Özel Renk*/
.ozel-renk {
  color: white; /* istediğin renk */
}
.ozel-renk,
.lead {
  background-color: rgba(0, 0, 0, 0.5); /* yarı saydam siyah arka plan */
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}

/*görsel style*/
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}
