:root {
  --main-color: #005eff;
  --font-main: 'Inter', sans-serif;
  --dot-color: #ccc;
  --dot-active: #005eff;
  --primery-color:#fd562a;
}

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

body {
  font-family: var(--font-main);
  background: #d5f6fF;
  color: #222;
  overflow-x: hidden;
   scroll-behavior: smooth;
}

header {
  position: sticky;
  display: flex;
  align-items: center;
  padding: 20px 10px;
  background: rgb(255, 255, 255);
  color: black;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  top: 0;
  z-index: 100;
  height: 80px;
}
.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}
.menu-toggle {
  position: absolute;
  font-size: 60px;
  cursor: pointer;
  display: none;
  right: 5%;
}

nav a {
  margin-left: 190px;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: 0.3s;
}
nav a:hover {
  color: var(--main-color);
}

main {
  position: relative;
  padding: 0;
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49vh;
  background:#d5f6fF;
}

.slider-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60vh;
}

.text-block {
  position: absolute;
  left: 60px;
  flex: 1;
  padding-right: 40px;
}

.text-block h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-block p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.text-block button {
  padding: 14px 28px;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.text-block button:hover {
  background-color: #0044cc;
}

.media-block {
  position: absolute;
  right: 60px;
  flex: 1;
  text-align: right;
  border-radius: 10px;
}
.media-block video {
  width: 800px;
  height: 70vh;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  background: #ffffffdd;
  border: none;
  padding: 12px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background 0.3s;
}
.arrow:hover {
  background: #eee;
}
.left {
  left: 10px;
}
.right {
  right: 10px;
}

.dots {
  text-align: center;
  margin-top: 10px;
}
.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--dot-color);
  margin: 0 6px;
  border-radius: 50%;
  transition: background 0.3s;
  cursor: pointer;
}
.dots .active {
  background: var(--dot-active);
}

.card-wrapper {
  max-width: 2900px;
  margin: 0 36px 3px;
  padding: 20px 10px;
  overflow: hidden;
  background:#d5f6fF;
}
.card-list.card-item {
  list-style: none;
  
}

.card-list .card-item .card-link {
  user-select: none;
  display: block;
  background: rgb(252, 246, 246);
  padding: 30px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
  height: 490px;
}
.card-list .card-item .card-link:hover{
  border-color: #5372F0;
}
.card-list .card-link .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
.card-list .card-link .badge {
  color:white;
  padding:8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  margin:16px 0 18px;
  background:#0044cc;
  width: 20;
  height: 50px;
  border-radius: 50px;
  align-content: center;
  justify-self: center;
}
.card-list .card-link .card-title {
  font-size:1.19rem;
  color: #000;
  font-weight: 550;
  padding: 5px;
  justify-content: center;
  align-items: center;

}
.about-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.about-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  color: #002b5b;
  margin-bottom: 20px;
  border-bottom: 3px solid #0077cc;
  display: inline-block;
  padding-bottom: 5px;
  align-content: center;
}

.sub-title {
  font-size: 28px;
  color: #0077cc;
  margin-top: 40px;
  margin-bottom: 10px;
}

.about-text {
  font-size: 22px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.services-list,
.reasons-list {
  font-size: 22px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.services-list li,
.reasons-list li {
  background: #e9f5ff;
  border-left: 4px solid #0077cc;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.slogan {
  font-size: 18px;
  color: #444;
  margin-top: 30px;
  font-style: italic;
  text-align: center;
  font-size: 30px;
}
#service-section {
  height: 900px;
  width: 100%;
  background-color:#d5f6fF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#service-section h2 {
  color: black;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

#service-section .cards {
display: grid;
grid-template-columns: repeat(3,3fr);
gap:40px;
z-index: 9;
margin-top: 20px;
}
#service-section .cards .card {
min-height: 350px;
width: 450px;
display: flex;
justify-content:flex-start;
flex-direction:column;
padding: 0 8% ;
background:#71cfe8;
position: relative;
border-radius: 10px;
}
#service-section .cards .card::before{
position: absolute;
content:" ";
height: 100%;
width: 100%;
top:0;
left:0;
border-radius:10px;
background:#04566c;
/*transform: rotate(10deg);*/
transform: rotate(odeg);
z-index: -1;
}
#service-section .cards .card:hover.card::before{
  transform: rotate(10deg);
  }
#service-section .cards .card h1 {
font-size: 2.5rem; 
color: var(--primery-color);
padding-left: 130px;
padding-top:10px ;
}
#service-section .cards .card h3 {
  font-size: 1.8rem; 
  color: black;
  margin-bottom: 10px;  
}
#service-section .cards .card p {
  font-size: 1.05rem;
  color:black;
  margin-bottom: 20px;
  font-weight:500;  
}
.iletisim {
  color: black;
  font-size: 2.6rem;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 50px;

}
.contact-container {
  position: relative;
  width: 100%;
  height: 80vh;
  background-color: #d5f6fF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-container .form {
  width: 100%;
  max-width: 820px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: #1abc9c;
  position: relative;
}

.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, #149279);
  position: absolute;
}

.circle.one {
  width: 130px;
  height: 130px;
  top: 130px;
  right: -40px;
}

.circle.two {
  width: 80px;
  height: 80px;
  top: 10px;
  right: 30px;
}

.contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #1abc9c;
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}

form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #1abc9c;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

.btn:hover {
  background-color: transparent;
  color: #fff;
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #1abc9c;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: #1abc9c;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
  font-size: 1.3rem;

}

.information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}
.information p {
  font-size: 1.6rem;
 
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #1abc9c, #149279);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #1abc9c;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #1cd4af, #159b80);
  bottom: 50%;
  right: 50%;
  transform: translate(-40%, 38%);
}

.big-circle:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background-color: #fafafa;
  border-radius: 50%;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.whatsapp-button {
  display: none;
}
.footer-top {
  background-color:white;
  color:#0f0f0f;

}
.footer-top .footer-brand{
  left: 100px;
}

.footer-top .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 20px;  
}

.footer-text {
  line-height: 1.6;
  margin-block: 15 px;
}
.schedule {
  display: flex;
  align-items: center;
  gap: 15px;
}

.schedule-icon,
.footer-item .item-icon {
  background-image: var(--gradient);
  color: var(--white);
  font-size: 18px;
  padding: 11px;
  border-radius: 50%;
}

.schedule .span,
.footer-item .item-text { line-height: 1.6; }

.footer-list-title {
  color: var(--white);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-block-end: 10px;
  right:20px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  transition: var(--transition);
}

.footer-item {
  display:flex;
  align-items: center;
  gap: 1px;
}
/* --- Mobil Uyumlu Genişletilmiş Düzenlemeler Başlangıç --- */

@media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 80px;
      right: 20px;
      background-color: #f0f0f0;
      width: 100%;
      padding: 10px 0;
    }
  
    nav.active {
      display: flex;
    }
  
    nav a {
      padding: 12px 20px;
      border-bottom: 1px solid #ddd;
    }

  .slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .slider-content {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 100%;
    padding-left: 20px;
  }

  .media-block {
    position: absolute;
    flex: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .media-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease;
    background-color: white;

  }


  .text-block {
    position: relative;
    z-index: 2;
    max-width: 90%;
    text-align: left;
    padding: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  

  .text-block h1,
  .text-block p,
  .text-block button {
    text-align: left;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,10); /* Daha net görünür */
  }
  .text-block button {
    width: 200px;
  }

  .text-block button {
    background-color: var(--main-color);
    margin-top: 10px;
  }
  .arrow {
  font-size: 10px;
  }
  

  /* Swiper kart alanı */
  .card-wrapper {
    margin: 0 10px;
    padding: 10px;
  }

  .card-list .card-item .card-link {
    padding: 16px;
    height: auto;
  }

  .card-list .card-link .card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .card-list .card-link .badge {
    font-size: 0.9rem;   /* bir tık büyük */
    padding: 6px 14px;
    margin: 12px 0;
  }

  .card-list .card-link .card-title {
    font-size: 1.05rem;  /* %10 daha büyük */
    padding: 6px 0;
    text-align: left;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .swiper-pagination {
    bottom: 10px;
  }
  /* Hizmetlerimiz kartları */
  #service-section .cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #service-section .cards .card {
    width: 90%;
  }

  #service-section {
    height: auto;
    padding: 40px 10px;
  }

  /* Hakkımızda bölümü */
  .about-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .about-img img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .about-text {
    text-align: left;
    padding: 0 10px;
  }
  /* İletişim Başlığı */
  .iletisim {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
  }

  /* İletişim Alanı Genel */
  .contact-container {
    flex-direction: column;
    height: auto;
    padding: 20px 10px;
  }

  .contact-container .form {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 95%;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .contact-info {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .contact-info .title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .contact-info .title.text {
    font-size: 1rem;
    line-height: 1.5;
  }

  .information p {
    font-size: 1rem;
  }

  .contact-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
  }

  .contact-form:before,
  .circle.one,
  .circle.two,
  .square,
  .big-circle {
    display: none;
  }

  .input-container {
    margin-bottom: 1rem;
  }

  .input {
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 8px;
    color: #333;
    border: 1px solid #ccc;
    background: #f9f9f9;
  }

  .input-container label {
    font-size: 0.9rem;
    color: #555;
  }

  .btn {
    font-size: 1rem;
    padding: 10px 16px;
    background-color: var(--main-color);
    border: none;
    color: white;
    border-radius: 8px;
    width: 100%;
  }

  .btn:hover {
    background-color: #0044cc;
  }

  /* FOOTER DÜZENLEME */
  /* Footer liste gruplarını yatay sırala */
  .footer-top .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 10px;
    text-align: center;
  }

  .footer-brand {
    flex: 1 1 100%;
    text-align: left;
    padding: 0 15px;
  }

  .footer-brand img {
    width: 160px;  /* Logo biraz daha büyük */
    height: auto;
    margin-bottom: 10px;
  }

  .footer-text {
    font-size: 1rem;  /* Yazı biraz daha büyük */
    line-height: 1.6;
    color: #333;
    text-align: left; /* Sola hizalı */
    margin-top: 8px;
  }

  .footer-list {
    flex: 1 1 30%;
    min-width: 100px;
    list-style: none;
    padding: 0;
  }

  .footer-list-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    text-align: center;
  }

  .footer-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: #333;
    display: block;
    margin: 4px 0;
    text-align: center;
  }

  .footer-link:hover {
    color: var(--main-color);
  }

  footer.footer {
    padding: 20px 0;
    background-color: #f4f4f4;
  }

  .whatsapp-button {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #25d366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
  }

  .whatsapp-button:hover {
    transform: scale(1.1);
  }

  .whatsapp-button img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 440px) {
  .media-block {
    position: absolute;
    flex: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .media-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease;
    background-color: white;

  }
  .footer-top .container {
    flex-direction: column;
    align-items: center;
    padding: 15px 5px;
  }

  .footer-brand {
    text-align: center;
    padding: 0;
  }

  .footer-brand img {
    width: 100px;
  }

  .footer-text {
    font-size: 0.95rem;
    text-align: center;
  }

  .footer-list {
    flex: 1 1 100%;
    min-width: auto;
    padding: 10px 0;
  }

  .footer-list-title,
  .footer-link {
    text-align: center;
  }

  .whatsapp-button {
    bottom: 15px;
    right: 15px;
    padding: 10px;
  }

  .whatsapp-button img {
    width: 28px;
    height: 28px;
  }
}
/* --- Mobil Uyumlu Genişletilmiş Düzenlemeler Bitiş --- */

@media (max-width: 370px) {
  .text-block h1,
  .text-block p,
  .text-block button {
    text-align: left;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,10); /* Daha net görünür */
    font-size: 22px;

  }
  .text-block button {
    font-size: 16px;
    width: 200px;
  }

  .text-block button {
    background-color: var(--main-color);
    margin-top: 10px;
  }
}