html,
body {
  margin: 0;
  padding: 0;
  background-color: #fbfbfb;
  overflow-x: hidden;
  color: #333333;
}

.mt-40 {
  margin-top: 88px;
}
.mt-93 {
  margin-top: 132.563px;
}

.ms-n5 {
  margin-left: -40px;
}

.bg-color {
  background-color: #fbfbfb;
}

.bg-color-2 {
  background-color: #daa333;
}

.bg-color-3 {
  background-color: #333333;
}

.text-color {
  color: #fbfbfb;
}

.text-color-2 {
  color: #333333;
}

.text-color-3 {
  color: #daa333;
}
.fs-icon {
  font-size: 1vw;
}

@media (max-width: 992px) {
  .w-sm-50 {
    width: 50% !important;
  }
}
.border-color {
  border-color: #333333 !important;
}
.border-color-2 {
  border-color: #daa333 !important;
}

.card-header {
  background-color: rgba(51, 51, 51, 0.1) !important;
}

/* .swiper {
  width: 100vw;
  height: 100vh;
} */
/* .swiper-slide {
 
} */

.first-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-1 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #fbfbfb;
}

.overlay-2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #daa333;
}

.carousel-text {
  opacity: 1;
  transition: 0.5s ease;
}
.swiper-slide:hover .carousel-text {
  opacity: 1 !important;
}
.swiper-slide:hover .overlay-1 {
  opacity: 0.5;
}

.swiper-slide:hover .overlay-2 {
  opacity: 0.5;
}

.brand-img {
  background-color: #fbfbfb;
  background-image: url("/static/img/brands/brand.png");
}

.fs-0 {
  font-size: calc(2rem + 5vw) !important;
}

.arrow {
  margin: 0 -25px 120px 0 !important;
  padding-left: 0px;
  padding-right: 0px;
  position: fixed !important;
  z-index: 16000160 !important;
  bottom: 0 !important;
  text-align: center !important;
  height: 50px;
  min-width: 50px;
  border-radius: 25px;
  visibility: visible;
  transition: none !important;
  background-color: #333333;
  box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
  right: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: red !important ;
  font-size: 1.5rem;
  border: 3px solid white;
}

.arrow2 {
  margin: 0 -25px 190px 0 !important;
  padding-left: 0px;
  padding-right: 0px;
  position: fixed !important;
  z-index: 16000160 !important;
  bottom: 0 !important;
  text-align: center !important;
  height: 50px;
  min-width: 50px;
  border-radius: 25px;
  visibility: visible;
  transition: none !important;
  background-color: #333333;
  box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
  right: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  border: 3px solid white;
}

#wa-widget-send-button {
  border: 3px solid white;
}

/* .swiper {
  width: 100%;
  height: 100%;
} */

/* .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: rgba(251, 251, 251, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
} */

/* .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.card-header-2 {
  text-align: center;
  background: rgba(251, 251, 251, 0.5);
  display: flex;
  justify-content: center;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  top: 92px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fbfbfb;
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 8px;
  stroke: #fbfbfb;
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}
/* 
.nav-link {
  color: #daa333 !important;
} */
/* .nav-link :active {
  color: red !important;
} */
.logo-container {
  max-width: 350px;
  max-height: 150px;
  width: 100%;
  height: auto;
}

.logo-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("/static/img/hero3.jpg");
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

/* KÃ¼Ã§Ã¼k ekranlarda daha az yÃ¼kseklik */
@media (max-width: 768px) {
  .image-container {
    height: 100vh;
    max-height: none;
  }
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  /* container geniÅŸliÄŸi gibi */
  text-align: start;
  color: #f9f9f9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 1) Başlangıçta hero üzerinde */
.navbar {
  background: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease;
}
.navbar .nav-link {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  transition: color 0.3s ease;
}

/* 2) Scroll sonrası eklenecek sınıf */
.navbar.scrolled {
  background-color: rgba(255,255,255,0.9);
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.navbar.scrolled .nav-link {
  color: #101820;  /* veya #000 */
  text-shadow: none;
}

.fs-hero {
  font-size: calc(2rem + 10vw) !important;
}

@media (min-width: 1200px) {
  .fs-hero {
    font-size: 6.5rem !important;
  }
}

.text-nav{
  color: #2E2E2E; /* ya da #000000 */
  transition: color 0.2s ease-in-out;
}

#hero {
  background: url('https://yaranogluticaret.com/static/img/hero3.jpg') center/cover no-repeat;
  /* 100vh yerine gerçek hesaplanan --vh kullanılıyor */
  height: calc(var(--vh) * 100);
}



/* Text-shadow & animasyonlar */
#hero h1,
#hero p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadein {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}
.animate-fadein.delay-1 { animation-delay: 0.4s; }
.animate-fadein.delay-2 { animation-delay: 0.8s; }

/* Buton hover efekti */
#hero .btn-outline-light {
  transition: transform 0.3s, box-shadow 0.3s;
}
#hero .btn-outline-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Scroll-down ikonu */
.scroll-down {
  position: absolute;
  bottom: 30px;
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(10px); }
}


/* marka logoları için hover efekti */
.brand-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.brand-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

/* başlık düzeni (opsiyonel) */
#brands h2 {
  position: relative;
}
#brands h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #EC957A;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}


/* İletişim bölümü stilleri */
#contact {
  background-color: #f9f9f9;
}
#contact h3 {
  color: #101820;
}
#contact .form-control {
  border: 1px solid #ced4da;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#contact .form-control:focus {
  border-color: #EC957A;
  box-shadow: 0 0 0 .2rem rgba(236,149,122,0.25);
}
#contact a.text-decoration-none:hover {
  text-decoration: underline;
}

/* Footer özel stilleri */
#footer a:hover {
  text-decoration: underline;
}
#footer ul li a:hover {
  color: #EC957A; /* marka vurgu rengi */
}
