/* Genel stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    /* Yatay kaymayı engelle */
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    padding-top: 40px;
    /* Sayfa başında padding */
    margin: 0;
}

/* Banner içeriği */
.banner-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive Tasarım - Mobil uyumluluk */
@media (max-width: 768px) {
    .subscribe-container {
        flex-direction: column;
        /* Mobilde dikey hizalama */
        gap: 15px;
        /* Daha fazla boşluk */
    }

    input {
        width: 80%;
        /* Mobilde input genişliğini arttır */
    }

    .subscribe-btn {
        width: 80%;
        /* Mobilde butonun genişliğini arttır */
    }
}

/* Navbar Genel Ayarları */
header {
    background-color: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  .logo {
    display: flex;
    align-items: center; /* Dikey hizalama */
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 50px; /* Logo yüksekliği */
}

.brand-text {
    font-size: 20px; /* Yazı boyutu */
    font-weight: bold; /* Kalın font */
    color: #333; /* Yazı rengi */
    margin-top: -15px;
}

  /* Navbar içindeki elemanların hizalaması */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Sağ Menü (Desktop için) */
  .right-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
  }

  .right-menu ul li {
    display: inline-block;
  }

  .right-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
  }

  .right-menu ul li a:hover {
    background-color: #3498db;
    color: #fff;
  }

   /* 🔹 Hamburger Menü (Mobilde Görünecek) */
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
}

.menu-text {
    font-size: 16px;
    font-weight: bold;
    color: #333; /* Menü yazısının rengi */
    margin-bottom: 5px; /* Çizgilerle arasına boşluk bırak */
}

.line {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    border-radius: 2px;
}
  /* 🔹 Mobilde Açılır Menü */
  @media (max-width: 768px) {
    .right-menu {
      display: none;
      position: absolute;
      top: 70px;
      right: 0;
      width: 250px;
      background-color: #fff;
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
      padding: 15px;
      border-radius: 8px;
    }

    .right-menu ul {
      flex-direction: column;
      text-align: right;
    }

    .right-menu ul li {
      margin: 10px 0;
    }

    .right-menu.show {
      display: flex;
    }

    .hamburger {
      display: flex;
    }
  }
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/banner.png'); /* Resmin yolunu buraya ekleyin */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam koyu bir arka plan */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f4f4f4;
}

/* Mobilde yazı boyutlarını küçültme */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* Genel Ayarlar */
body {
    
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #fff;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

#gallery {
    padding: 20px;
    background-color: #f7f9fb;
    text-align: center;
    overflow: hidden;
    /* Taşmayı gizler */
}

.gallery-container {
    display: flex;
    flex-wrap: nowrap;
    /* Resimler sürekli olarak sıralanacak */
    animation: scroll 40s linear infinite;
    /* Sonsuz kayma animasyonu */
    width: max-content;
    /* İçeriğe göre genişlik */
}

/* Resimler arasındaki boşluğu sağlıyoruz */
.gallery-item {
    flex: 0 0 auto;
    width: 350px;
    /* Webde her bir resmin genişliği */
    margin: 0 10px;
    /* Resimler arasında boşluk */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Resimlerin başlangıçta renkli olması */
.gallery-item img {
    width: 100%;
    height: 100%;
    /* Resmin yüksekliği korunsun */
    object-fit: cover;
    /* Resimler düzgün şekilde sığacak */
    filter: grayscale(0%);
    /* Başlangıçta renkli */
    transition: filter 0.5s ease-in-out;
    /* Hover efekti için geçiş */
}

.gallery-item:hover img {
    filter: grayscale(100%);
    /* Hoverda siyah beyaz olur */
    transform: scale(1.05);
    /* Hoverda resim büyür */
}

/* Kayma Animasyonu - Sonsuz döngü efekti */
@keyframes scroll {
    0% {
        transform: translateX(0);
        /* Yatayda kayma */
    }

    100% {
        transform: translateX(-50%);
        /* Resimler soldan sağa kayacak */
    }
}

/* Mobilde Her Bir Resmin Tek Tek Yatay Kayması */
@media (max-width: 768px) {
    .gallery-container {
        display: flex;
        flex-wrap: nowrap;
        /* Resimler hala yatay sıralanacak */
        overflow-x: scroll;
        /* Yatay kayma yapılabilmesi için kaydırma */
    }

    .gallery-item-container {
        width: 280px;
        /* Mobilde resimler daha küçük olacak */
        margin: 0 15px;
        /* Resimler arasındaki boşluk artırıldı */
    }

    .gallery-item-container img {
        width: 100%;
        height: auto;
        /* Yüksekliği otomatik yapıyoruz */
        object-fit: cover;
        /* Resimler düzgün bir şekilde sığacak */
    }

    .gallery-container::-webkit-scrollbar {
        height: 8px;
        /* Kaydırıcıyı daha ince yapalım */
    }

    .gallery-container::-webkit-scrollbar-thumb {
        background: #888;
        /* Kaydırıcı rengi */
        border-radius: 4px;
    }

    .gallery-container::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

/* Çok küçük ekranlar için (örn. telefonlar) */
@media (max-width: 480px) {
    .gallery-item-container {
        width: 240px;
        /* Daha küçük ekranlarda resim boyutunu küçültüyoruz */
        margin: 0 10px;
        /* Daha küçük resimler arasındaki boşluk */
    }
}

/* Servis Bölümü */
#services {
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    background-color: #f4f2ea;
    text-align: center;
}

#services h1 {
    font-size: 3rem;
    color: #bc2405;
    margin-bottom: 20px;
    text-align: center;

}

#services h2 {
    font-size: 3rem;
    color: #2e2d2d;
    margin-bottom: 20px;
    text-align: center;
  
}

#services p {
    font-size: 1.5rem;
    color: #0b0b0b;
    margin-bottom: 40px;
    line-height: 1.8; /* Satırlar arası boşluk */
}


/* Service Kartları */
.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-family: 'Arial', sans-serif;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #f5f5f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 30%;
    font-family: 'Arial', sans-serif;
    /* Kart genişliğini %30 yaparak 3 kartı yatayda sıralar */
    transition: transform 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Gölgeleme ve büyüme animasyonu */
    margin-bottom: 20px;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.1) rotate(5deg);
    /* Büyüme ve hafif döndürme */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /* Gölgeleme daha belirgin */
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-out;
    /* Resim animasyonu */
}

.service-card:hover img {
    transform: rotate(360deg);
    /* Resim hover sırasında dönecek */
}

.service-card h3 {
    font-size: 1.5rem;
    color: #d61111;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    /* Başlık rengi animasyonu */
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-card a {
    color: #d61111;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
    /* Bağlantı rengini değiştirme */
}

.service-card a:hover {
    color: #FF6347;
    /* Bağlantı hover rengi */
    text-decoration: underline;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
        /* Kartları mobilde ortalar */
    }

    .service-card {
        width: 80%;
        /* Kartları mobilde daha geniş yapar */
    }
}

/* Modal Arka Plan */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Yarı şeffaf siyah arka plan */
}

/* Modal İçerik */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

/* Kapatma Düğmesi */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Mobilde Modal İçerik */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        /* Mobilde modal genişliği */
        margin: 20% auto;
        padding: 15px;
        font-size: 0.9rem;
        /* Yazı boyutunu küçült */
    }

    .close {
        font-size: 24px;
        /* Kapatma butonunun boyutunu küçült */
    }
}
/* İlerleme Çubuğu */
.progress-bar {
    margin: 20px 0;
    font-size: 1.2rem;
    text-align: center;
}

.progress-bar .progress {
    width: 50%;
    height: 10px;
    background-color: #4CAF50; /* Yeşil renk */
    border-radius: 5px;
}

/* Kart Arka Yüzünde Yeni Bilgiler */
.card-back p {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 10px 10px;
}

/* Kartlar Hover Efekti */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Genel Stil */
#sustainability {
    text-align: center;
    padding: 50px 0;
}

#sustainability h2 {
    font-size: 2rem;
    color: #fef9f9;
    font-weight: 700;
    margin-bottom: 20px;
}

#sustainability p {
    font-size: 1.2rem;
    color: #bebcbc;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Görsel Satırı */
.image-row {
    display: flex;
    justify-content: space-around; /* Görselleri yatayda yaymak */
    gap: 20px;
    margin-top: 30px;
}

.image-item {
    text-align: center;
    width: 30%; /* Her bir görselin genişliği */
    transition: transform 0.3s ease;
}

.image-item img {
    width: 100%; /* Genişlik %100 */
    height: 300px; /* Tüm resimleri aynı yükseklikte yapıyoruz */
    object-fit: cover; /* Görselin boyutunu orantılı şekilde kesiyoruz */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-item p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #c9c9c9;
}

/* Hover Efekti */
.image-item:hover {
    transform: scale(1.05); /* Kart büyür */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Daha belirgin gölge */
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    /* Başlık ve Açıklama */
    #sustainability h2 {
        font-size: 1.8rem;
    }

    #sustainability p {
        font-size: 1rem;
    }

    /* Görsel Satırı */
    .image-row {
        flex-direction: column; /* Mobilde görselleri dikey yerleştir */
        align-items: center; /* Görselleri ortalayalım */
    }

    .image-item {
        width: 90%; /* Görsellerin genişliğini mobilde %90 yapıyoruz */
        margin-bottom: 30px;
    }

    .image-item img {
        height: 200px; /* Görsellerin boyutunu küçültüyoruz */
    }

    .image-item p {
        font-size: 1rem; /* Mobilde metin boyutunu küçültüyoruz */
    }
}

/* Tablet Uyumluluğu */
@media (max-width: 1024px) {
    .image-row {
        flex-direction: row; /* Tabletde görselleri yan yana yerleştir */
    }

    .image-item {
        width: 30%;
    }
}

/* İlerleme Çubuğu */
.progress-container {
    text-align: center;
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #4CAF50; /* Yeşil renk */
    width: 60%; /* Yüzdeyi dinamik olarak değiştirebilirsiniz */
    border-radius: 10px;
}
/* Google Fonts - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
/* Başarı Hikayeleri */
#success-stories {
    padding: 40px 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#success-stories h3 {
    text-align: center;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}

.story-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolonlu grid yapısı */
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px; /* Kartlar arasında boşluk */
}

.story {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-image {
    width: 100%;
    height: auto;
    max-width: 250px; /* Resimlerin boyutunu sınırlıyoruz */
    margin-bottom: 15px;
    border-radius: 8px;
}

.story h4 {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.story p {
    font-size: 1rem;
    font-family: "Arial", sans-serif;
    color: #0b0b0b;
    line-height: 1.8; 
}
.project-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.project-link:hover {
    text-decoration: underline;
}

.more-info {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .story-container {
        grid-template-columns: repeat(2, 1fr); /* Tablet ekranlarında 2 kolonlu düzen */
    }
}

@media (max-width: 768px) {
    .story-container {
        grid-template-columns: 1fr; /* Mobilde tek kolonlu düzen */
    }
}
#footer {
    background-color: #3f0f3d; /* Dark Purple */
    color: #fff; /* White text */
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h2 {
    font-size: 24px;
    color: #fff; /* White color for company name */
    margin-bottom: 20px;
    text-decoration: none; /* Ensure no underline */
}

.footer-left p, .footer-left h3 {
    margin: 0;
    font-size: 14px;
    color: #ccc; /* Light grey for secondary text */
}

.footer-left a {
    color: #fff; /* White color for links */
    text-decoration: none;
    font-size: 14px;
}

.footer-left a:hover {
    color: #007bff; /* Blue on hover for links */
}

.footer-social a {
    color: #fff; /* White for social media icons */
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff; /* Blue on hover for social media icons */
}

footer h5 {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: #aaa; /* Light grey */
}
#consultation-request {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

#consultation-request h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

#consultation-request p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

#consultation-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

.thank-you-message {
    background-color: #e9f7e9;
    padding: 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-top: 30px;
}

.thank-you-message h3 {
    color: #4CAF50;
}

@media screen and (max-width: 768px) {
    #consultation-form {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    button[type="submit"] {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
/* Sidebar styling */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Initially hidden offscreen */
    width: 250px;
    height: auto; /* Height based on content */
    background-color: #fcf9f9;
    color: #1e1d1d;
    transition: 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto; /* Allow scrolling if the content exceeds the height */
  }

  .sidebar ul {
    list-style-type: none;
    padding: 0;
  }

  .sidebar ul li {
    margin: 20px 0;
  }

  .sidebar ul li a {
    color: rgb(14, 14, 14);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
  }

  .sidebar ul li a:hover {
    background-color: #f7a1a1;
    padding: 10px;
  }

  /* 🔹 Sidebar Genel Stili */
  .sidebar {
    position: fixed;
    padding-top: 60px; /* Header yüksekliği kadar boşluk bırak */
    left: -260px; /* Varsayılan olarak gizli */
    width: 260px;
    height: 100%;
    background: linear-gradient(
      135deg,
      #2c3e50,
      #34495e
    ); /* Daha şık degrade */
    color: white;
    transition: left 0.4s ease-in-out;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto; /* İçerik fazla olursa kaydırma */
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.5);
  }

  /* 🔹 Sidebar Açılınca */
  #sidebar-left.open {
    left: 0; /* Açılınca ekranın soluna gelir */
  }

  /* 🔹 Sidebar İçerik */
  .sidebar ul {
    list-style-type: none;
    padding: 0;
    margin-top: 50px;
  }

  .sidebar ul li {
    margin: 15px 0;
  }

  .sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 10px;
    transition: background 0.3s ease-in-out;
    border-radius: 5px;
  }

  .sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* 🔹 Sidebar Kapat Butonu */
  .close-btn {
    font-size: 30px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
  }

  /* 🔹 Sidebar Açma Butonu */
  .sidebar-toggle {
    position: fixed;
     top: 80px; /* Butonu aşağı kaydır */
  
    left: 20px;
    z-index: 1001;
  }

  .sidebar-toggle button {
    font-size: 18px;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    transition: background 0.3s ease-in-out;
  }

  .sidebar-toggle button:hover {
    background-color: #2bd033;
  }

  /* 🔹 Mobil Uyum */
  @media screen and (max-width: 768px) {
    .sidebar {
      width: 220px;
    }

    .sidebar-toggle button {
      font-size: 16px;
      padding: 10px 15px;
    }
  }

  /* Ensure the sidebar opens correctly */
  body {
    padding-top: 100px; /* Adjust this value based on the height of the sticky buttons */
  }