body {
  margin: 0;
  padding: 0;
  font-family: "Work Sans", sans-serif;
  background: #f8f9fa;
}

.main-title {
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 117%;
  letter-spacing: 0%;
  color: #2f3da2;
}

.main-subtitle {
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-style: Light;
  font-size: 25px;
  line-height: 131%;
  letter-spacing: 0%;
  text-align: center;
}

.text-general-title {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 117%;
  letter-spacing: 0%;
  text-align: center;
  color: #2f3da2;
}
.inner-div-grad {
  width: 295px;
  height: 272px;
  border-radius: 8px;
  background: #F9F9F9;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin-top: -45px;
  box-shadow: 0px 4px 7px 5px rgba(0, 0, 0, 0.25);
}
.outer-div-grad {
      box-shadow: 0px 4px 7px 5px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 346px;
  border-radius: 24px;
  height: 247px;
  background: linear-gradient(
    90deg,
    rgba(61, 48, 160, 1) 0%,
    rgba(155, 153, 205, 1) 50%,
    rgba(253, 253, 254, 1) 100%
  );
}
.inner-box{
width: 682px;
    height: 412px;
    border-radius: 60px;
    background-color: #2f3da2;
    align-items: center;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 50px;
}
.inner-box h2{
font-size: 40px;
}
.inner-box ul li{
 font-size: 20px;
}
.container img {
  max-height: 160px;
  object-fit: contain;
}
.api-ent{
      min-height: 50em;
    align-items: center;
    justify-content: center;
    display: flex
;
    flex-direction: column;
    gap: 1em;
}
.contact-details{
  font-size: 20px !important;
}

h3 a {
  text-decoration: none;
  color: #ffffff;
}

ul {
  margin: 0 auto 1rem;
  padding-left: 1.2rem;
  text-align: left;
}
.text-fix-center{
  display: flex;
  flex-direction: row;
justify-content: space-between;
}
.mb-4{
  margin-bottom: 40px;
}
.blue-div{
  display: flex;
  flex-direction: column;
  color: white;
  background-color: #2f3da2;
  border-radius: 7px;
  max-width: 300px;
  padding: 40px;
  padding-top: 20px;
  gap: 12px;
}
.subtitle-api{
 margin-bottom: 5em
}
.text-general {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 117%;
  letter-spacing: 0%;
  text-align: justify;
}
.schematic-img{
  width: 100% !important;
  max-height: 100% !important;
}
.main-img {
  width: 195px;
  height: auto;
}
.col-md-12{
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    margin-top: 8em;
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  background: #2f3da2;
  color: #fff;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar .logo {
    width: 100%;
    height: 10em;
    background-color: #f8f9fa;
    padding: 1em;
    margin-top: -3em;
}

.sidebar .logo img {
  max-width: 200px;
  margin-top: 3em;
}

.sidebar nav {
  width: 100%;
  margin-top: 45%;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar nav ul li {
  width: 100%;
}

nav {
  background: #2f3da2;
  color: #fff;
}
th, td{
  border-color: #777DFD;
}

th{
  background-color: #2F3CA3;
  color: #fff;
}
td{
  color: black;
}
.pre-code{
  background-color: #2F3CA3;
  color: #fff;
}
.sidebar nav ul li a {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background 0.2s;
  color: #fff;
}
.tab{
  background-color: #2d237b;
  color: white;
  font-size: 25px;
}
.tab button.active{
    background-color: #3b2d9f;
}
.sidebar nav ul li a.active,
.sidebar nav ul li a:hover {
  background: #f8f9fa;
  color: #362a73;
}
.pre-example{
  background-color: #3b2d9f;
  color: white;
  border-color: 1px solid #3b2d9f;
}
.main-content {
  margin-left: 250px;
    padding: 40px 0px 30px 0px;
  min-height: 100vh;
}

.section-content {
  display: none !important;
}

.section-content.active {
  display: block !important;
}

html {
  scroll-behavior: smooth;
}

.descriptive-text {
  font-size: 17px;
}

.head-main {
  padding: 20px 20px 20px 20px;
  gap: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  min-height: 50em;
}

.color-blue {
  color: #2F3CA3 !important;
}
.w-fix-100{
  width: 100%;
}

.image-container img {
  width: 100%;
  height: auto;
}

#sidebar-toggle {
    display: none;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 1100;
    background: transparent;
    border: none;
    color: #2f3da2;
    font-size: 26px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
}

/* Copy button styles */
pre {
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
    border-color: #2F3CA3;
    font-size: 15px;
}

pre.copied {
  background-color: #777efd40 !important;
  color: #6C6C6C !important;
  border-color: #2F3CA3;
}

pre::after {
  content: "Kopyala";
  position: absolute;
  top: 6px;
  right: 10px;
  background: #2f3da2;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

pre:hover::after {
  opacity: 1;
}

pre.copied::after {
  content: "Kopyalandı!";
  background: #27ae60;
  opacity: 1;
}
/* API Kartı Stili */
        .api-card {
            background-color: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            padding: 20px;
        }

        .api-card:hover {
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
        }

        /* API Adı ve İşlevi */
        .api-header {
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #ccc;
        }

        .api-name {
            font-size: 1.5em;
            font-weight: 700;
            color: #059669;
        }

        .api-endpoint {
            font-family: 'Consolas', 'Monaco', monospace;
            background-color: #e0f2f1;
            /* Açık yeşil arka plan */
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.9em;
            color: #00796b;
            margin-left: 10px;
        }

        .api-function {
            font-style: italic;
            color: #555;
            margin-top: 10px;
        }

        /* İçerik Bölümleri (Model ve Output) */
        .content-section {
            display: flex;
            gap: 20px;
        }

        .content-block {
            flex: 1;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #fafafa;
        }

        .content-block h3 {
            margin-top: 0;
            color: #1e3a8a;
            font-size: 1.1em;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
            margin-bottom: 10px;
        }

        .json-code {
            background-color: #2F3CA3;
            /* Koyu tema */
            color: #f8f8f2;
            padding: 10px;
            border-radius: 4px;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
            line-height: 1.4;
            white-space: pre;
            /* JSON formatını korur */
        }

        /* Örnek Çıktı için varsayılan JSON */
        .placeholder-output {
            color: #999;
            font-style: italic;
        }
@media (max-width: 1024px) {
  #home{
        width: 100%;
  }
    .main-title{
    font-size: 40px;
  }
  .main-subtitle{
    font-size: 20px;
  }
.head-main {
  gap: 1em;
}
.text-fix-center{
  gap: 1em;
}
.res-fix-mb{
      display: flex;
    gap: 3em;
}
}
/* Small screen styles for sidebar and toggle */
@media (max-width: 800px) {
  #home{
    padding: 20px 20px 130px 20px;
  }
  #sidebar-toggle {
    display: block;
    /* show toggle button */
  }
.head-main {
  gap: 1em;
}
  .sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    /* hide sidebar initially */
    width: 250px;
    height: 100vh;
    background: #2f3da2;
    color: #fff;
    padding-top: 30px;
    transition: left 0.3s ease;
    z-index: 1050;
  }

  .sidebar.open {
    left: 0;
    /* slide in */
  }

  .main-content {
    margin-left: 0 !important;
    padding: 20px 0px 10px 10px;
  }

  /* Optional: dark overlay when sidebar open */
  body.sidebar-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    pointer-events: auto;
  }
  .main-title{
    font-size: 30px;
  }
  .main-subtitle{
    font-size: 18px;
  }
}
