/* === GENEL === */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: transparent;
  color: #333;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* === TAM SAYFA ARKA PLAN === */
body::before {
  content: "";
  position: fixed;
  top: 115px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 120px);
  background: url("../img/startseite/foto1.jpg") center top no-repeat;
  background-size: 25%;
  z-index: 0;
  opacity: 0.35;
}

/* === GENEL YAPI === */
.page-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* === HEADER === */
header {
  background: linear-gradient(90deg, #f2c9fa, #45a8d5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo {
  width: 95px;
  height: 70px;
  object-fit: contain;
}

/* === HAMBURGER MENÜ === */
.hamburger {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 101;
  transition: opacity 0.3s;
}
.hamburger:hover { opacity: 0.8; }

/* === SEKME MENÜSÜ === */
.tabs {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  border-bottom: 2px solid #ddd;
  z-index: 95;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.tab {
  padding: 12px 25px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.tab.active {
  color: #45a8d5;
}
.tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #45a8d5;
  border-radius: 5px 5px 0 0;
}

/* === FOOTER === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(255,255,255,0.9);
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.8rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

footer a {
  text-decoration: none;
  color: #555;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #000;
}

.footer-separator {
  color: #aaa;
}

/* İçerik footer altında kalmasın */
body {
  padding-bottom: 30px;
}

/* === ANA ALAN === */
main {
  flex: 1;
  margin: 100px 0 55px 0;
  overflow-y: auto;
  background: transparent;
}

.content-wrapper {
  max-width: 1000px;
  width: 95%;
  margin: 0 auto;
  padding: 40px 20px 30px 20px; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content-wrapper > *:first-child {
  margin-top: 0;
}

.content-wrapper p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #222;
}

/* === TABLAR === */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* === STARTSEITE === */
.startseite-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  margin-top: 0px;
  flex-wrap: wrap;
}

.left-side,
.right-side {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;   /* 🔥 önemli */
}

.left-side {
  text-align: center;
  transform: translateY(-15px);
}

.store-links {
  display: flex;
  gap: 15px;   /* butonlar arası mesafe */
}

/* === PROMO GÖRSELLER === */

.promo-img,
.promo-video {
  width: 100%;
  max-width: 360px;        /* 400 → 360 daha kompakt */
  height: auto;
  border-radius: 14px;

  /* Sayfa renklerine uyumlu soft çerçeve */
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(90deg, #f2c9fa, #45a8d5) border-box;

  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  margin-top: 6px;
}

/* === ÜRÜNLER === */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 30px;
  justify-items: center;
  width: 100%;
  margin-top: 30px;
  padding: 20px 10px;
  box-sizing: border-box;
}
.product-item {
  background: linear-gradient(145deg, #d38ce6, #2a7fb8);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  color: #fff;
}
.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}
.product-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}
.product-info h3 {
  color: #fff;
  font-size: 1.15em;
  margin-bottom: 5px;
}

/* === ÜRÜN DETAY === */
.product-detail {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  gap: 20px;
}

.shopButtonInfo {
  color: #df0a0a;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 15px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.back-link {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  transition: color 0.3s ease;
}
.back-link:hover { color: #45a8d5; }

.gender-select {
  display: flex;
  gap: 15px;
}
.gender-btn {
  background: #e0e0e0;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.gender-btn.active {
  background: linear-gradient(90deg, #f2c9fa, #45a8d5);
  color: #fff;
  font-weight: bold;
}
.gender-btn:hover { opacity: 0.9; }

/* === ALT KISIM === */
.product-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

/* === GALERİ === */
.product-gallery {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === GALERİ === */
.gallery-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  padding: 4px;
  background: linear-gradient(145deg, #d38ce6, #2a7fb8);
  box-shadow: 0 0 15px rgba(69,168,213,0.45), 0 0 12px rgba(242,201,250,0.45);
  filter: blur(0.3px);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease, filter 0.3s ease;
}

.gallery-main img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(69,168,213,0.8), 0 0 28px rgba(242,201,250,0.8);
  filter: blur(0.6px);
}

/* Küçük önizleme resimleri (thumbnail'ler) */
.gallery-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  padding: 3px;
  background: linear-gradient(145deg, #d38ce6, #2a7fb8);
  box-shadow: 0 0 10px rgba(69,168,213,0.35), 0 0 8px rgba(242,201,250,0.35);
  filter: blur(0.2px);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease, filter 0.3s ease;
}

.gallery-thumbs img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(69,168,213,0.7), 0 0 20px rgba(242,201,250,0.7);
  filter: blur(0.5px);
}

.gallery-thumbs img:hover {
  transform: scale(1.07);
  box-shadow: 0 0 12px rgba(242,201,250,0.6), 0 0 16px rgba(69,168,213,0.5);
  filter: blur(0.3px);
}

/* === DETAY BİLGİLERİ === */
.product-details {
  flex: 1;
  max-width: 480px;
  text-align: left;
}
.product-details h2 { margin-bottom: 10px; }
.product-details p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* === MAĞAZA BAĞLANTILARI === */
.shop-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.shop-icon {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.shop-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
}
.shop-icon.amazon { background: #ff9900; }
.shop-icon.shopify { background: #96bf48; }

/* === HAKKIMIZDA === */
.about-content {
  max-width: 750px;
  text-align: center;
  margin-top: 15px;
}

.about-content h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #222;
}

.about-signature {
  margin-top: 35px;
  font-weight: 600;
  color: #45a8d5;
}

/* === KONTAKT === */
.contact-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}
.contact-details {
  flex: 1;
  min-width: 280px;
  text-align: left;
}
.contact-form {
  flex: 2;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}
.contact-form label {
  font-weight: 600;
  margin-bottom: 4px;
  text-align: left;
}
.contact-form input,
.contact-form textarea {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.contact-form button {
  background: linear-gradient(90deg, #f2c9fa, #45a8d5);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.contact-form button:hover { opacity: 0.85; }

/* === SOSYAL MEDYA – MODERN FLEX VERSİYON === */

.social-media-links {
  margin: 20px 0;           /* üst-alt boşluk biraz azaltıldı */
  text-align: center;
}

.social-media-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;            /* 🔥 inline-block yerine flex */
  justify-content: center;
  align-items: center;
  gap: 16px;                /* 🔥 ikonlar arası boşluk */
}

.social-media-links li {
  margin: 0;                /* eski margin kaldırıldı */
}

.social-media-links a {
  text-decoration: none;
  color: #222;              /* daha okunabilir siyah */
  font-size: 15px;
  font-weight: 600;
  display: flex;            /* ikon + yazı hizalama */
  align-items: center;
  gap: 6px;                 /* ikon-yazı arası */
  transition: all 0.25s ease;
}

.social-media-links i {
  font-size: 20px;
  color: #45a8d5;
  transition: transform 0.25s ease;
}

/* Hover efekti */
.social-media-links a:hover {
  color: #45a8d5;
  transform: translateY(-2px);
}

.social-media-links a:hover i {
  transform: scale(1.1);
}

/* === MESAJ KUTUSU === */
.contact-success-box {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #d1f5d3;
  color: #2e7d32;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  animation: fadeMsg 0.3s ease;
}

/* === INFO MODAL === */
.info-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 10px;
}
.info-modal-content {
  background: #fff;
  width: 100%;
  max-width: 500px;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: left;
  line-height: 1.6;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.info-modal-content h2 {
  margin-top: 0;
  color: #c03;
  font-size: 1.2rem;
}
.info-modal-content a {
  color: #0077cc;
  text-decoration: none;
  word-break: break-word;
}
.info-modal-content a:hover {
  text-decoration: underline;
}
.info-modal-content button {
  background-color: #0077cc;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  font-size: 1rem;
  width: 100%;
  max-width: 150px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.info-modal-content button:hover,
.info-modal-content button:active {
  background-color: #005fa3;
}

.sitemap-button-container {
  margin-top: 20px;
  text-align: left;
}

.sitemap-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #77c4b3;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
}

.sitemap-button:hover {
  background-color: #5ca294;
}

/* === ANİMASYONLAR === */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
@keyframes fadeMsg {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .info-modal-content {
    padding: 18px 15px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  .info-modal-content h2 {
    font-size: 1.1rem;
    text-align: center;
  }
  .info-modal-content button {
    font-size: 0.95rem;
    padding: 10px 0;
  }
  .hamburger { display: block; }
  body::before {
    background-size: cover !important;
    background-position: center center;
    opacity: 0.4;
  }
  .tabs {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255,255,255,0.95);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }
  .tabs.open {
    max-height: 300px;
    opacity: 1;
  }
  .tab {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  .startseite-content,
  .product-bottom,
  .contact-info-container {
    flex-direction: column;
    align-items: center;
  }
  .right-side { align-items: center; }
  .promo-img, .promo-video { max-width: 100%; }
  .product-details, .product-top { text-align: center; }
  .gallery-thumbs { justify-content: center; }
  .contact-form {
    width: 100%;
    min-width: unset;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    box-sizing: border-box;
  }
  .shop-links { justify-content: center; }
  .shop-links a {
    display: inline-block;
    margin: 6px 10px;
  }
}

/* =========================
   LEGAL MODAL – FINAL CLEAN
========================= */

.legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1000;
}

.legal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MODAL KUTUSU ===== */
.legal-box {
  width: 92%;
  max-width: 820px;
  height: 78vh; /* SABİT YÜKSEKLİK */
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.30);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-overlay.active .legal-box {
  transform: translateY(0) scale(1);
}

/* ===== HEADER ===== */
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px 18px 30px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.legal-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 30px;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #f2c9fa, #45a8d5);
  border-radius: 3px;
}

.legal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

/* ===== CLOSE BUTTON ===== */
#closeLegal {
  background: #f3f3f3;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

#closeLegal:hover {
  background: #ddd;
  transform: rotate(90deg);
}

/* ===== TABS ===== */
.legal-tabs {
  display: flex;
  gap: 14px;
  padding: 18px 30px 0 30px;
}

.legal-tab {
  padding: 7px 16px;
  border-radius: 22px;
  border: none;
  background: linear-gradient(90deg, #f2c9fa, #45a8d5);
  color: #313131;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.legal-tab:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.legal-tab.active {
  opacity: 1;
}

/* ===== CONTENT ===== */
.legal-content {
  flex: 1;
  overflow-y: auto;
  padding: 25px 30px 30px 30px;
}

/* İçerik tipografi */
.legal-panel {
  display: none;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #444;
}

.legal-panel.active {
  display: block;
  animation: fadeInPanel 0.25s ease;
}

.legal-panel h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.legal-panel h4 {
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-panel ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-panel a {
  color: #45a8d5;
  text-decoration: none;
}

.legal-panel a:hover {
  text-decoration: underline;
}

/* ===== SCROLLBAR (content içinde) ===== */
.legal-content::-webkit-scrollbar {
  width: 6px;
}

.legal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* ===== PANEL FADE ===== */
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .legal-box {
    width: 95%;
    height: 85vh;
  }

  .legal-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .legal-tab {
    width: 100%;
    text-align: center;
  }
}

