/********** Trigon Css **********/
:root {
  --primary: #dc3545;
  --secondary: #757575;
  --light: #f3f6f8;
  --dark: #0c2b4b;
}

.logo {
  width: auto;
  height: 80px; 
  max-width: 100%; 
  display: block;
  margin: 0 auto; 
}

@media (max-width: 768px) {
  .logo {
      height: 60px; 
      width: auto;
  }
}

@media (max-width: 480px) {
  .logo {
      height: 50px; 
      width: auto;
  }
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 80px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/*** Facts ***/
@media (min-width: 991.98px) {
  .facts {
    position: relative;
    margin-top: -75px;
    z-index: 1;
  }
}

/*** Courses ***/
.courses {
  min-height: 100vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.courses-item .courses-overlay {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.courses-item:hover .courses-overlay {
  height: 100%;
  opacity: 1;
}

.courses-item .breadcrumb {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*** Team ***/
.team-items {
  margin: -0.75rem;
}

.team-item {
  padding: 0.75rem;
}

.team-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover::after {
  height: 100%;
  background: var(--primary);
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social {
  height: 100%;
  opacity: 1;
}

/*** Calendar ***/
#calendar-container {
  max-width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

#calendar {
  margin: 20px auto;
  width: 100%; /* Mobil uyumlu */
  max-width: 320px; /* Sabit genişlik */
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
}

#calendar_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ff6860;
  padding: 10px;
  border-radius: 12px 12px 0 0;
}

#calendar_header h1 {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.nav-btn {
  cursor: pointer;
  color: #ffffff;
  font-size: 1.2em;
  background: none;
  border: none;
  font-weight: bold;
}

#calendar_weekdays,
#calendar_content {
  display: flex;
  flex-wrap: wrap;
  width: 100%; /* Uyumlu genişlik */
  max-width: 320px; /* Sabit genişlik */
}

#calendar_weekdays div,
#calendar_content div {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #787878;
  margin: -1px;
  border: 1px solid #e8e8e8;
}

#calendar_content div.today {
  background-color: #16a085;
  color: #ffffff;
}

#calendar_content div.start-date {
  background-color: #ff6860;
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 767px) {
  #calendar-container {
    padding: 10px;
  }

  #calendar {
    padding: 10px;
  }

  #calendar_header h1 {
    font-size: 18px;
  }

  #calendar_weekdays div,
  #calendar_content div {
    width: 35px; /* Küçük ekranlar için daha küçük hücreler */
    height: 35px;
    font-size: 12px; /* Küçük ekranlarda yazı boyutu */
  }

  #calendar_content div.today {
    background-color: #16a085;
    color: #ffffff;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  #calendar-container {
    padding: 12px;
  }

  #calendar {
    padding: 12px;
  }

  #calendar_header h1 {
    font-size: 1.1em;
  }

  #calendar_weekdays div,
  #calendar_content div {
    width: 38px; /* Orta boy ekranlar için hücre genişliği */
    height: 38px;
  }
}

/* Table */

.custom-table {
  border: 2px solid #000; /* Tablo genel kenarlık kalınlığı */
  border-collapse: collapse; /* Hücre kenarlarını birleştirir */
}

.custom-table th,
.custom-table td {
  border: 2px solid #000; /* Başlık ve hücre kenarlıklarının kalınlığı */
  padding: 12px; /* Hücre içi boşluk */
  text-align: center; /* Yazıyı ortalar */
}

.custom-table th {
  background-color: #f4f4f4; /* Başlık hücreleri için arka plan rengi */
  font-weight: bold; /* Başlık yazısı kalın */
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  height: 40px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid var(--primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 20px;
  height: 20px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--light);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  background: #092139;
}

.copyright a {
  color: var(--primary);
}

.copyright a:hover {
  color: var(--light);
}

/* Gallery ASC */

.container.gallery-container {
  color: #35373a;
  min-height: 100vh;
  padding: 30px 50px;
}

.gallery-container h1 {
  text-align: center;
  margin-top: 50px;
  font-family: "Droid Sans", sans-serif;
  font-weight: bold;
}

.gallery-container p.page-description {
  text-align: center;
  margin: 25px auto;
  font-size: 18px;
  color: #999;
}

.tz-gallery {
  padding: 40px;
}

/* Override bootstrap column paddings */
.tz-gallery .row > div {
  padding: 2px;
}

.tz-gallery .lightbox img {
  width: 100%;
  border-radius: 0;
  position: relative;
}

.tz-gallery .lightbox:before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  opacity: 0;
  color: #fff;
  font-size: 26px;
  font-family: "Glyphicons Halflings";
  content: "\e003";
  pointer-events: none;
  z-index: 9000;
  transition: 0.4s;
}

.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before {
  opacity: 1;
}

.baguetteBox-button {
  background-color: transparent !important;
}
