@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #5CB85C;
  --secondary-color: #111111;
  --secondary-color-light: #232220;
  --text-light: #a3a3a3;
  --white: #ffffff;
  --black: #000000;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 600;
}

.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 20px;
  font-size: 1.2rem;
  font-weight: 500;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.8)
  );
  z-index: -1;
}

/* Nav ve header içeriğinin video üzerinde görünmesini sağlamak için */
nav, .header__container {
  position: relative;
  z-index: 1;
}

.section__subheader::after {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 45px;
  aspect-ratio: 1;
  background-color: var(--primary-color);
  z-index: -1;
}

.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.5rem;
  outline: none;
  font-size: 1rem;
  color: var(--white);
  border-radius: 5px;
  cursor: pointer;
}

.btn__secondary {
  background-color: transparent;
  border: 1px solid var(--white);
}

.btn__primary {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn span {
  font-size: 1.2rem;
  transition: 0.3s;
}

.btn:hover span {
  transform: translateX(5px);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--white);
}

header {
  position: relative;
  height: 100vh; /* Video için yükseklik ayarı */
  overflow: hidden;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link a {
  padding: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: 0.3s;
}

.link a:hover {
  color: var(--primary-color);
}

.nav__menu__btn {
  display: none;
  font-size: 1.5rem;

}

.header__container {
  padding-block: 5rem 12rem;
}

.header__container h1 {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
}

.header__container .btn {
  margin: auto;
}

.about {
  background-color: var(--secondary-color);
}

.about__container {
  padding-block: 0;
}

.about__grid {
  padding: 2rem;
  display: flex; /* Grid yerine flex kullanıyoruz */
  align-items: center; /* Dikeyde ortalamak için */
  gap: 4rem;
  background-color: var(--secondary-color-light);
  border-radius: 10px;
  min-height: 500px; /* Yükseklik sabitle (isteğe göre ayarla) */
}

.about__content {
  flex: 1.5; /* Sol tarafın genişliği (1.5fr'ın flex karşılığı) */
  display: flex;
  flex-direction: column;
  justify-content: center; /* İçeriği dikeyde ortala */
}

.about__list {
  flex: 1; /* Sağ tarafın genişliği (1fr'ın flex karşılığı) */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Kutuları dikeyde ortala */
  gap: 2rem;
}

.about__content .section__header {
  margin-bottom: 1rem;
}

.about__content .para {
  color: var(--text-light);
}

.about__item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about__item span {
  padding: 13px 20px;
  font-size: 1.75rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
}

.about__item h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.stats {
  background-color: var(--black);
}

.stats__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stats__content .section__header {
  margin-bottom: 1rem;
}

.stats__content .para {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stats__card span {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.stats__card h4 {
  font-size: 2rem;
  font-weight: 700;
}

.stats__card p {
  font-weight: 500;
}

.stats__image {
  display: grid;
  gap: 2rem;
}

.stats__image img {
  max-width: 370px;
  margin: auto;
  border-radius: 5px;
  height: 270px;
}

.blog {
  background-color: var(--secondary-color);
}

.blog__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog__card img {
  margin-bottom: 1rem;
  border-radius: 5px;
  height: 300px;
}

.blog__card > div {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog__card div span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog__card div span i {
  margin-right: 5px;
  font-size: 1rem;
  color: var(--primary-color);
}

.blog__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.blog__card p {
  color: var(--text-light);
}

.customer {
  background-color: var(--secondary-color-light);
}

.customer__container .para {
  margin-block: 1rem 4rem;
  color: var(--text-light);
}

.swiper {
  width: 100%;
  padding-bottom: 4rem;
}

.customer__review .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.customer__review__card {
  position: relative;
  isolation: isolate;
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.customer__review__card span {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 6rem;
  line-height: 4rem;
  color: var(--primary-color);
  opacity: 0.1;
}

.customer__review__card p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.customer__review__details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.customer__review__details img {
  max-width: 70px;
  border-radius: 100%;
}

.customer__review__details h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

.customer__review__details h5 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

.footer {
  background-color: var(--black);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h5 a {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--primary-color);
  background-color: var(--secondary-color-light);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
  transition: 0.3s;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-light);
}

.footer__help {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.footer__help a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color-light);
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: 0.3s;
  text-decoration: none;
}

.footer__help a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

@media (width < 900px) {
  .nav__links {
    gap: 1.5rem;
  }

  .about__grid {
    flex-direction: column; /* Mobilde içerik alt alta gelsin */
    min-height: auto; /* Yüksekliği otomatik yap */
  }
  .about__content,
  .about__list {
    width: 100%; /* Tam genişlik kaplasın */
  }

  .stats__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .stats__image {
    grid-area: 1/1/2/2;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 768px) {
  nav {
    position: fixed;
    width: 100%;
    padding: 1rem;
    background-color: var(--black);
    z-index: 99;
  }

  .nav__links {
    position: absolute;
    left: 0;
    top: 68px;
    padding: 2rem;
    width: 100%;
    flex-direction: column;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.9);
  }

  .nav__links .link a {
    opacity: 0;
  }

  .nav__links.open .link a {
    opacity: 1;
  }

  .nav__links.open {
    transform: scaleY(1);
  }

  .nav__menu__btn {
    display: block;
  }

  .header__container h1 {
    margin-top: 4rem;
    font-size: 3.5rem;
  }

  .stats__image {
    grid-template-columns: repeat(1, 1fr);
  }

  .blog__grid {
    grid-template-columns: repeat(1, 1fr);
  }

    .footer__container {
    grid-template-columns: 1fr;
  }

  .footer__help {
    flex-direction: row;
    justify-content: flex-start;
  }
}


.nav__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo img {
  height: 100px;
  width: auto;
}

.nav__logo span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

@media (width < 768px) {
  .nav__logo img {
    height: 50px;
  }
  
  .nav__logo span {
    font-size: 1rem;
  }
}

.faq {
  background-color: var(--secondary-color);
}

.faq__container .para {
  margin-bottom: 4rem;
  color: var(--text-light);
}
.faq__container {
  display: flex;
  flex-direction: column;
}
.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* İki sütunlu grid */
  gap: 1rem; /* Kartlar arası boşluk */
}

.faq__card {
  padding: 2rem;
  background-color: var(--secondary-color-light);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 1rem;
}

.faq__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__header h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.faq__header span {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: 0.3s;
}

.faq__content {
  height: 0;
  overflow: hidden;
  transition: 0.5s ease;
}

.faq__content p {
  padding-top: 1rem;
  color: var(--text-light);
}

.faq__card.active .faq__content {
  height: auto;
  padding-top: 1rem;
}

.faq__card.active .faq__header span {
  transform: rotate(180deg);
}

@media (width < 900px) {
  .faq__grid {
    grid-template-columns: 1fr; /* Mobilde tek sütun */
  }
}



@media (width < 768px) {
  header {
    height: auto;
    min-height: 100vh; /* Minimum yükseklik ayarı */
  }

  .header__container {
    padding-block: 8rem 6rem; /* Üst ve alt boşluk ayarı */
  }

  .header__container h1 {
    font-size: 2.5rem; /* Başlık boyutunu küçült */
    margin-top: 2rem; /* Navbar'dan boşluk bırak */
    padding: 0 1rem; /* Yanlardan boşluk */
  }

  .header-video {
    height: 100%; /* Video yüksekliği ayarı */
  }

  /* Video üzerindeki overlay */
  header::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.5)
    );
  }
}






/* YATAY DROPDOWN STİLLERİ */
.dropdown-toggle {
  position: relative;
}

.dropdown-toggle > a {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown-menu-horizontal {
  display: flex;
  gap: 1rem;
}

/* YENİ KOD */
.dropdown-menu-horizontal {
  display: none; /* Varsayılan olarak kapalı */
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary-color-light);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 100;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
  flex-wrap: nowrap;
    padding: 0.5rem; /* 1rem'den 0.5rem'e düşürdük */
  gap: 0.3rem;
}

.dropdown-toggle:hover .dropdown-menu-horizontal {
  display: flex; /* Sadece hover'da göster */
  animation: fadeIn 0.3s ease;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
    padding: 0.5rem 1rem; /* 1rem 1.5rem'den 0.5rem 1rem'e düşürdük */
  min-width: 110px;
  background: rgba(255, 88, 31, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.menu-item i {
  font-size: 1.2rem; /* 1.5rem'den 1.2rem'e düşürdük */
  margin-bottom: 5px; /* 8px'den 5px'e düşürdük */
  color: var(--primary-color);
}

.menu-item span {
  font-size: 0.8rem;
  color: var(--white);
}

.menu-item:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.menu-item:hover i {
  color: var(--white);
}

.dropdown-toggle:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-toggle:hover .dropdown-menu-horizontal {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBİL STİLLERİ (alt alta) */
@media (width < 900px) {
  .dropdown-menu-horizontal {
    position: static;
    flex-direction: column;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    gap: 0;
    display: block !important;
  }

.dropdown-toggle.open .dropdown-menu-horizontal {
  display: flex;
  animation: fadeIn 0.3s ease;
}



  .menu-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    min-width: auto;
    background: transparent;
  }

  .menu-item i {
    margin-bottom: 0;
    margin-right: 10px;
    font-size: 1.2rem;
  }

.dropdown-toggle.open .dropdown-arrow {
  transform: rotate(180deg);
}
}




/* Yukarı Çık Butonu Stilleri */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Mobil için responsive ayarlar */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 28px; /* Küçültülmüş genişlik */
    height: 28px; /* Küçültülmüş yükseklik */
    font-size: 1.2rem; /* Daha küçük ikon */
    bottom: 20px; /* Alt boşluk azaltıldı */
    right: 20px; /* Sağ boşluk azaltıldı */
  }
  
  .scroll-to-top:hover {
    transform: none; /* Mobilde yükselme efekti kaldırıldı */
  }
}

/* Çok küçük ekranlar için (örneğin iPhone 5/SE) */
@media (max-width: 320px) {
  .scroll-to-top {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    bottom: 15px;
    right: 15px;
  }
}



/* Blog Read More Butonu */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  color: #4cae4c;
  gap: 0.8rem;
}

.blog-read-more i {
  transition: all 0.3s ease;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
  .blog-read-more {
    padding: 0.5rem 1rem;
    background-color: rgba(92, 184, 92, 0.1);
    border-radius: 5px;
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .blog-read-more:hover {
    background-color: rgba(92, 184, 92, 0.2);
  }
}