/* Genel Görünüm */
.slider {
  display: none;
}

body {
  font-family: "Arial", cursive;
  background-color: #d7eef7;
  padding: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* Blog Yazısı Sayfası Stil Ayarları */
/* Blog Bölümü Stil Ayarları */
.blog-title {
  text-align: center;
  font-size: 32px;
  margin-top: 60px;
  margin-bottom: 40px;
  color: rgb(36, 36, 117);
  font-family: "Playwrite DE Grund", cursive;
}

.blog-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 80%;
  margin: 0 auto 80px;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.blog-image {
  background-size: cover;
  background-position: center;
  height: 180px;
  width: 100%;
}

.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-heading {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
}

.blog-excerpt {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  align-self: flex-start;
  text-decoration: none;
  color: #1e252d;
  font-weight: bold;
  border-bottom: 2px solid #76d0f4;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.read-more:hover {
  color: #00e6ff;
  border-color: #00e6ff;
}

/* Medya Sorguları */
@media (max-width: 992px) {
  .blog-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .blog-section {
    grid-template-columns: 1fr;
  }
}

/* COOKİEEEEE*/
.cookie-card {
  max-width: 320px;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.05);

  position: fixed; /* Ekranda sabit bir konum için */
  bottom: 20px; /* Alt kısımdan 20px boşluk */
  right: 20px; /* Sağ kısımdan 20px boşluk */
  z-index: 1000; /* Diğer öğelerin üstünde olması için */
}

.title {
  font-weight: 600;
  color: rgb(31 41 55);
}

.description {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(75 85 99);
}

.description a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
}

.description a:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  flex-shrink: 0;
}

.pref {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(31 41 55);
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background-color: transparent;
}

.pref:hover {
  color: rgb(156 163 175);
}

.pref:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.accept {
  font-size: 0.75rem;
  line-height: 1rem;
  background-color: rgb(17 24 39);
  font-weight: 500;
  border-radius: 0.5rem;
  color: #fff;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.accept:hover {
  background-color: rgb(55 65 81);
}

.accept:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.container {
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

/* Başlık */
.main-title {
  text-align: center;
  font-size: 35px;
  padding-top: 50px;
  padding-bottom: 24px;
  font-weight: bold;
  color: rgb(36, 36, 117);
  font-family: "Playwrite DE Grund", cursive;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Sigorta Bölümleri */
.insurance-sections {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 60px;
}

.section-box {
  background-color: #5faeb5;
  padding: 50px;
  padding-top: 30px;
  height: 85%;
  text-align: center;
  border-radius: 40px;
  box-shadow: 2px 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-box:hover {
  box-shadow: 0 12px 24px rgba(237, 228, 228, 0.2);
}

.icon-container {
  background: rgb(8, 10, 168);
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.gif-icon {
  width: 53px; /* GIF boyutunu istediğin gibi ayarla */
  height: 53px;
  border-radius: 50%; /* GIF'in etrafına daire şeklinde bir kenarlık eklemek istersen */
}

.animated-btn {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background-color: #1e252d;
  border: 2px solid #76d0f4;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.6s;
  overflow: hidden;
}

.animated-btn:hover {
  background-color: #00e6ff;
  color: #333;
  box-shadow: 0 0 10px #00e6ff, 0 0 20px #00e6ff, 0 0 30px #00e6ff;
}

.animated-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 230, 255, 0.5),
    transparent
  );
  transition: 0.4s;
}

.animated-btn:hover::before {
  left: 100%;
  transition: 0.4s;
}

.animated-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: #00e6ff;
  border-left-color: #00e6ff;
  transition: border 0.4s ease;
}

.animated-btn:hover::after {
  border-color: #00e6ff;
}

/* Medya Sorguları */

/* Tabletler için */
@media (max-width: 768px) {
  .insurance-sections {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-box {
    padding: 30px;
    border-radius: 30px;
    width: 300px;
  }

  .gif-icon {
    width: 40px;
    height: 40px;
  }

  .main-title {
    font-size: 28px;
    padding-top: 30px;
    padding-bottom: 16px;
  }
}

/* Mobil cihazlar için */
@media (max-width: 480px) {
  .insurance-sections {
    grid-template-columns: 1fr;
  }

  .section-box {
    padding: 20px;
    border-radius: 20px;
  }

  .gif-icon {
    width: 32px;
    height: 32px;
  }

  .main-title {
    font-size: 24px;
    padding-top: 20px;
    padding-bottom: 12px;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

.wrapper {
  position: relative;
  width: 100%;
  padding: 20px;
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 325px;
  height: 450px;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.poster {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.poster::before {
  content: "";
  position: absolute;
  bottom: -45%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: 0.3s;
 
}

.card:hover .poster::before {
  bottom: 0;
}

.poster img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.card:hover .poster img {
  transform: scale(1.1);
}

.details {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 1.5em 1.5em 2em;
  background-color: #225257;

  z-index: 1;
  transition: 0.3s;
  color: #fff;
  z-index: 2;
}

.card:hover .details {
  opacity: 1;
  bottom: 0;
}
.details h1,
.details h2 {
  font-weight: 700;
}

.details h1 {
  font-size: 1.5em;
  margin-bottom: 5px;
}

.details h2 {
  font-weight: 400;
  font-size: 1em;
  margin-bottom: 10px;
  opacity: 0.6;
}

.details .rating {
  margin-bottom: 15px;
  display: flex;
  gap: 0.25em;
}

.details .rating i {
  color: #e3c414;
}

.details .rating span {
  margin-left: 0.25em;
}

.details .tags {
  display: flex;
  gap: 0.375em;
  margin-bottom: 0.875em;
  font-size: 0.85em;
}

.details .tags span {
  padding: 0.35rem 0.65rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
}

.details .desc {
  color: #fff;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1em;
}

.details .cast h3 {
  margin-bottom: 0.5em;
}

.details .cast ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.details .cast ul li {
  list-style: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #fff;
}

.details .cast ul li img {
  width: 100%;
  height: 100%;
}
/* Mobil Cihazlar için Medya Sorgusu */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .card {
    width: 90%;
    height: auto;
    cursor: default; /* Tıklanabilir olmadığını belirtir */
  }

  .poster {
    height: auto; /* Resim yüksekliğini içeriğe göre ayarla */
  }

  .poster::before {
    display: none; /* Overlay efektini kaldır */
  }

  .poster img {
    transform: none; /* Resim zoom efektini kaldır */
    width: 100%;
    height: auto;
  }

  .details {
    position: static; /* Mutlak konumlandırmayı kaldır */
    bottom: 0;
    width: 100%;
    padding: 1em;
    background: rgba(89, 209, 220, 0.6);
    backdrop-filter: none; /* Bulanıklaştırmayı kaldır */
    transition: none; /* Geçiş efektlerini kaldır */
    display: block; /* Detayları her zaman göster */
  }

  /* Hover efektini mobilde devre dışı bırakmak için */
  .card:hover .details {
    bottom: 0;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;1,400");

/* PC Görünümü İçin Ana Konteyner */
.container1 {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  background: #111;
}

/* Mobil Görünümde .container1 Gizleniyor */
@media (max-width: 1023px) {
  .container1 {
    display: none;
  }
}

/* PC Görünümünde .slider Gizleniyor */
@media (min-width: 1024px) {
  .slider {
    display: none;
  }
}

/* PC Görünümü İçin Resim Ayarları */
.resim {
  position: relative;
  flex: 1 1 calc(100vw / 6);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  filter: saturate(90%);
  transition: 1s;
}

/* Arka Plan Resimleri */
.resim:nth-child(1) {
  background-image: url("../images/konut.webp");
  background-position: 72% 35%;
}

.resim:nth-child(2) {
  background-image: url("../images/kaza1.webp");
  background-position: 60% 8%;
}

.resim:nth-child(3) {
  background-image: url("../images/konut2.webp");
  background-position: 52% 8%;
}

.resim:nth-child(4) {
  background-image: url("../images/hastane.webp");
  background-position: 45% 8%;
}

.resim:nth-child(5) {
  background-image: url("../images/seyahat3.webp");
  background-position: 45% 25%;
}

.resim:nth-child(6) {
  background-image: url("../images/bes.webp");
  background-position: 65% 2%;
}

/* Resimlerin Önüne Koyulan Gradyan */
.resim:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(25deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

/* Kenar Çizgileri ve Animasyon */
.resim:not(:last-child) {
  border-right: 1px solid #ccc;
  animation: borderPulse 5s infinite;
}

/* Hover Efekti */
.resim:hover {
  flex-basis: 75%;
  filter: saturate(120%);
}

.resim:hover .quote {
  opacity: 1;
  transform: translateX(0);
}

/* Quote Stil Ayarları */
.quote {
  position: absolute;
  color: #fff;
  bottom: 50%;
  left: 15%;
  width: 30vw;
  opacity: 0;
  transition: 1s;
  transform: translateX(50%);
}

.quote p {
  position: relative;
  display: inline-block;
  margin-bottom: 1.7rem;
  font-size: 1.4rem;
  font-style: italic;
}

.quote p:before,
.quote p:after {
  position: absolute;
  font-size: 5.5rem;
  opacity: 0.6;
}

.quote p:before {
  content: "“";
  top: 4rem;
  left: -2rem;
  transform: translate(-100%, -100%);
}

.quote p:after {
  content: "”";
  bottom: 2rem;
  right: -2rem;
  transform: translate(100%, 100%);
}

.quote span {
  position: absolute;
  bottom: -2rem;
  right: 0;
  text-align: right;
  font-size: 1.2rem;
  font-weight: bold;
  transform: translate(4rem, 100%);
}

.quote span:before {
  content: "—";
  margin-right: 0.7rem;
}

/* Animasyon */
@keyframes borderPulse {
  0%,
  100% {
    border-color: rgba(204, 204, 204, 1);
  }
  25%,
  75% {
    border-color: rgba(204, 204, 255, 0.9);
  }
  50% {
    border-color: rgba(204, 204, 255, 0.5);
  }
}

/* Mobil Görünüm İçin Slider Ayarları */
@media (max-width: 1023px) {
  /* Slider Görünür Yapılıyor */
  .slider {
    margin-top: 8vh;
    display: block;
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 71vh;
  }

  /* Slaytlar Yan Yana Diziliyor */
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 6); /* Slayt sayısına göre */
  }

  .slide {
    min-width: 100%;
    box-sizing: border-box;
    z-index: 1;
  }

  /* Resim Ayarları */
  .resim {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    filter: saturate(90%);
    transition: 1s;
  }

  .resim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .resim:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(25deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  }

  /* Quote Her Zaman Görünür */
  .resim .quote {
    opacity: 1;
    transform: translateX(0);
  }

  /* Kenar Çizgileri Kaldırılıyor */
  .resim:not(:last-child) {
    border: none;
  }
}

.new-section {
  text-align: center;
  padding: 40px;
  background-color: transparent;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  margin-top: 7%;
}

.new-section-main-title {
  font-family: "Open Sans", sans-serif;
  font-size: 28px;
  color: #3336db;
  margin-bottom: 5%;
}

.new-section-main-title-under {
  font-family: "Halant", serif;
  font-size: 18px;
  color: #0e0e9f;
  margin-bottom: 20px;
}

.new-section p {
  font-family: "Halant", serif;
  font-size: 18px;
  color: #243852;
  margin-bottom: 20px;
}

.under-new-section {
  display: flex;
  justify-content: space-between;
  gap: 2%;
  flex-wrap: wrap;
  max-width: 100%;
}

.under-new-section-item {
  flex: 1;
  min-width: 28%;
  max-width: 28%;
  text-align: center;
  padding: 2%;
  border-radius: 10px;
  background-color: #a2adf7;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.under-new-section-item i {
  font-size: 40px;
  color: #f7f6f4;
  margin-bottom: 10px;
}

.under-new-section-item h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 22px;
  color: #625edc;
  margin-bottom: 10px;
}

.under-new-section-item p {
  font-family: "Halant", serif;
  font-size: 16px;
  color: #504204;
}

/* Responsive Tasarım */

/* Büyük ekranlar için (Desktop) */
@media (min-width: 1200px) {
  .new-section {
    width: 70%;
  }
}

/* Orta boyutlu ekranlar için (Tablet) */
@media (max-width: 1199px) and (min-width: 769px) {
  .new-section {
    width: 80%;
  }

  .under-new-section-item {
    min-width: 30%;
    max-width: 30%;
  }
}

/* Küçük ekranlar için (Tablet dikey, küçük laptoplar) */
@media (max-width: 768px) and (min-width: 481px) {
  .new-section {
    width: 90%;
    padding: 30px;
  }

  .new-section-main-title {
    font-size: 24px;
  }

  .new-section-main-title-under {
    font-size: 16px;
  }

  .under-new-section-item {
    min-width: 45%;
    max-width: 45%;
    margin-bottom: 20px;
  }

  .under-new-section-item i {
    font-size: 36px;
  }

  .under-new-section-item h3 {
    font-size: 20px;
  }

  .under-new-section-item p {
    font-size: 14px;
  }
}

/* Mobil cihazlar için (Akıllı telefonlar) */
@media (max-width: 480px) {
  .new-section {
    width: 100%;
    padding: 20px;
    margin-top: 5%;
  }

  .new-section-main-title {
    font-size: 20px;
  }

  .new-section-main-title-under {
    font-size: 14px;
  }

  .new-section p {
    font-size: 16px;
  }

  .under-new-section {
    flex-direction: column;
    align-items: center;
  }

  .under-new-section-item {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .under-new-section-item i {
    font-size: 32px;
  }

  .under-new-section-item h3 {
    font-size: 18px;
  }

  .under-new-section-item p {
    font-size: 14px;
  }
}

/* Testimonial Carousel */

.section-box h3 {
  font-size: 15px;
  color: white;
  font-weight: 400;
  margin: 10px;
}
.section-box p {
  font-family: "Halant", serif; /* Halant'ı paragraf için kullan */
}
.section-box:hover {
  transform: scale(1.07);
  background-color: rgb(42, 103, 178);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100vw;
}

.slide img {
  transition: opacity 1s ease-in-out;
  width: 100vw;
  height: 600px;
}

.offer-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-section {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 200px; /* Yeterli yüksekliği belirleyin */
  opacity: 1;
}

.under-new-section,
.testimonials-carousel {
  animation: fadeInUp 1s ease-in-out;
}
.contact-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-text {
  position: absolute;
  bottom: 100px;
  right: 20px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: none; /* Başlangıçta görünmesin */
}

.popup-text p {
  margin: 0;
  color: #333;
}

.contact-button:hover .popup-text {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
