@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Genel Reset ve Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

/* Body Stilleri */
body {
  font-family: "Roboto", sans-serif;
  user-select: none;
  /* Tüm sayfa genelinde metin seçimini engelle */
  background-image: url("/assets/images/arch-bg.png") !important;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* HEADER */
header {
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 150px;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: linear-gradient(to bottom,
      rgba(26, 26, 26, 0.89) 0%,
      rgba(50, 50, 50, 0) 100%);
}

.logo img {
  height: 60px;
}

/* Masaüstü Menü */
.header-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  margin-right: 120px;
}

.header-menu li {
  position: relative;
  margin-left: 25px;
}

.header-menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: normal;
  font-size: 0.9em;
  transition: color 0.4s ease;
}

.header-menu li a:hover {
  color: rgb(198, 198, 198);
}

/* Mobil Menü */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* İçeriği dikey olarak ortalar */
  align-items: center;
  /* İçeriği yatay olarak ortalar */
  width: 100vw;
  /* Tam ekran genişlik */
  height: 100vh;
  /* Tam ekran yükseklik */
  background-color: rgb(51, 51, 51);
  /* Arka plan hafif şeffaf */
  position: fixed;
  /* Sabit pozisyon, tüm ekranı kaplayacak */
  top: 0;
  left: 0;
  text-align: center;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  /* Başlangıçta opaklığı sıfır */
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}

.mobile-menu.active {
  max-height: 100vh;
  /* Menü açıldığında tam ekran yüksekliği */
  opacity: 1;
  /* Açıldığında opaklık tam */
  padding: 40px 20px;
  /* Açıldığında daha geniş padding */
}

/* Animasyonlar için */
.menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Dikey ortalama */
  align-items: center;
  /* Yatay ortalama */
  opacity: 0;
  transform: translateY(50px);
  /* İçerik ve logo yukarı kaymadan önce başlangıçta aşağıda */
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* Opaklık ve pozisyon geçişi */
}

.mobile-menu.active .menu-content {
  opacity: 1;
  /* Açıldığında tam görünür */
  transform: translateY(0);
  /* Menü açıldığında yukarı kayar */
}

/* Logo için */
.mobile-menu .menu-logo {
  display: flex;
  justify-content: center;
  /* Logoyu tam ortalar */
  margin-bottom: 30px;
  /* Menü içeriğiyle birlikte yerleşimi için boşluk ekledik */
}

.mobile-menu .menu-logo img {
  max-width: 150px;
  /* Logo boyutu */
  height: auto;
}

/* Menü içerik */
.mobile-menu ul {
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-top: 20px;
  padding-right: 0;
  /* Sağdan padding kaldırıldı, merkezde hizalanması için */
  list-style: none;
  /* Noktalı liste stilini kaldır */
}

.mobile-menu li a {
  color: #fff;
  /* Beyaz yazı rengi */
  text-decoration: none;
  font-size: 2em;
  /* Daha büyük font */
  font-weight: 400;
  /* Hafif kalın yazı stili */
  transition: color 0.3s ease;
  /* Renk değişimine geçiş efekti */
}

.mobile-menu li a:hover {
  color: #ffcc00;
  /* Hover'da vurgulu bir renk */
}

/* Alt kısımdaki iletişim bilgileri */
.mobile-menu-bottom {
  margin-top: 40px;
  /* Menü içeriğiyle boşluk bırak */
  color: #fff;
  /* Yazı rengi */
  font-size: 1.2em;
}

.mobile-menu-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.mobile-menu-bottom a:hover {
  text-decoration: underline;
  /* Hover'da alt çizgi */
}

/* Dropdown Menü */
.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 20px;
  background-color: rgb(52, 52, 52);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  list-style: none;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease,
    padding 0.4s ease;
}

.dropdown:hover .dropdown-menu {
  max-height: 500px;
  padding: 15px;
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li a {
  padding: 10px 20px;
  display: block;
  white-space: nowrap;
  color: #aaaaaa;
}

.dropdown-menu li a:hover {
  color: rgb(255, 255, 255);
}

/* Burger Menü */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  z-index: 1001;
  /* Menü üzerine çıkar */
  position: relative;
  /* Konumu sayfa üzerinde sabitler */
}

.burger-menu .line {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease,
    left 0.3s ease;
  position: absolute;
  /* Çizgilerin konumlarını kontrol etmek için */
}

.burger-menu .line:nth-child(1) {
  top: 6px;
  /* İlk çizgiye pozisyon verir */
}

.burger-menu .line:nth-child(2) {
  top: 14px;
  /* Orta çizgiye pozisyon verir */
}

.burger-menu .line:nth-child(3) {
  top: 22px;
  /* Üçüncü çizgiye pozisyon verir */
}

.burger-menu.active .line:nth-child(1) {
  transform: rotate(45deg);
  top: 14px;
  /* Ortaya taşır */
}

.burger-menu.active .line:nth-child(2) {
  opacity: 0;
  /* Orta çizgiyi gizler */
}

.burger-menu.active .line:nth-child(3) {
  transform: rotate(-45deg);
  top: 14px;
  /* Ortaya taşır */
}

/* SLIDER */

.main-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
  cursor: grab;
}

.slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  user-select: none;
  pointer-events: none;
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.slide.active .overlay {
  opacity: 1;
}

.overlay h2 {
  /* font-size: 3em; */
  /* margin-bottom: 20px; */
}

.overlay p {
  /* font-size: 1.2em; */
}

.slide.active {
  transform: scale(1.05);
}

.grabbing {
  cursor: grabbing !important;
}

/* ABOUT US SECTION */
.about-us {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-header-image {
  filter: grayscale(52%) brightness(45%);
  -webkit-filter: grayscale(52%) brightness(45%);
  -moz-filter: grayscale(52%) brightness(45%);
}

.main-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-content-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.main-content-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: -1px 19px 18px 0px rgba(0, 0, 0, 0.75);
  filter: blur(2px);
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}

.main-content-photo img.parallax {
  transform: translateY(-10%);
}

.main-content h1 {
  position: absolute;
  color: rgb(255, 255, 255);
  font-size: 3em;
  font-weight: 300;
  text-align: center;
  z-index: 1;
  padding: 10px 60px;
  background-color: rgba(61, 61, 61, 0.479);
  filter: drop-shadow(10px 0 10px rgba(0, 0, 0, 0.5));
  text-transform: uppercase;
  border: 1px solid rgb(255, 255, 255);
  letter-spacing: 5px;
}

.scrollbar-thin::-webkit-scrollbar {
  height: 6px;
}

.scrollbar-thumb-gray-500::-webkit-scrollbar-thumb {
  background-color: #6b7280;
  border-radius: 10px;
}

/* Firefox için scrollbar gizleme */
.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: #6b7280 transparent;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Footer */
footer {
  background-color: #7c6965;
}

.main-footer {
  background-color: rgb(26, 26, 26);
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .about-us {
    height: 60vh;
  }

  .main-content h1 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .about-us {
    height: 70vh;
  }

  .main-content h1 {
    font-size: 2em;
  }

  .header-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .burger-menu {
    display: flex;
  }
}

@media (max-width: 480px) {
  .about-us {
    height: 80vh;
  }

  .main-content h1 {
    font-size: 1.5em;
  }
}

#scrollTopBtn {
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .7;
  }
}

#scrollTopBtn {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}