/* =========================
   DESIGN TOKENS (renk & tipografi)
   ========================= */
:root {
  --font-heading: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Quicksand", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg-grad-start: #d0d6d9;
  --bg-grad-end: #b1b4ba;

  --surface: #253c3c;
  --surface-2: #2f3e3e;
  --surface-3: #1d4949;

  --text-strong: #d9e2f1;
  --text-muted: #9bafaf;

  --accent: #dabf75;
  --border: #526a6a;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;

  /* Footer bar */
  --footer-h: 72px; /* yükseklik */
  --footer-pad-x: 12px; /* yatay padding */
  --footer-z: 100; /* stacking */
}

/* =========================
   BASE / GLOBAL
   ========================= */
html,
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: linear-gradient(var(--bg-grad-start), var(--bg-grad-end));
  color: var(--text-strong);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}

body {
  text-align: center;
  border-radius: 12px;
}
/* footer içerikleri kapatmasın diye boşluk */
body {
  padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom, 0px));
}

/* =========================
   HEADINGS
   ========================= */
h1,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  color: #2f4444;
}
.adana {
  text-transform: uppercase;
  font-size: 19.25px;
  letter-spacing: 0.1em;
  margin: 2rem 0 0.5rem;
  color: #2f4444;
  font-weight: bold;
  text-align: center;
}
.bursa {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #2f4444;
  margin: 1rem 0 1.3rem;
}
h2 {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #2f4444;
  margin: 0;
}

/* =========================
   TEXT
   ========================= */
p,
li,
a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
}

/* =========================
   LAYOUT
   ========================= */
.container {
  max-width: 600px;
  background: linear-gradient(to bottom, var(--surface), var(--surface-3));
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem 2rem;
  margin: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  text-align: left;
}

/* =========================
   NAVBAR (mevcut, opsiyonel)
   ========================= */
.navbar {
  background-color: #1f2e2e;
  border-bottom: 1px solid #3d5050;
  padding: 10px 0;
  text-align: center;
  margin-bottom: 10px;
}
.nav-logo-wrapper {
  display: inline-block;
  border-radius: 50%;
  position: relative;
  overflow: visible;
  animation: glow-border 1.2s ease-out forwards;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
  opacity: 0;
  background-color: rgb(5, 18, 16);
}
.nav-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  animation: logoFadeZoom 0.8s ease-out forwards;
  animation-delay: 0.3s;
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: #e0e0e0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.nav-links a:hover {
  transform: scale(1.1);
  color: var(--accent);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* =========================
   FIELDSET / LABEL
   ========================= */
fieldset {
  margin: 0;
  border: 1px solid #fff;
  padding: 0.5rem 0.5rem 0.625rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
}
legend {
  padding: 0 1rem;
  color: var(--text-strong);
  font-family: var(--font-body);
}
label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
  display: block;
}

/* =========================================================
   !!! INPUTS & BUTTONS AYNI KALDI !!!
   ========================================================= */

/* Global koruma */
input,
select,
textarea {
  max-width: 100%;
  box-sizing: border-box;
}

/* Input/select/textarea (AYNEN) */
input,
select,
textarea {
  font-weight: bold;
  font-size: 1rem;
  color: #e8e8dc;
  border: 1px solid #526a6a;
  border-radius: 6px;
  text-align: center;
  width: 100%;
}

/* Kilo & Boy */
.kilo-boy-grup {
  display: flex;
  gap: 16px;
  margin-top: 0.5rem;
  flex-wrap: nowrap;
}
.kilo-boy-grup > div {
  flex: 1 1 50%;
  min-width: 0;
}

/* Butonlar (AYNEN) */
button {
  margin-top: 1.25rem;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
button:hover {
  transform: scale(1.02);
}

/* Sil butonu (AYNEN) */
button.icki-sil {
  padding: 0;
  text-align: center;
  margin: 0;
  border-style: solid;
  border-width: 1px;
  border-color: currentColor;
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 166, 0, 0);
  color: red;
  border: none;
}

/* Stepper (AYNEN) */
.input-step {
  display: flex;
  align-items: stretch;
  border-radius: 6px;
  background-color: #a0b0b0;
  overflow: hidden;
  height: 40px;
}
.input-step input {
  border: 1px solid #758a8a;
  flex: 1;
  font-size: 1rem;
  text-align: center;
  background-color: #869999;
  color: #142020;
  height: 100%;
  border-radius: 6px;
  padding: 0.25rem;
}
.input-step button {
  background-color: #a0b0b0;
  border: none;
  width: 24px;
  font-size: 20px;
  font-weight: bold;
  color: rgb(75 85 99);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  transition: background 0.2s ease;
  padding: 1rem 0;
}
.input-step button:hover {
  background: #6b8888;
}

/* Yeni Alkol Ekle (AYNEN) */
.add-alcohol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 142, 28, 0.8);
  color: #fff;
  font-family: "Quicksand", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem 0;
  border: 2px solid #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.add-alcohol-btn .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}
.add-alcohol-btn:hover {
  background-color: #c77c32;
  transform: scale(1.04);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.add-alcohol-btn:focus {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* Submit (AYNEN) */
button[type="submit"] {
  font-size: 1.05rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(32, 201, 187, 0.95) 0%,
    rgba(24, 164, 150, 0.95) 35%,
    rgba(20, 140, 130, 0.9) 50%,
    rgba(24, 164, 150, 0.95) 65%,
    rgba(32, 201, 187, 0.95) 100%
  );
  background-size: 400% 400%;
  animation: shimmer-diagonal 4s infinite linear;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  max-width: 18rem;
  margin: 1.5rem auto 0;
  display: block;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}
@keyframes shimmer-diagonal {
  0% {
    background-position: -200% -200%;
  }
  100% {
    background-position: 200% 200%;
  }
}

/* =========================
   İÇKİ BLOKLARI
   ========================= */
.icki-grubu {
  margin-top: 1rem;
  border-radius: 10px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeSlideIn 0.4s ease forwards;
}
.icki-ust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Select */
.icki-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.icki-select-wrapper label {
  font-size: 0.75rem;
  font-weight: bold;
  display: block;
}
.icki-select-wrapper select.icki-turu {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #869999;
  color: #142020;
  font-weight: bold;
  padding: 10px;
  padding-right: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: left;
  border-color: rgba(107, 114, 128, 0.5);
}
.custom-arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  pointer-events: none;
  transform: translateY(-50%);
  color: var(--accent);
  width: 16px;
  height: 16px;
}

/* İçki alt */
.icki-alt {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.5rem;
}
.icki-icon {
  flex: 1 1 auto;
  max-height: 160px;
  max-width: calc(100% - 112px);
  width: 100%;
  object-fit: contain;
  align-self: center;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.icki-input-kolon {
  width: 122px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  margin-left: auto;
}
.icki-input-kolon label {
  margin-top: 4px;
  margin-bottom: 0;
  text-align: center;
}
.icki-input-kolon input {
  text-align: center;
  font-size: 3rem;
}

/* =========================
   CİNSİYET
   ========================= */
.gender-buttons {
  display: flex;
  gap: 10px;
  margin-top: 0;
}
.gender-button {
  flex: 1;
  padding: 8px;
  font-size: 16px;
  border: 2px solid #3a4d4d;
  border-radius: 6px;
  background: #2f3e3e;
  color: #e8e8dc;
  cursor: pointer;
  margin: 0 !important;
  font-weight: bold;
}
.gender-button.selected {
  background: #8c4a2f;
  border-color: #8c4a2f;
  color: #fff;
}

/* =========================
   SONUÇ KUTUSU
   ========================= */
.result-box {
  padding: 16px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  background: var(--surface-2);
  color: var(--accent);
  border: 1px solid var(--border);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s ease-out;
}
.result-box.show {
  transform: scale(1);
  opacity: 1;
  animation: fadeSlideIn 0.5s ease forwards;
}

.result-safe {
  background: #2e4633;
  border-color: #4c7152;
  color: #cfe7c5;
}
.result-warning {
  background: #4f4421;
  border-color: #9e8a3c;
  color: #fff2c2;
}
.result-danger {
  background: #4b2c2c;
  border-color: #a14545;
  color: #f8cccc;
}

.result-note {
  font-size: small;
}

/* Info bar */
.promil-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  border-left: 4px solid #4caf50;
}
.promil-info-bar.safe {
  border-color: #4caf50;
  color: #cfe7c5;
}
.promil-info-bar.warning {
  border-color: #ff9800;
  color: #fff2c2;
}
.promil-info-bar.danger {
  border-color: #f44336;
  color: #f8cccc;
}
.promil-baslik {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.promil-status-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 10px;
}

/* Sayısal gösterim */
.result-box .promil-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2rem;
}
.result-box .promil-label {
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 0.4rem;
  color: #ffd700;
}
.result-box .promil-deger {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #ffd700;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}
.promil-beyaz {
  color: #ffffff !important;
}

/* Ek veriler */
.minik-yasal {
  margin-top: 10px;
  margin-bottom: 0;
  color: #e0ddc6;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}
.ek-ceza-bilgi {
  background: rgba(218, 191, 117, 0.1);
  border-left: 4px solid var(--accent);
  font-size: 0.92rem;
  color: #f1eacc;
  font-style: italic;
  text-align: center;
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  margin-top: 0.4rem;
}

/* Saat */
.saat-step {
  max-width: 160px;
  margin: 0 auto;
}
label[for="saat"] {
  display: block;
  text-align: center;
  margin-bottom: 4px;
  font-weight: bold;
}
.legend-icon {
  width: 2.5rem;
  height: 2.5rem;
  vertical-align: middle;
  filter: brightness(1.1) contrast(1.2);
}

/* =========================
   LOADING OVERLAY
   ========================= */
#loadingOverlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 18, 18, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
#loadingOverlay.show {
  opacity: 1;
  visibility: visible;
}
#loadingLogo {
  width: 360px; /* istersen büyüt/küçült */
  height: auto;
  animation: pulse 1.2s ease-in-out infinite;
}

/* ==== Bottom Navbar (altta sabit) ==== */
:root {
  --nav-h: 72px; /* yükseklik */
  --nav-pad-x: 12px; /* yatay padding */
  --nav-z: 100; /* stacking */
}

/* içerik navbar’ın altında kalmasın diye alt padding */
body {
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}

/* bar */
.bottom-navbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--nav-h);
  z-index: var(--nav-z);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 var(--nav-pad-x);
  background: rgba(17, 24, 24, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==== Dil Seçici (Language Dropdown) ==== */
.lang-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0.5rem;
  transition: background 0.25s ease;
  margin-top: 0;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.flag-icon {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  display: block;
}

/* Menü */
.lang-menu {
  position: absolute;
  bottom: 44px; /* yukarı doğru açılır */
  left: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  border-radius: 8px;
  background: rgba(17, 24, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}

.lang-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu a {
  display: block;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* logo merkez */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.nav-logo {
  max-height: calc(var(--nav-h) - 16px);
  height: auto;
  max-width: 100%;
  display: block;
}

/* hamburger sağ ve dikey merkez */
.nav-right {
}

/* hamburger buton */
.nav-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  transition: background 0.2s ease, transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}
.nav-menu-toggle:active {
  transform: scale(0.96);
}
.nav-menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
}

/* açılır menü (yukarı doğru) */
.nav-menu {
  position: fixed;
  right: var(--nav-pad-x);
  bottom: calc(var(--nav-h) + 8px);
  z-index: calc(var(--nav-z) + 1);
  background: rgba(17, 24, 24, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform-origin: bottom right;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-menu.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nav-menu ul {
  list-style: none;
  margin: 8px;
  padding: 6px;
  display: grid;
  gap: 4px;
}
.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #eaf2f2;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}
.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav-menu a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

/* screen-reader yardımcı sınıf (varsa aynen bırakın) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SR helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==== Yorum Formu ==== */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.comment-form input[type="text"],
.comment-form textarea {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: "Quicksand", sans-serif;
  width: 100%;
  outline: none;
  transition: border 0.2s ease, background 0.2s ease;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.comment-form input:focus,
.comment-form textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #dabf75;
}

.comment-form textarea {
  resize: none; /* köşeden büyütmeyi kapatır */
  min-height: 90px;
  max-height: 90px;
  line-height: 1.4;
}

/* karakter sınırını vurgulamak istersen */
.comment-form textarea:invalid {
  border-color: #f44336;
}
.char-count {
  text-align: right;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: -4px;
  margin-bottom: 2px;
  font-family: "Quicksand", sans-serif;
  transition: color 0.2s ease;
}

.char-count.warning {
  color: #f6c453; /* sarımsı uyarı tonu */
}

.char-count.limit {
  color: #ff6666; /* kırmızı: limit doldu */
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem 2rem 2rem;
    margin: 1rem 1.1201rem 2rem;
  }
  h1 {
    font-size: 20px;
  }
  button {
    font-size: 15px;
    padding: 10px;
  }
  .icki-icon {
    max-height: 160px;
  }
  .icki-input-kolon {
    width: 112px;
  }
  .icki-input-kolon input {
    font-size: 1.1rem;
  }
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes logoFadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes glow-border {
  0% {
    box-shadow: 0 0 0 rgba(218, 191, 117, 0);
    opacity: 0;
  }
  100% {
    box-shadow: 0 0 12px rgba(218, 191, 117, 0.7);
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/* ==== SSS içerik animasyonu: YAVAŞ AÇ/KAPAT ==== */
:root {
  --faq-speed: 900ms; /* daha yavaş istersen 1200ms yap */
  --faq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --faq-max: 600px; /* beklenen max içerik yüksekliği */
}

/* sadece ikon animasyonu değil, içerik de akıcı açılsın diye wrapper */
.faq-section .faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height var(--faq-speed) var(--faq-ease),
    opacity var(--faq-speed) var(--faq-ease),
    transform var(--faq-speed) var(--faq-ease);
}

/* details açılınca cevap yavaşça görünür */
.faq-section details[open] .faq-content {
  max-height: var(--faq-max);
  opacity: 1;
  transform: translateY(0);
}

/* açılan sorunun başlığına hafif arka plan (isteğe bağlı) */
.faq-section details[open] > summary {
  background: rgba(255, 255, 255, 0.08);
}

/* erişilebilirlik: animasyonu tercih etmeyenler için kapat */
@media (prefers-reduced-motion: reduce) {
  .faq-section .faq-content {
    transition: none;
  }
}
/* ==== SSS (FAQ) — Tek, Temiz ve Kompakt Versiyon ==== */
:root {
  --faq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --faq-speed: 800ms; /* Daha yavaş istersen 900–1200ms yap */
}

/* Bölüm kutusu */
.faq-section {
  margin: 0.8rem auto 1.6rem;
  padding: 0.8rem 1rem;
  max-width: 600px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #253c3c, #1d4949);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Başlık */
.faq-title {
  text-align: center;
  color: #dabf75;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

/* Soru butonu */
.faq-item + .faq-item {
  margin-top: 0.1rem;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.8rem;
  font: 600 0.9rem/1.3 inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  margin-top: 0.5rem;
}

/* + / − ikonu */
.faq-toggle::after {
  content: "＋";
  position: absolute;
  right: 0.8rem;
  font-size: 0.9rem;
  color: #dabf75;
  transition: transform var(--faq-speed) var(--faq-ease),
    color var(--faq-speed) var(--faq-ease);
}
.faq-toggle[aria-expanded="true"]::after {
  content: "−";
  color: #ffdf91;
  transform: rotate(180deg);
}

/* Cevap paneli (JS height animasyonu ile uyumlu) */
.faq-panel {
  overflow: hidden;
  height: 0; /* kapalı başlangıç */
  opacity: 0;
  transform: translateY(-3px);
  transition: height var(--faq-speed) var(--faq-ease),
    opacity var(--faq-speed) var(--faq-ease),
    transform var(--faq-speed) var(--faq-ease);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 0 6px 6px;
  background: rgba(255, 255, 255, 0.04);
}

/* Cevap metni */
.faq-panel p {
  margin: 0;
  padding: 0.6rem 0.8rem 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  font-size: 0.85rem;
}

/* Hareket hassasiyeti */
@media (prefers-reduced-motion: reduce) {
  .faq-panel,
  .faq-toggle::after {
    transition: none !important;
  }
}
