/* GENEL */
* { box-sizing: border-box; }
body {
  position: relative;
  min-height: 100vh;      /* Tüm ekran yüksekliği */
  margin: 0;
  padding-bottom: 60px;   /* Footer yüksekliği kadar boşluk bırak */
  font-family: Arial, sans-serif; 
  line-height: 1.6;
}
/* HEADER (sabit) */
header{
  position: fixed; top:0; left:0; width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:5px 20px; background:#333; color:#fff; z-index:1000;
}
.logo {
  display: flex;           /* yan yana dizmek için */
  align-items: center;     /* dikeyde ortala */
  gap: 10px;               /* logo ile yazı arası boşluk */
}

.logo img {
height:90px; 
width:auto; 
display:block;
}

.logo p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  font-style: italic;
}


/* NAV (masaüstü) */
nav ul{
  display:flex; gap:20px; list-style:none; margin:0; padding:0;
}
nav a{ color:#fff; text-decoration:none; transition:color .2s; }
nav a:hover{ color:#ff6600; }
.btn-nav{ background:#ff6600; padding:8px 14px; border-radius:6px; }
.btn-nav:hover{ color:#fff; }
/* HAMBURGER */
.menu-toggle{
  display:none; font-size:28px; line-height:1; background:transparent;
  border:0; color:#fff; cursor:pointer;
}

/* HERO (header sabit olduğu için üst boşluk ver) */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
}
.hero-container {
  display: flex;
  align-items: center;      /* Dikey ortalar */
  justify-content: center;  /* Yatay ortalar */
  gap: 30px;
  flex-wrap: wrap;          /* Mobilde alt alta geçiş */
  min-height: 300px;        /* İstenilen yükseklik */
  padding-top: 110px;
}


.hero-img {
  width: 100%;
  max-width: 500px; /* ekran büyüdükçe sınır */
  height: 200px;     /* oran korunur, kesilmez */
}

.hero-text {
  text-align: center;
  color: #333;
}


.hero-text h1 {
  
  margin: 0 0 10px;
}

.hero-text span {
  color: #ff6600;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column; 
    align-items: center; /* üstten hizalama */
    gap: 10px;
  }

  .hero-text {
    padding: 10px;
    text-align: center; /* yazıyı ortalamak için */
  }

  .hero-img {
    max-width: 100%;
    height: auto; /* oran korunur */
  }
}



/* HİZMETLER */
.services{ padding:10px 10px; text-align:center; }
.service-grid{
  display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.service-item{ background:#cfbebe; padding:5px; border-radius:10px; }

/* CTA */
.cta{ background:#ff6600; color:#fff; text-align:center; padding:10px 20px; }
.cta .btn{ background:#333; padding: 10px 80px;  }

/* FOOTER */
footer {
  position: absolute;  /* Sayfanın en altına sabitle */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;        /* Footer yüksekliği */
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: smaller;
  font-style: italic;
}


/* 📱 MOBİL: Açılır menü header'ın ALTINA sabitlenir */
@media (max-width: 768px){
  .menu-toggle{ display:block; }
@media (max-width: 768px){
  .logo img {
    height:70px; /* mobilde daha küçük ama hala gözle rahat */
  }
}
  /* Masaüstündeki yatay menüyü gizle */
  nav{ position:absolute; top:100%; left:0; right:0; display:none; }

  /* Açılır menü stili */
  nav.active{
    display:block;
    background:#333; border-top:1px solid rgba(255,255,255,.15);
    z-index: 2000;
  }

  nav ul{
    flex-direction:column; gap:0; padding:8px 0;
  }
  nav li{ border-bottom:1px solid rgba(255,255,255,.1); }
  nav li:last-child{ border-bottom:none; }
  nav a{ display:block; padding:12px 18px; }

  /* Hero başlık boyutu */
  .hero-text h1{ font-size:28px; }
}



.hero-section {
  padding: 90px 20px; /* Masaüstü için */
}

/* Tablet ve küçük ekranlar için */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 15px;
  }
}

/* Mobil küçük ekranlar için */
@media (max-width: 480px) {
  .hero-section {
    padding: 90px 10px;
  }
}

    .hero-wrapper {
      display: flex;
      align-items: center;       /* Dikey ortalama */
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;           /* Mobilde alt alta */
      
    }

    .hero-image-wrapper {
      flex: 1 1 200px;
      max-width: 500px;
      display: flex;
      justify-content: center;
      align-items: center;       /* Resmi kendi containerında ortala */
    }

    .hero-image {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      border-radius: 10px;
    }

    .hero-content {
      flex: 1 1 400px;
    }

    .hero-content h2 {
      font-size: 2rem;
      margin-bottom: 15px;
      color: #222;
    }

    .hero-content p {
      font-size: 1.2rem;
      line-height: 1.6;
      margin-bottom: 25px;
      color: #555;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero-wrapper {
        flex-direction: column;
        text-align: center;
        min-height: auto;
      }

      .hero-image-wrapper {
        max-width: 100%;
      }

      .hero-image {
        max-height: 300px;
      }

      .hero-content h2 {
        font-size: 1.8rem;
      }

      .hero-content p {
        font-size: 1rem;
      }
    }

   .faq-section {
      max-width: 900px;
      padding: 90px 20px;
      margin: 0 auto;       
      text-align: center;   
    }


    .faq-item {
      background: #fff;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .faq-question {
      padding: 18px 25px;
      cursor: pointer;
      font-weight: 600;
      position: relative;
      font-size: 1.1rem;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 25px;
      font-size: 1.4rem;
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-question::after {
      transform: rotate(45deg);
    }

    .faq-answer {
      max-height: 0;
      padding: 0 25px;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: #f0f0f0;
      font-weight: 400;
      line-height: 1.6;
    }

    .faq-item.active .faq-answer {
      max-height: 500px;
      padding: 15px 25px;
    }

    @media (max-width: 768px) {
      header h1 {
        font-size: 1.8rem;
      }

      .faq-question {
        font-size: 1rem;
      }

      .faq-answer {
        font-size: 0.95rem;
      }
    }

    .floating-cta {
  position: fixed;       /* ekran üzerinde sabit */
  bottom: 40px;          /* alt mesafe */
  right: 40px;           /* sağ mesafe */
  background-color: #ff6600;
  color: #fff;
  width: 70px;           /* yuvarlak boyut */
  height: 70px;
  border-radius: 50%;    /* tam yuvarlak */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 1000;
  animation: float 3s ease-in-out infinite; /* yukarı-aşağı hareket */
}

.floating-cta:hover {
  background-color: #e65c00;
  transform: scale(1.1); /* hover ile biraz büyüme */
}
.floating-color{
 background-color: #25D366 !important;
}
/* Basit yukarı-aşağı animasyon */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); } /* 10px yukarı hareket */
}

/* Başlık */
.contact {
  max-width: 1500px;
  margin: 1rem auto;
  padding: 5rem 2rem 2rem;
  background: #fff;
  border-radius: 12px;
}

.contact h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact p {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

/* Grid düzeni */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Form */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077ff;
  outline: none;
}

/* Buton */
.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background: #0077ff;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #005fcc;
}

/* İletişim Bilgileri */
.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #222;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #444;
}

/* Harita */
.map-container {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.info-line .value a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.value a:hover {
  color: #0077cc;
  text-decoration: underline;
}


.maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  
  padding: 10rem;
}

.maintenance-container {
  background: #e1cece;
  padding: 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.maintenance h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.maintenance p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}
    .floating-cta img {
      height: 40px;
      width: 40px;
    }
   
    .floating-left { left: 20px; }
    .floating-right { right: 20px; }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.5);
    }
    .modal-content {
      background: #fff;
      margin: 15% auto;
      padding: 20px;
      width: 90%;      
      max-width: 400px;
      border-radius: 8px;
      position: relative;
    }
    .close {
      position: absolute;
      right: 10px; top: 5px;
      font-size: 20px;
      cursor: pointer;
    }
    input, textarea {
      width: 100%;
      margin: 5px 0 10px;
      padding: 8px;
      border-radius: 4px;
      border: 1px solid #ccc;
    }
    button.submit-btn {
      width: 100%;
      padding: 10px;
      background: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

 .comments {
  max-width: 1200px;
  height: 600px;                 /* Sabit yükseklik */
  margin: 5px auto;
  padding: 5px 10px 10px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.comments h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 140px;           /* Kart yüksekliği sabit */
  gap: 10px;                       /* Kartlar arası boşluk sabit */
  overflow-y: auto;                /* Fazla yorum scroll */
  flex-grow: 1;                     /* Alanı doldur */
}

.comment-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;                     /* grid-auto-rows ile eşleşir */
}

.comment-item h4 {
  margin: 0 0 8px;
  font-weight: 600;
  color: #222;
}

.comment-item p {
  margin: 0;
  color: #555;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagination {
  text-align: center;
  margin-top: 15px;      /* Üstten biraz boşluk */
  flex-shrink: 0;        /* Yorum sayısı az olsa bile sabit durur */
}

.pagination button {
  margin: 0 8px;          /* Butonlar arası mesafe artırıldı */
  padding: 6px 12px;      /* Hafif büyütüldü, daha rahat görünür */
  border: none;
  background: #e2c0b2;    /* Daha yumuşak turuncu */
  color: #fff;            /* Yazı rengi beyaz */
  border-radius: 6px;     /* Hafif yuvarlatma */
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-weight: 500;
  font-size: 0.95rem;
}

.pagination button:hover {
  background: #ff6600;    /* Hover rengi */
  transform: scale(1.05); /* Hafif büyüme efekti */
}

.pagination button.active {
  background: #e65c00;    /* Aktif sayfa rengi */
  color: #fff;
}


@media (max-width: 768px) {
  .comment-grid {
    grid-template-columns: 1fr; /* tek sütun */
    grid-auto-rows: auto;       /* kart yüksekliği içeriğe göre */
    gap: 10px;
  }

  .comment-item {
    min-height: 120px;          /* minimum yüksekliği sabitliyoruz */
    height: auto;               /* otomatik yükseklik */
  }
}

 main {
      padding: 80px 15px;
      text-align: center;
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }
    .gallery-item {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.2s ease;
      cursor: pointer;
    }
    .gallery-item:hover { transform: scale(1.03); }
    .gallery-item img {
      width: 100%;
      height: 180px;
      object-fit: contain;
      border-bottom: 1px solid #eee;
    }
    .gallery-item h3 {
      margin: 10px;
      color: #333;
      font-size: 16px;
    }
    .loading {
      font-size: 18px;
      color: #777;
      margin-top: 50px;
    }

    /* === Modal Slider === */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.9);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    .modal.active { display: flex; }
    .modal img {
      max-width: 90%;
      max-height: 80vh;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(255,255,255,0.2);
    }
    .modal .close, .modal .prev, .modal .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 40px;
      color: white;
      cursor: pointer;
      user-select: none;
      padding: 10px;
    }
    .modal .close {
      top: 20px;
      right: 30px;
      font-size: 45px;
      transform: none;
    }
    .modal .prev { left: 5%; }
    .modal .next { right: 5%; }
    .modal .caption {
      margin-top: 20px;
      color: #fff;
      font-size: 18px;
    }
