/* ===========================================================
   Tatvan Gücü Spor Kulübü — style.css
   Sade · Modern · Sportif · Profesyonel
   =========================================================== */

:root {
  --blue: #0759C9;
  --blue-dark: #064aa8;
  --yellow: #FFD900;
  --dark: #07111F;
  --dark-2: #0d1b2e;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --gray: #5a6472;
  --border: #e3e8ef;

  --maxw: 1160px;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(7, 17, 31, .08);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--light { background: var(--light); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--yellow);
  vertical-align: middle;
  margin-right: 10px;
}

.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-lead { color: var(--gray); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--dark); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--light { background: var(--white); color: var(--dark); }
.btn--light:hover { background: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: 44px; object-fit: cover; border-radius: 50%; }
.brand-name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .06em;
  color: var(--dark);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-weight: 500;
  font-size: .96rem;
  color: var(--dark);
  border-radius: 6px;
  position: relative;
  transition: color .2s ease;
}
.nav a:hover { color: var(--blue); }
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--dark);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  right: -160px; top: -180px;
  background: radial-gradient(circle at center, rgba(7,89,201,.10), transparent 70%);
}
.hero::after {
  width: 8px; height: 60%;
  left: 0; top: 20%;
  background: var(--yellow);
  border-radius: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
  min-height: 74vh;
  padding: 64px 0;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--blue); }
.hero-lead {
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-badge {
  position: relative;
  width: min(360px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-badge::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid rgba(255, 217, 0, .55);
}
.hero-badge img {
  position: relative;
  width: 82%;
  height: 82%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.intro-grid .intro-text p:last-child { margin-bottom: 0; }

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.value {
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.value-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(7,89,201,.08);
  color: var(--blue);
  margin-bottom: 16px;
}
.value h3 { font-size: 1.15rem; }
.value p { color: var(--gray); margin: 0; font-size: .96rem; }

/* ---------- Youth / feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-panel {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.split-panel::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 160px; height: 160px;
  border: 3px solid rgba(255,217,0,.35);
  border-radius: 50%;
}
.split-stats { display: grid; gap: 18px; margin: 0; }
.split-stat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.split-stat .dot {
  flex: none;
  width: 10px; height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.split-stat strong { display: block; font-size: 1.02rem; }
.split-stat span { color: rgba(255,255,255,.72); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(7,89,201,.35), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,217,0,.10), transparent 40%);
}
.cta > .container { position: relative; }
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.cta p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 60%, var(--yellow) 60% 100%);
}
.page-header .eyebrow { color: var(--yellow); }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.page-header p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0; }

/* ---------- Article / about ---------- */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 8px;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
}
.prose .block { margin-bottom: 44px; }
.prose .block:last-child { margin-bottom: 0; }
.prose p { color: #33404f; }

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--light);
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.value-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--white);
}
.contact-card h2 { font-size: 1.35rem; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.contact-item:first-of-type { border-top: none; }
.contact-item .ic {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(7,89,201,.08);
  color: var(--blue);
}
.contact-item .label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item .val { font-weight: 600; font-size: 1.02rem; }
.contact-item a.val { color: var(--blue); }
.contact-item a.val:hover { text-decoration: underline; }

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius);
  filter: grayscale(.15);
}
.note {
  font-size: .9rem;
  color: var(--gray);
  background: var(--light);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.82);
  padding: 56px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 54px; width: 54px; object-fit: cover; border-radius: 50%; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; display: block; letter-spacing: .04em; }
.footer-brand span { font-size: .9rem; color: rgba(255,255,255,.6); }

.footer-col h4 {
  color: var(--white);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 4px 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 14px 12px; border-radius: 8px; }
  .nav a::after { display: none; }
  .nav a:hover { background: var(--light); }

  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; gap: 32px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero::after { display: none; }

  .intro-grid,
  .split,
  .contact-grid,
  .footer-top { grid-template-columns: 1fr; }

  .values { grid-template-columns: 1fr; }
  .split-panel { order: -1; }
  .footer-top { text-align: left; gap: 28px; }
}

@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .brand-name { font-size: .92rem; }
  .value-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .value { transition: none; }
}
