@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");

/* =========================
   RESET + ROOT
========================= */
* {
  font-family: "Merriweather", serif;
  box-sizing: border-box;
}

:root {
  --bg-dark: #2b0f0f;
  --bg-darker: #1a0505;
  --accent: #f3c98b;
  --text-light: #f7f3ee;
  --text-muted: #d0c3b8;
  --body-bg: #f8efe1;

  --about-bg: #fdf8f0;
  --about-surface: #ffffff;
  --about-border: #e4d7c7;
  --about-text: #2b0f0f;
  --about-muted: #7b6a58;
  --about-accent: var(--accent);
  --about-max-width: 1100px;
}

/* =========================
   BODY / BACKGROUND
========================= */
body {
  margin: 0;
  background: linear-gradient(to bottom, #fdf3e2 0%, #f7e5c3 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* =========================
   TOP BANNER
========================= */
.top-banner {
  background: linear-gradient(to bottom, #fdf3e2 0%, #f7e5c3 100%);
  padding: 18px 0;
}

.template-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #5a4632;
}

.template-brand strong {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   NAVBAR
========================= */
.navbar-wrapper {
  background: var(--bg-dark);
  color: var(--text-light);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.nav-left {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =========================
   HERO / PANEL
========================= */
/* NAVBAR görünüm */
.navbar-wrapper { background: var(--bg-dark); }
.brand-text { font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.navbar-dark .navbar-nav .nav-link { color: var(--text-muted); }
.navbar-dark .navbar-nav .nav-link:hover { color: #fff; }

/* HERO / PANEL */
.hero { margin-left: 2%; width: 98%; min-height: 100vh; position: relative; }

.panel{
  position: relative;
  width: 98%;
  min-height: 100vh;
  background-image: url("imgages/anafoto.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 8px 8px;
  overflow: visible;           /* BALL kaybolmasın */
  padding-bottom: 120px;       /* destek alanına yer */
}

/* BALL geri geldi + katman */
.ball{
  
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #111;
  position: absolute;
  left: 45%;
  top: 70%;
  transform: translateX();
  z-index: 20;                 /* logonun üstüne gelmesin ama görünür olsun */
}

/* DESTEK ALANI */
.destek-area{
  position: absolute;
  left: 0; right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  z-index: 30;
}

.destekLogos{
  width: min(900px, 92%);
}

.destekLogos ul{
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

/* Logo ölçülerini normalize et */
.aimg{
  width: 180px;
  height: 70px;           /* hepsi aynı hizada dursun */
  object-fit: contain;    /* kırpma yok */
  background: rgba(255,255,255,.88);
  padding: 10px 14px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* TABLET */
@media (max-width: 992px){
  .panel{ min-height: 70vh; padding-bottom: 110px; }
  .aimg{ width: 160px; height: 64px; }
}

/* TELEFON */
@media (max-width: 576px){
  .panel{ min-height: 520px; padding-bottom: 100px; }
  .ball{ width: 110px; height: 110px; top: 50%; }
  .aimg{ width: 140px; height: 58px; }
}

/* =========================
   ABOUT MAIN
========================= */
.about-main {
  background-color: var(--about-bg);
  color: var(--about-text);
  padding: 80px 16px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* HTML'de zaten margin-top var, burada güvenli olsun diye bırakıyorum */
  margin-top: 300px;
}

.about-hero {
  max-width: var(--about-max-width);
  text-align: center;
  margin-bottom: 64px;
}

.about-eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--about-muted);
}

.about-title {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 600;
  margin-bottom: 18px;
}

.about-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--about-muted);
  line-height: 1.7;
}

/* ZİGZAG */
.about-section {
  max-width: var(--about-max-width);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 100px;
  align-items: center;
}

.about-main section.about-section:nth-of-type(even) .about-media-wrapper {
  order: 2;
}
.about-main section.about-section:nth-of-type(even) .about-content {
  order: 1;
}

/* Sticky sadece desktop */
.about-media-wrapper {
  width: 100%;
}

@media (min-width: 900px) {
  .about-media-wrapper {
    position: sticky;
    top: 120px;
  }
}

.about-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--about-border);
  background: #f1e3d1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-media img {
  width: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s;
}

.about-media:hover img {
  transform: scale(1.06);
}

.about-content {
  background: var(--about-surface);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--about-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-section-eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--about-accent);
}

.about-section-title {
  font-size: 24px;
  margin: 14px 0;
}

.about-section-text {
  font-size: 15px;
  color: var(--about-muted);
  line-height: 1.85;
}

/* =========================
   AGE OVERLAY (TEKİL)
========================= */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-overlay.hidden {
  display: none;
}

.age-card {
  background: var(--bg-darker);
  border-radius: 18px;
  padding: 24px 20px;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  animation: popIn 0.3s ease-out;
}

.age-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.age-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 16px;
}

.age-warning {
  font-size: 0.8rem;
  color: #f97316;
  margin-bottom: 20px;
}

.age-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-age {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  font-weight: 600;
}

.btn-yes {
  background: orange;
  color: #ecfeff;
  box-shadow: 0 3px 22px orange;
  border: 1px solid black;
}
.btn-yes:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px orange;
}

.btn-no {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid red;
}
.btn-no:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.age-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 14px;
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================
   RESPONSIVE (TOPLU)
========================= */

/* TABLET */
@media (max-width: 992px) {
  .panel {
    min-height: 70vh;
  }

  .destekLogos {
    bottom: 14px;
    width: 96%;
  }

  .aimg {
    width: 150px;
    max-width: 40vw;
  }
}

/* MOBIL / KÜÇÜK EKRAN */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-media-wrapper {
    position: static !important;
  }

  footer {
    width: 100%;
    margin-left: 0;
    min-height: auto;
    padding: 20px 0;
  }

  .pad {
    width: 90%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .panel {
    min-height: 520px;
  }

  .ball {
    width: 110px;
    height: 110px;
    top: 45%;
  }

  .destekLogos {
    bottom: 12px;
    width: 96%;
  }

  .destekLogos ul {
    gap: 10px;
  }

  .aimg {
    width: 120px;
    max-width: 44vw;
  }
}
