body {
  background-color: #f7f6f6;
  font-family: "Playfair Display", serif;
  font-weight: 500; /* 400 normal, 600 biraz daha kalın */
  font-size: 18px;
  color: #2f2c2a;
}
.text-thin {
  font-size: 12px;
  font-weight: 800;
}
.text-tiny {
  font-size: 14px;
}

.footer-text {
  font-weight: 100;
  line-height: 1.3;
  font-size: 12px;
}
.sidebar {
  width: 25%;
  min-width: 300px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1030; /* navbar'dan yüksek */
  background-color: #f7f6f6;
  transition: all 0.3s ease;
}
.sidebar h1 {
  font-size: 2.5rem;
  font-weight: bold;
}
.border-b-gray {
  border-bottom: #8b6666 solid 1px;
}
.border-e-gray {
  border-right: #8b6666 solid 1px;
}
.border-s-gray {
  border-left: #8b6666 solid 1px;
}
.border-t-gray {
  border-top: #8b6666 solid 1px;
}
.border-gray {
  border: #8b6666 solid 1px;
}
.card {
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 15;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: auto;
  min-height: 350px;
  background-color: #f7f6f6;
}
.section-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2rem;
}
.ozel-font {
  padding-top: 20px;
  font-size: 60px;
}

/* Header Menu Styles */
.header-menu {
  padding: 20px 0;
  background-color: #f7f6f6;
}

.header-content {
  display: flex;
  align-items: center;
  padding-bottom: 30px;
}

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Menu Button Styles */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1000;
  min-width: 40px;
  min-height: 40px;
}

.menu-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #000000;
  margin: 6px auto;
  transition: all 0.3s ease;
}

/* Custom width for menu overlay */
.w-25 {
  width: 25% !important;
}

/* Menu Overlay Styles */
.menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 25%;
  height: 100%;
  background-color: #f7f6f6;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.menu-overlay.active {
  transform: translateX(0);
}
.transition {
  transition: all 0.9s ease;
}

.menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

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

.menu-list li {
  margin: 20px 0;
}

.menu-list a {
  color: #6d6262;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
  display: block;
  padding: 10px 0;
}

.menu-list a:hover {
  color: #ccc;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Menu Button Animation */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* kaydırmaca */

@-webkit-keyframes scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100px * 7));
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100px * 7));
  }
}
.slider {
  margin: auto;
  overflow: hidden;
  position: relative;
  height: 85vh; /* ya da 400, 600 neyse, sabit bir değer ver */
}
.slider::before,
.slider::after {
  content: "";
  width: 100%;
  position: absolute;
  height: 50px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
  animation: scroll 40s linear infinite;
  display: flex;
  height: calc(250px * 14);
  flex-direction: column;
}
.slider:hover .slide-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.slider .slide {
  height: 100px;
  width: 250px;
}

@-webkit-keyframes scroll-reverse {
  0% {
    transform: translateY(calc(-100px * 7));
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes scroll-reverse {
  0% {
    transform: translateY(calc(-100px * 7));
  }
  100% {
    transform: translateY(0);
  }
}

.reverse-slider .slide-track {
  -webkit-animation: scroll-reverse 40s linear infinite;
  animation: scroll-reverse 40s linear infinite;
  display: flex;
  height: calc(250px * 14);
  flex-direction: column;
}

.reverse-slider:hover .slide-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
@media (max-width: 768px) {
  .slider .slide-track,
  .reverse-slider .slide-track {
    animation: none !important;
    -webkit-animation: none !important;
  }
}

/* kaydırmaca bitis */

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-overlay {
    width: 100%;
  }
}

/* Dropdown Menu Styles */
.dropdown-container {
  position: relative;
  width: 100%;
  margin-top: 20px;
  z-index: 1;
}

.dropdown-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px !important;
  transition: all 0.3s ease;
}

.dropdown-btn:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px -5px,
    rgba(0, 0, 0, 0.08) 0px 8px 10px -5px !important;
}

.dropdown-menu {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f7f6f6;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 3;
  max-height: 300px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

.dropdown-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #f7f6f6;
}

/* Card Animation Styles */
.col-md-6 {
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
}

.col-md-6:nth-child(1) {
  animation-delay: 0.1s;
}

.col-md-6:nth-child(2) {
  animation-delay: 0.2s;
}

.col-md-6:nth-child(3) {
  animation-delay: 0.3s;
}

.col-md-6:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Card hover effect */
.card:hover {
  transform: translateY(-5px);
}
.font-sm {
  font-size: 12px;
}

/* Statistics Footer Styles */
.statistics-footer {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  padding: 0 2rem;
  background-color: #f3eee9;
  z-index: 2;
}

.statistics-footer .d-flex {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  backdrop-filter: blur(5px);
}

.statistics-footer strong {
  font-size: 1.2rem;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .statistics-footer {
    position: relative;
    bottom: auto;
    margin-top: 30px;
  }
}

/* Bottom Menu Styles */
.bottom-menu {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 25%;
  height: 80vh;
  background-color: #f7f6f6;
  z-index: 1000;
  transition: bottom 0.3s ease-in-out;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.close-menu {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}
.bottom-menu.active {
  bottom: 0;
}

.menu-items {
  margin-top: 20px;
}

.btn-bg {
  background-color: #f7f6f6;
  border: none;
  margin-top: 100px;
}

.menu-link {
  text-decoration: none;
  color: #333;
  display: block;
  transition: all 0.9s ease;
  font-size: 14px;
}

.link-items {
  text-decoration: none;
  color: #8b8787;
  font-weight: 200;
}
.menu-link:hover .link-items {
  color: black;
  transition: all 0.9s ease;
  font-weight: 400;
}

.menu-link:hover {
  color: #333;
}

.menu-link:hover .text-muted {
  color: #000 !important;
  transition: all 0.8s ease;
}

.menu-link:hover .fw-bold {
  color: #dc3545;
  transition: all 0.2s ease;
}

.menu-icon {
  font-size: 24px;
  opacity: 0.8;
}

/* Hover efekti: alt çizgi ve renk geçişi */
.nav-link.nav-hover {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link.nav-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #dc3545; /* kırmızı çizgi */
  transition: width 0.3s ease;
}

.nav-link.nav-hover:hover::after {
  width: 100%;
}

.nav-link.nav-hover:hover {
  color: #dc3545 !important;
}

@media (max-width: 768px) {
  .bottom-menu {
    width: 100%;
  }
}

/* Remove custom menu-item styles since we're using Bootstrap classes */

.col-9 {
  width: 75%;
  height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
}

.row.g-4 {
  height: fit-content;
  min-height: 100vh;
  align-items: flex-start;
}

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

.card-body {
  padding: 1.25rem;
  flex-grow: 1;
}

@media (max-width: 1200px) {
  .card {
    min-height: 300px;
  }

  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .card {
    min-height: 250px;
  }

  .card-img-top {
    height: 180px;
  }
}

@media (max-width: 1200px) {
  .row .col-xl-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .row .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .sidebar {
    height: auto;
    position: relative;
  }

  .col-9 {
    width: 100%;
  }

  .row {
    flex-direction: column;
  }

  .statistics-footer {
    position: relative;
    bottom: auto;
    margin: 20px 0;
  }

  .mobile-menu-toggle,
  .mobile-menu-overlay {
    display: none;
  }
}

@media (min-width: 992px) {
  .mobile-menu-toggle,
  .mobile-menu-overlay {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100% !important;
    position: relative !important;
    min-width: auto !important;
    height: auto !important;
    border-right: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .col-9 {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    display: block !important;
    padding: 0 15px; /* istersen kenar boşlukları için */
  }

  .row {
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  .search-form {
    width: 100%;
    margin-top: 10px;
    background-color: #f7f6f6; /* arka planla uyumlu */
    border: 1px solid #d4cec7;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  @media (max-width: 767.98px) {
    #navbarMenu {
      margin-top: 1rem; /* ya da 20px */
    }
  }
  /* Mobil için */
  @media (max-width: 1008px) {
    #mobileCardsContainer {
      margin-top: 350px;
    }
  }

  @media (max-width: 1068px) {
  #mobil-card {
    margin-top: 300px;
  }
}

  @media (max-width: 1068px) {
  #mobil-card2 {
    margin-top: 50px;
  }
}



  /* Web için (768px üstü), margin-top sıfır olsun */
  @media (min-width: 769px) {
    #mobileCardsContainer {
      margin-top: 0;
    }
  }
  .search-form input {
    flex: 1;
    background-color: #f7f6f6;
    border: none;
    box-shadow: none;
    font-size: 14px;
    padding: 6px 8px;
  }

  .search-form input::placeholder {
    font-size: 14px !important;
    color: #888 !important;
  }
  .search-form button {
    padding: 6px 10px;
    font-size: 14px;
    border: none;
    background-color: #dc3545;
    color: white;
    border-radius: 6px;
  }

  .search-form button i {
    font-size: 16px;
  }
}

#sliderContainer > .col-12 {
  margin-bottom: 20px;
}
.card-excerpt .text-muted {
  font-style: italic;
  font-size: 13px;
  color: #888;
}

.card-excerpt {
  font-size: 14px;
  color: #5c5c5c;
  line-height: 1.5;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card.card-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  height: 380px; /* Sabit yükseklik */
  background-color: #f7f6f6;
  overflow: hidden;
}

.card.card-item img {
  width: 100%;
  height: 220px; /* Sabit yükseklik */
  object-fit: cover;
  border-radius: 10px;
}

.card.card-item h5 {
  margin-top: 10px;
  font-size: 18px;
  color: #2f2c2a;
  display: block;
}

@media (max-width: 768px) {
  .card.card-item {
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .slider {
    display: none !important;
  }
}
