/* =======================================================
   HİZMETLERİM SAYFASI - ANA YAPI
   ======================================================= */

.services-hosting {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* --- Başlık (Syntax Header) --- */
.hosting-header {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
}

.hosting-main-title {
  font-family: "Ubuntu Mono", monospace;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: -1px;
}

/* Syntax Renkleri (Başlıklar için) */
.code-keyword {
  color: #c678dd;
}
.code-bracket {
  color: #abb2bf;
}
.code-var {
  color: #e06c75;
}

/* =======================================================
   HOSTING KART TASARIMI
   ======================================================= */

.hosting-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.hosting-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.hosting-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(45, 212, 191, 0.1);
}

/* --- Kart İçi Bölümler --- */
.host-name,
.host-aciklama,
.host-table,
.fiyat-table,
.toplam-fiyat {
  margin-bottom: 1.5rem;
}

/* --- 1. İsim & Açıklama --- */
.host-name h2 {
  font-family: "Ubuntu Mono", monospace;
  color: var(--accent);
  font-size: 1.5rem;
  margin: 0;
  border-bottom: 1px solid var(--bg-border);
  padding-bottom: 1rem;
}

.host-name h2 small {
  color: #98c379; /* Yeşil */
  font-size: 0.9rem;
}

.host-aciklama p {
  color: rgb(224, 255, 255); /* Light cyan, almost white */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0;
  text-shadow: 0 0 5px rgba(45, 212, 191, 0.4); /* Subtle turquoise glow */
}

/* --- 2. Özellikler Tablosu --- */
.host-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.host-table li {
  color: var(--text-main);
  font-size: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.host-table li:before {
  content: "\f00c"; /* Font Awesome Check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #27c93f; /* Yeşil */
  font-size: 0.9rem;
}

.host-table li small {
  color: var(--text-muted);
  margin-left: auto;
  font-style: italic;
}

/* --- 3. Fiyat Tablosu --- */
.fiyat-table {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 8px;
  padding: 1rem;
}
.hizmet-fiyat-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 15px;
  font-size: 0.9rem;
}

.hizmet-fiyat-container .badge {
  grid-column: 1 / 2;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--bg-main);
}
.hizmet-fiyat-container .dahil {
  background-color: var(--accent);
}
.hizmet-fiyat-container .opsiyonel {
  background-color: #ffbd2e; /* Sarı */
}

.hizmet-tür {
  grid-column: 2 / 3;
  color: rgb(224, 255, 255); /* Light cyan, almost white */
  font-weight: 500;
  text-shadow: 0 0 5px rgba(45, 212, 191, 0.4); /* Subtle turquoise glow */
}
.hizmet-fiyat {
  grid-column: 3 / 4;
  font-family: "Ubuntu Mono", monospace;
  font-weight: bold;
  color: #fff;
  justify-self: end;
}
.kdv-alani {
  grid-column: 2 / 4;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -8px;
  justify-self: end;
}
.kdv-alani strong {
  color: #e06c75; /* Kırmızı */
}

/* --- 4. Toplam Fiyat --- */
.toplam-fiyat {
  margin-top: auto; /* Kartın en altına iter */
  padding-top: 1.5rem;
  border-top: 2px dashed var(--bg-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.total-price-box {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-border);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 1rem;
}

.total-price-box.optional-box {
  border-left-color: #ffbd2e; /* Sarı */
}

.total-price-box.notice {
  border-left-color: #56b6c2; /* Mavi/Gri - Bilgi */
  background-color: transparent;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bg-border);
}

.total-price-box .not small {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.total-price-box .fiyat-baslik {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.total-price-box .fiyat {
  font-family: "Ubuntu Mono", monospace;
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.total-price-box.optional-box .fiyat {
  color: #ffbd2e;
}

.total-price-box .fiyat i {
  font-size: 1.5rem;
}

.total-price-box .tekrar {
  display: block;
  font-size: 0.85rem;
  color: #e06c75;
}

.total-price-box .tekrar small {
  color: var(--text-muted);
}

/* --- 5. İletişim Alanı --- */
.iletisime-gec {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.iletisim-baslik {
  font-family: "Ubuntu Mono", monospace;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.iletisime-gec .ikon-container {
  display: flex;
  gap: 0.75rem;
}

.iletisime-gec .ikon {
  color: var(--text-muted);
  font-size: 1.6rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.iletisime-gec .ikon:hover {
  color: var(--accent);
  transform: scale(1.2);
  background-color: rgba(45, 212, 191, 0.1);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.2);
}

/* =======================================================
   SERVİS MODÜLLERİ SECTİON
   ======================================================= */

.services-modules {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.modules-header {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
}

.modules-main-title {
  font-family: "Ubuntu Mono", monospace;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: -1px;
}

.modules-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.modules-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.modules-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(45, 212, 191, 0.1);
}

.module-name {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
  width: 100%;
}

.module-name h2 {
  font-family: "Ubuntu Mono", monospace;
  color: #c678dd; /* Syntax Purple */
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.module-ikon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  height: 80px;
  width: 100%;
}

.module-ikon i {
  font-size: 3.5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.3));
}

.module-aciklama {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.module-aciklama p {
  color: #94a3b8; /* Muted text */
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

.module-fiyat {
  background: rgba(15, 23, 42, 0.5); /* Koyu zemin */
  padding: 0.8rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.modules-card:hover .module-fiyat {
  border-color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
}

.module-fiyat p {
  font-family: "Ubuntu Mono", monospace;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0;
}

.module-fiyat .fiyat-aciklama small {
  color: #e06c75; /* Kırmızı */
  font-size: 0.8rem;
}

/* =======================================================
   SERVİS FONKSİYONLARI SECTİON
   ======================================================= */

.services-functions {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.functions-header {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
}

.functions-main-title {
  font-family: "Ubuntu Mono", monospace;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: -1px;
}

.functions-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.function-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.function-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(45, 212, 191, 0.1);
}

.function-title {
  margin-bottom: 0.5rem; /* Reduced margin */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
  width: 100%;
}

.function-title h2 {
  font-family: "Ubuntu Mono", monospace;
  color: #c678dd; /* Syntax Purple */
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.function-name {
  font-family: "Ubuntu Mono", monospace;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.4rem;
}

.function-name .function-start {
  color: var(--kw);
  opacity: 0.7;
}
.function-name .function-body {
  color: var(--obj);
  opacity: 0.7;
}
.function-name .function-end {
  color: var(--semi);
  opacity: 0.7;
}

.function-ikon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  height: 80px;
  width: 100%;
}

.function-ikon .ikonf {
  font-size: 3.5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.3));
}
.function-ikon .ikonf i {
  font-size: 3.5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.3));
}

.function-desc {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.function-desc p {
  color: #94a3b8; /* Muted text */
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

.function-price {
  background: rgba(15, 23, 42, 0.5); /* Koyu zemin */
  padding: 0.8rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.function-card:hover .function-price {
  border-color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
}

.function-price p {
  font-family: "Ubuntu Mono", monospace;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0;
}
.function-card .iletisime-gec {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* =======================================================
   MOBİL UYUMLULUK (MEDIA QUERIES)
   ======================================================= */

/* --- TABLET (992px ve altı) --- */
@media (max-width: 992px) {
  .hosting-card-wrapper,
  .modules-card-wrapper,
  .functions-card-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .hosting-main-title,
  .modules-main-title,
  .functions-main-title {
    font-size: 1.6rem;
  }
}

/* --- KÜÇÜK TABLET & BÜYÜK TELEFON (768px ve altı) --- */
@media (max-width: 768px) {
  .services-hosting,
  .services-modules,
  .services-functions {
    padding: 3rem 1rem;
  }

  .hosting-card-wrapper,
  .modules-card-wrapper,
  .functions-card-wrapper {
    grid-template-columns: 1fr; /* Tek sütun */
  }

  .hosting-main-title,
  .modules-main-title,
  .functions-main-title {
    font-size: 1.4rem;
  }

  .hosting-card {
    padding: 1.5rem;
  }

  .host-name h2 {
    font-size: 1.3rem;
  }

  .total-price-box .fiyat {
    font-size: 1.8rem;
  }
}

/* --- MOBİL TELEFON (576px ve altı) --- */
@media (max-width: 576px) {
  .services-hosting,
  .services-modules,
  .services-functions {
    padding: 2rem 1rem;
  }

  .hosting-header,
  .modules-header,
  .functions-header {
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .hosting-card,
  .modules-card,
  .function-card {
    padding: 1.25rem;
  }

  .host-name h2,
  .module-name h2,
  .function-title h2 {
    font-size: 1.1rem;
  }

  .module-ikon i,
  .function-ikon .ikonf,
  .function-ikon .ikonf i {
    font-size: 3rem;
  }

  .total-price-box .fiyat {
    font-size: 1.6rem;
  }

  .module-fiyat p,
  .function-price p {
    font-size: 1.3rem;
  }

  .hizmet-fiyat-container {
    font-size: 0.85rem;
  }
}

/* --- Call Back Button --- */
.call-back-btn {
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  margin: 4rem 0;
}

.call-back-btn a {
  background-color: var(--accent);
  color: var(--bg-main);
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.4);
}

.call-back-btn a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.6);
}
