@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100");

body {
  font-family: "Roboto", helvetica, arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   6 Kutulu Bölüm
========================================================= */
   .my-spec-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Lato, sans-serif;
  }
  
  .my-spec-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: auto;
    gap: 30px;
    align-items: stretch;
    justify-items: stretch;
  }
  
  .my-spec-box {
    background-color: #EDEDf4;
    color: #101925;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    align-items: center; 
    gap: 45px;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    min-height: 125px;
  }
  
  .my-spec-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px; 
    height: 55px;
  }

  .icon.cpu   { flex:0 0 70px; width:88px; height:88px; }
  .icon.ram   { flex:0 0 92px; width:92px; height:92px; }
  .icon.ssd   { flex:0 0 85px; width:85px; height:85px; }
  .icon.raid  { flex:0 0 80px; width:80px; height:80px; }
  .icon.net   { flex:0 0 80px; width:80px; height:80px; }
  .icon.power { flex:0 0 88px; width:88px; height:88px; }
  
  
  .my-spec-box:hover {
    background-color: #101925;
    color: #EDEDf4;
  }
  
  .my-spec-box:hover .icon img,
  .my-spec-box:hover .icon svg {
    filter: brightness(0) invert(1);
  }
  
  .text-wrapper {
    display: flex;
    flex-direction: column;
    align-self: flex-start; 
  }
  
  .my-spec-box .title {
    margin: 0 0 4px 0;  
    font-size: 16px;
    font-weight: 400;
  }
  
  .my-spec-box .value {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
  }
  
  @media (max-width: 768px) {
    /* Tablo ile ilgili mevcut responsive düzenlemeler */
    .table-fill th, 
    .table-fill td {
      font-size: 12px;
      padding: 10px;
    }
    
    .row-27, .row-42, .row-20 {
      height: auto !important;
    }
    
    .table-image {
      margin-left: 0;
    }
    
    .col-18 {
      width: 31.5833%;
    }
    
    /* 6 kutulu bölümü mobil düzenlemesi */
    .my-spec-row {
      grid-template-columns: 1fr;  
      gap: 20px;
    }
    
    .my-spec-box {
      flex-direction: row;           
      align-items: center;
      justify-content: flex-start;
      text-align: left;
      padding: 20px 15px;
      gap: 15px;
    }
    
    .my-spec-box .icon {
      width: 40px;
      height: 40px;
    }

   
    
    .my-spec-box .icon svg {
      width: 100%;
      max-width: 40px;
      height: auto;
    }
    
    .my-spec-box .title {
      font-size: 15px;
    }
    
    .my-spec-box .value {
      font-size: 18px;
    }
    
    .text-wrapper {
      margin-top: 0;
    }
    
    /* Detaylı bilgi (tabloda sağdaki SVG ikon) mobilde gizleme */
    .table-svg-icon {
      display: none;
    }
  }
  

/* =========================================================
   Detaylı Bilgi (Tablo) Bölümü
========================================================= */
.my-spec-container {
    position: relative;
  }

.table-svg-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 230px; 
    height: auto; 
    z-index:1;
 }

div.table-title {
  display: block;
  margin: auto;
  max-width: 1500px;
  padding: 5px;
  width: 100%;
}

.table-title h3 {
  color: #fafafa;
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  font-family: "Roboto", helvetica, arial, sans-serif;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

/* Temel tablo stilleri */
.table-fill {
  background: white;
  border-radius: 3px;
  border-collapse: collapse;
  height: 320px;
  margin: auto;
  max-width: 1200px;
  padding: 5px;
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  animation: float 5s infinite;
}

th {
  color: #fdfdfdfd;
  background: #101925;
  border-bottom: 3px solid #6c7a89;
  border-right: 1px solid #343a45;
  font-size: 23px;
  font-weight: 100;
  padding: 24px;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align: middle;
}

th:first-child {
  border-top-left-radius: 3px;
}

th:last-child {
  border-top-right-radius: 3px;
  border-right: none;
}

tr {
  border-top: 1px solid #C1C3D1;
  border-bottom: 1px solid #C1C3D1;
  color: #101925;
  font-size: 16px;
  font-weight: normal;
  text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
}

tr:hover td {
  background: #0d1d33;
  color: #FFFFFF;
  border-top: 1px solid #22262e;
}

tr:first-child {
  border-top: none;
}

tr:last-child {
  border-bottom: none;
}

tr:nth-child(odd) td {
  background: #ededf4;
}

tr:nth-child(odd):hover td {
  background: #0d1d33;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 3px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 3px;
}

td {
  background: #fdfdfd;
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  font-weight: 300;
  font-size: 18px;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
  border-right: 1px solid #C1C3D1;
}

td:last-child {
  border-right: 0;
}

th.text-left,
td.text-left {
  text-align: left;
}

th.text-center,
td.text-center {
  text-align: center;
}

th.text-right,
td.text-right {
  text-align: right;
}

.table-custom {
  width: 100%;
  max-width: 1400px;
  height: 194px; 
}

.table-responsive {
  overflow-x: auto;
  width: 100%;
}

.col-18 {
  width: 18.5833%;
}
.col-81 {
  width: 81.4167%;
}

.row-27 {
  height: 27px;
}
.row-42 {
  height: 42px;
}
.row-20 {
  height: 20px;
}

.table-image {
  margin-left: 480px;
  width: 93px;
  display: inline-block;
  vertical-align: middle;
}

/* =========================================================
   Responsive Düzenlemeler
   ========================================================= */
@media (max-width: 768px) {
  .table-fill th, 
  .table-fill td {
    font-size: 12px;
    padding: 10px;
  }
  
  .row-27, .row-42, .row-20 {
    height: auto !important;
  }
  
  .table-image {
    margin-left: 0;
  }
  .col-18 {
    width: 31.5833%;
  }
}
