/* Genel Stiller */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f4f4f4, #e0e0e0); /* Mevcut arka plan */
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  flex: 1 0 auto; /* İçeriğin genişlemesini sağlar, footer'ı alta iter */
}

/* Header Stilleri */
.site-header {
  background: linear-gradient(135deg, #2c1b3f 0%, #4a3571 50%, #6a3e8d 100%);
  padding: 25px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #d2b4ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d2b4ff;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.main-nav .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.main-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #d2b4ff;
}

.main-nav .nav-link.active {
  background: linear-gradient(145deg, #9366b8, #b88ed6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: linear-gradient(145deg, #6a3e8d, #9366b8);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  background: linear-gradient(145deg, #7b4ea2, #a57bc9);
}

/* Calculator Container */
.calculator-container {
  width: 40%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.calculator-container h2 {
  text-align: center;
  color: #2c1b3f;
  margin-bottom: 20px;
  font-size: 2rem;
}

#search {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

/* Tabs */
.tab {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 10px;
  background-color: #4B2B5E;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tablinks {
  background-color: #6A3E8D;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.tablinks:hover {
  background-color: #7B4EA2;
}

.tablinks.active {
  background-color: #9366B8;
}

/* Tablo */
.tabcontent table {
  width: 100%;
  border-collapse: collapse;
}

.tabcontent th {
  background: #5c4585;
  color: #fff;
  padding: 8px;
  text-align: left;
}

.tabcontent td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.tabcontent tr:hover {
  background: #f1f1f1;
}

.item-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.quantity-selector {
  width: 50px;
  padding: 4px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.screenshot-button, .buy-option-button {
  padding: 10px 20px;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.screenshot-button {
  background-color: #17a2b8;
}

.screenshot-button:hover {
  background-color: #138496;
}

.buy-option-button {
  background-color: #28a745;
  margin-right: 10px;
}

.buy-option-button:hover {
  background-color: #218838;
}

#buy-options {
  display: none;
}
/* İçerik Sayfaları */
.content-container {
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-container h1 {
  color: #2c1b3f;
  margin-bottom: 20px;
  text-align: center;
}

.price-list, .group-list, .contact-list {
  list-style: none;
  padding: 0;
}

.price-list li, .group-list li, .contact-list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.contact-list a, .group-list a {
  color: #6a3e8d;
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover, .group-list a:hover {
  color: #9366b8;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #2c1b3f, #4a3571);
  color: #fff;
  text-align: center;
  padding: 15px 0;
  flex-shrink: 0;
  width: 100%;
}

/* Mobil Uyumluluk */
@media (max-width: 1300px) {

  .tab {
    padding: 8px;
    gap: 8px;
  }
  .tablinks {
    padding: 10px 15px;
    font-size: 15px;
    margin-right: 5px;
  }
  .screenshot-button, .buy-option-button {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 768px) {

  .logo {
    font-size: 1.8rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: linear-gradient(135deg, #2c1b3f, #4a3571);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .main-nav.open {
    max-height: 350px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 25px 0;
    text-align: center;
  }

  .main-nav .nav-link {
    display: block;
    padding: 15px;
    font-size: 1.3rem;
    border-radius: 10px;
  }

  .main-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 538px) {
  .logo {
    font-size: 1.5rem;
  }

  .menu-toggle {
    font-size: 1.5rem;
    padding: 6px 12px;
  }

  .tab {
    grid-template-rows: repeat(3, auto);
  }
}