* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --theme: #f5f6f88f;
  --header: #5f859f;
  --text: #6f7174;
  --grey: #6c757d;

}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--theme) !important;
  color: var(--header);
  line-height: 1.6;
}

.p-80 {
  padding: 80px 0;
}

.topbar i {
  color: #6c757d;
  font-size: 14px;
}

.topbar span,
.topbar a {
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
  /* İstersen çerçeve */
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

@media (max-width: 505px) {
  .topbar .contact-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .topbar .contact-wrapper span i {
    margin-left: 0 !important;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.main-logo {
  opacity: 1;
  animation: blink 0.4s ease-in-out;
}

.main-logo.animate {
  animation: none;
  transform: perspective(600px) rotateX(90deg) translateY(20px);
  transform-origin: bottom center;
  opacity: 0;
}

.main-logo.animate.show {
  opacity: 1;
  transform: perspective(600px) rotateX(0deg) translateY(0);
  transition: all 1s ease;
}

.offcanvas {
  width: 100% !important;
  max-width: 100%;
  border-left: none;
  background-color: #fafafb;
  padding-left: 150px;
  height: 45%;
  margin-top: 6rem;
}

.offcanvas-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.btn-close {
  font-size: 18px;
  background: none;
  border: none;
}

.offcanvas-body .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.offcanvas-backdrop {
  background-color: rgba(255, 255, 255, 0.0) !important;
}

.offcanvas-body .col-md-4 {
  flex: 1 1 30%;
  min-width: 250px;
}

.navbar-nav {
  padding: 0;
  list-style: none;
}

.nav-item {
  margin-bottom: 10px;
}

.nav-item a {
  text-decoration: none;
  color: var(--grey);
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-item a:hover {
  color: var(--header);
  transform: translateX(5px);
}

.dropdown-menu {
  line-height: 2rem;
}

.dropdown-item:active {
  background-color: #f5f5f5 !important;
  /* istediğin rengi yaz */
  color: #000 !important;
  /* yazı rengini de istersen değiştir */
}

@media (max-width: 768px) {
  .offcanvas {
    padding: 30px 20px;
  }

  .offcanvas-body .row {
    flex-direction: column;
    gap: 30px;
  }

  .offcanvas-body .col-md-4 {
    width: 100%;
  }
}

.about-section {
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
}

.about-section h2 {
  font-size: 2.2rem;
  color: var(--header);
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  /* background-color: #1E5F74; */
  margin: 16px auto 0;
  border-radius: 2px;
}

.about-section .row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
}

.about-section .col-md-6 {
  flex: 1;
  display: block;
  align-items: center;
  justify-content: center;
}

/* Görsel */
.about-section img {
  display: block;
  width: 100%;
  height: auto;
  /* oranı korur */
  max-width: 500px;
  /* en fazla 500px genişlik */
  max-height: 350px;
  /* en fazla 350px yükseklik */
  object-fit: contain;
  /* resmi kesmeden sığdırır */
  margin: 0 auto;

  transition: transform 0.3s ease;
}

.about-section img:hover {
  transform: scale(1.02);
}


/* Yazı */
.about-section .col-md-6:last-child {

  padding: 0 40px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Mobil Uyum */
@media (max-width: 991.98px) {
  .about-section .row {
    flex-direction: column;
    gap: 30px;
  }

  .about-section .col-md-6:last-child {
    padding: 25px;
    text-align: center;
  }

  .about-section img {
    height: auto;
  }

  .about-section-buttons a {
    text-align: center;
  }
}


.read-more {
  display: inline-block;
  background: var(--header);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
}


.read-more:hover {
  background: linear-gradient(90deg, #555 0%, #1a1a1a 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

/* Slider */
.mySwiper {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

.slide-img {
  width: 80vw;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  transition: transform 1.3s ease;
  margin: auto;
}

.swiper-slide-active .slide-img {
  transform: scale(1.05);
}

/* metin alanı */
.slider-text {
  position: absolute;
  top: 50%;
  left: 28%;
  transform: translate(-50%, -50%);
  /* hem yatay hem dikey ortalama */
  max-width: 600px;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  text-align: center;
  /* metinleri de ortalar */
}

.swiper-slide-active .slider-text {
  opacity: 1;
  transform: translateY(0);
}

.slider-text h2 {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #fff;
  text-align: center;
}

.slider-text h1 {
  font-size: 3rem;
  margin: 15px 0;
  color: #d4d3d3;
}

.slider-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #eaeaea;
  margin-bottom: 25px;
}

/* buton */
.default-btn {
  background: linear-gradient(90deg, #1a1a1a 0%, #2f2f2f 100%);
  color: #fff;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.default-btn:hover {
  background: linear-gradient(90deg, #555 0%, #1a1a1a 100%);
}

/* swiper kontrolleri */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffffba;
  width: 80px;
  height: 80px;
  /* background: rgba(0, 0, 0, 0.4); */
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet {
  background: #ffffffba;
  ;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #4cc9ffba;
  opacity: 1;
}

.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 20px)) !important;
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 20px)) !important;

  /* mobil */
  @media (max-width: 767.98px) {
    .mySwiper {
      height: 55vh;
    }

    .slider-text {
      left: 5%;
      max-width: 90%;
    }

    .slider-text h1 {
      font-size: 2rem;
    }

    .slider-text p {
      font-size: 1rem;
    }
  }
}

.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 80px;
}

.page-header .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: right;
}

.title {
  color: #fff;
  font-size: 2rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}

.why-hydromare-section {
  width: 100%;
  min-height: 100vh;
  /* background: #f4f4f4; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 80px 20px; */
  position: relative;
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 2.5rem;
  padding: 40px 0;
}

.whySwiper {
  width: 100%;
  max-width: 1100px;
  padding: 60px 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.whySwiper .swiper-slide {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* min-height: 80vh; */
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-in-out;

}

.whySwiper .swiper-slide.swiper-slide-active {
  opacity: 1;
  transform: translateX(0);
}

.slide-heading {
  font-size: 32px;
  font-weight: 500;
  color: var(--header);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-in-out;
}

.slide-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  max-width: 800px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.9s ease-in-out 0.2s;
}


.swiper-slide.swiper-slide-active .slide-heading,
.swiper-slide.swiper-slide-active .slide-text {
  transform: translateX(0);
  opacity: 1;
}

.why-section .swiper-button-next,
.why-section .swiper-button-prev {
  color: #0e2b3d;
}

.why-section .swiper-pagination-bullet {
  background: #b8c6cf;
}

.why-section .swiper-pagination-bullet-active {
  background: #0e2b3d;
}

/* 2.5 sütun için */
@media (min-width: 992px) {
  .col-lg-2-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.geay-card {
  position: relative;
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 10px 60px;
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
  text-align: center;
}

.geay-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.geay-card:hover .ribbon-bg {
  height: 70%;
  transform: scale(1.15) rotate(-5deg);
}

.ribbon-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120%;
  height: 50%;
  background-color: #5f859f;
  background-color: #e8e7e7;


  transform: scale(1.1) rotate(-5deg);
  transition: all 0.4s ease;
  z-index: 0;
}

.oyster-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
  border-radius: 12px;
  padding-top: 1rem;
}

.geay-card:hover .oyster-img {
  transform: translateY(-10px);
}

.geay-card h5,
.geay-card p {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: var(--header);
  padding-top: 0.5rem;
}

.geay-card:hover h5,
.geay-card:hover p {
  transform: translateY(-8px);
}

.text-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 15rem;
  width: 100%;
  height: 220px;
  background-color: white;
  border-radius: 32px 32px 0 0;
  padding: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease;
}

.text-bg p {
  margin-bottom: 1rem;
}

.geay-card:hover .text-bg {
  transform: translateY(-60px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.video-slider-section .section-title {
  font-weight: 700;
  font-size: 2rem;
  color: var(--header, #333);
}

footer {
  background-color: #fff;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

footer h6 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--grey);
}

footer p,
footer a {
  font-size: 17px;
  color: var(--header);
  margin: 0 0 10px;
  display: block;
  text-decoration: none;
}



footer i {
  margin-right: 10px;
  color: var(--header);
  vertical-align: middle;
}

footer .fa-brands {
  font-size: 24px;
  margin-right: 15px;
  color: #5f859f;
  transition: color 0.3s ease;
}

footer .fa-brands:hover {
  color: #5f859f;
}

footer img {
  margin-bottom: 15px;
}

.footer-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--grey);
}

.footer-item i {
  margin-right: 10px;
  color: var(--header);
  font-size: 18px;
  min-width: 20px;
}

.footer-item a {
  color: var(--header);
  text-decoration: none;
}

.footer-item a:hover {
  color: var(--grey);
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  color: #333;
}

.social-icon:hover {
  color: var(--header);
}


@media (max-width: 767px) {
  footer {
    text-align: center;
  }

  footer .fa-brands {
    margin: 0 10px;
  }
}

.contact-box {
  border: 1px solid var(--header);
  padding: 30px;
  border-radius: 8px;
}

.m-50 {
  margin-top: 50px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #3f748b;
}

.info-item i {
  font-size: 28px;
  margin-right: 15px;
  color: #3f748b;
  min-width: 32px;
}

.info-item a {
  color: #3f748b;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}