*{
  box-sizing:border-box;
}

/* ================= BASE ================= */
body{
  margin:0;
  font-family:Arial, system-ui, sans-serif;
  background:#0b1225;
  color:#e5e7eb;
}

/* ================= NAV ================= */
nav{
  background:#020617;
  padding:10px;
  text-align:center;
}
nav a{
  color:#38bdf8;
  margin:0 8px;
  text-decoration:none;
  display:inline-block;
  padding:6px 8px;
  border-radius:6px;
}

/* ================= HEADER ================= */
header{
  text-align:center;
  padding:40px 20px;
}
header img{
  max-width:140px;
  height:auto;
}
header h1{
  margin:14px 0 6px;
}
header p{
  color:#94a3af;
}

/* ================= SECTIONS ================= */
section{
  max-width:1100px;
  margin:60px auto;
  padding:0 20px;
}
section h2{
  margin-bottom:16px;
}

/* ================= EMBEDS ================= */
iframe{
  width:100%;
  height:360px;
  border:0;
  margin:20px 0;
  border-radius:12px;
}

/* ================= GALLERY ================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}
.gallery img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:12px;
  background:#020617;
}

/* ================= PRICE TABLE (DESKTOP STABLE) ================= */
.table-wrap{
  width:100%;
  overflow:visible;
}

table{
  width:100%;
  border-collapse:collapse;
}

th, td{
  padding:12px;
  border-bottom:1px solid #334155;
  text-align:left;
  font-variant-numeric:tabular-nums;
}

th{
  font-size:14px;
}

/* ================= MOBILE ONLY ================= */
@media (max-width: 768px){

  /* Mobile nav */
  nav{
    padding:12px;
  }
  nav a{
    display:block;
    margin:6px 0;
    padding:12px 0;
    font-size:15px;
  }

  /* Scroll hint */
  html[lang="tr"] .table-wrap::before{ content:"← Sağa kaydır →"; }
  html[lang="en"] .table-wrap::before{ content:"← Swipe right →"; }
  html[lang="de"] .table-wrap::before{ content:"← Nach rechts wischen →"; }
  html[lang="fr"] .table-wrap::before{ content:"← Faites glisser vers la droite →"; }

  .table-wrap::before{
    display:block;
    font-size:12px;
    color:#94a3b8;
    text-align:right;
    margin-bottom:6px;
  }

  /* Enable horizontal scroll */
  .table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  table{
    min-width:500px;
  }

  th, td{
    padding:10px;
    font-size:13px;
  }

  /* Period column unchanged */
  table tr th:first-child,
  table tr td:first-child{
    width:140px;
    max-width:140px;
    white-space:normal;
    line-height:1.25;
  }

  /* =================================================
     🔥 ASIL ÇÖZÜM — ÇALIŞAN SELECTOR
     Başlıkları SAĞA hizala
     ================================================= */
  table tr:first-child th:nth-child(2),
  table tr:first-child th:nth-child(3){
    text-align:right;
  }

  /* Price cells */
  td:nth-child(2),
  td:nth-child(3){
    text-align:right;
    white-space:nowrap;
  }
}

/* ================= FOOTER ================= */
footer{
  text-align:center;
  padding:40px;
  color:#94a3b8;
}
