/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Tüm öğelerde box-sizing ayarlandı */
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Yatay kaymayı engelle */
    font-family: 'Arial', sans-serif;

    padding-top: 40px; /* Sayfa başında padding */
    margin: 0;
}

#our-services {
    padding: 10px;
    background-color: #f7f9fb; /* Arka plan rengi */
}

/* 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;
    }
  }

/* Footer Genel Ayarlar */
/* Genel Footer Stili */
.footer {
    background: linear-gradient(135deg, #3f0f3d, #5a0f5d); /* Daha modern mor degrade */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    bottom: 0;
    left: 0;
}

/* Footer Konteyner */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Footer Sol Bölüm */
.footer-left {
    text-align: left;
    flex: 1;
}

.footer-left h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 14px;
    color: #ccc;
    margin: 5px 0;
}

.footer-left a {
    color: #00C8FF;
    text-decoration: none;
    font-weight: bold;
}

.footer-left a:hover {
    color: #33FF00;
}

/* Sosyal Medya Linkleri */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.footer-social a:hover {
    color: #00C8FF;
}

/* Adres Stili */
.footer-address {
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        text-align: center;
    }

    .footer-social {
        margin-top: 10px;
        justify-content: center;
    }
}

/* Banner ve Video */
#banner {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}
/* 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;
        top: 0;
        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;
        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: 60px; /* Adjust this value based on the height of the sticky buttons */
      }
.carousel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: rgb(174, 237, 14);
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 10;
    white-space: nowrap;
}

.typing-effect {
    display: inline-block;
    overflow: hidden;
    border-right: .15em solid #26f306;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3s steps(30) 1s 1 normal both, blinkCaret .75s step-end infinite;
}

/* Animasyonları tanımlıyoruz */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkCaret {
    50% {
        border-color: transparent;
    }
}

/* Mobil uyumlu */
@media (max-width: 768px) {
    #banner {
        height: 300px;
    }

    .carousel-caption {
        font-size: 1.5rem;
    }
}
/* Terminal Genel Ayarları */
/* Terminal Bölümü + Başlık */
#terminal-section {
    background: #0e1117;
    padding: 50px 20px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 900px;
    text-align: center;
}

/* Başlık ve Açıklamalar */
.terminal-info {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.terminal-heading {
    font-size: 2.2rem;
    font-weight: bold;
    color: #33FF00;
    text-transform: uppercase;
    margin-bottom: 15px;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.terminal-description {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Terminal Penceresi */
#terminal {
    background-color: #000;
    border: 2px solid #33FF00;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    color: #33FF00;
    text-align: left;
    font-family: "Courier New", monospace;
    height: 300px;
    overflow-y: auto;
    position: relative;
}

/* Terminal Çıktıları */
#output {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Terminal Input */
input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    background-color: #111;
    color: #33FF00;
    border: none;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
    border: 2px solid transparent;
    transition: 0.3s ease-in-out;
}

input:focus {
    border: 2px solid #33FF00;
    box-shadow: 0 0 10px #33FF00;
}

/* Mobil Uyumlu Tasarım */
@media (max-width: 768px) {
    #terminal-section {
        width: 95%;
        padding: 30px;
    }
    
    .terminal-heading {
        font-size: 1.5rem;
    }

    .terminal-description {
        font-size: 1rem;
    }

    #terminal {
        height: 250px;
    }
}

/* Genel Stil */
.languages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-top: 30px;
}

/* Languages Info Container */
.languages-info {
    margin-bottom: 40px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(45deg, #4e73df, #1cc88a);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Heading Style */
.languages-info h2 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Paragraph Style */
.languages-info p {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-style: italic;
    font-weight: lighter;
    color: #f1f1f1;
}

/* Kart için temel stil */
.language-card {
    background-color: #0b0b0b;
    padding: 25px;
    border-radius: 12px;
    width: 250px;
    height: 380px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

.language-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.language-icon img {
    width: 100px;
    height: 80px;
    margin-top: 15px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 50%;
}

.language-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.language-card p {
    font-size: 0.9rem;
    color: #f7f6f6;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 🔹 Progress Bar (Arkaplan) */
.progress-bar {
    width: 100%;
    background-color: #222;  /* Daha koyu bir arkaplan */
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.3);
}

/* 🔹 Progress Dolum Alanı */
.progress {
    height: 100%;
    background: linear-gradient(90deg, #33FF00, #00C8FF); /* Yeşil-Mavi geçiş */
    border-radius: 10px;
    width: 0%; /* Başlangıçta boş */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.8s ease-in-out;
}

/* 🔹 Progress Metni (% Değerleri) */
.progress .progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 0.85rem;
    color: #fff; /* Beyaz renk */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 🔹 Mobilde Daha İyi Görünüm */
@media (max-width: 768px) {
    .progress-bar {
        height: 18px;
    }

    .progress .progress-text {
        font-size: 0.75rem;
    }
}

.usage {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #bbb;
}

.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-back {
    background-color: #333;
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
}

.card-back p {
    font-size: 1.1rem;
    color: #f7f6f6;
    line-height: 1.6;
    margin-bottom: 25px;
}

.language-card.flipped .card-front {
    transform: rotateY(180deg);
}

.language-card.flipped .card-back {
    transform: rotateY(0deg);
}

.view-front {
    position: absolute;
    bottom: 10px;
    font-size: 0.8rem;
    color: #fff;
    background-color: #1cc88a;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.view-front:hover {
    background-color: #17a673;
}

@media (max-width: 768px) {
    .languages-container {
        flex-direction: column;
        align-items: center;
    }

    .language-card {
        width: 80%;
        margin-bottom: 20px;
    }
}
