/* ── Gilroy Font (free ExtraBold via jsDelivr) ────────── */
@font-face {
  font-family: 'Gilroy';
  src: url('https://cdn.jsdelivr.net/gh/repalash/gilroy-free-webfont@master/fonts/Gilroy-ExtraBold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/repalash/gilroy-free-webfont@master/fonts/Gilroy-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #e8e8e8;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Custom Cursor ────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: #7c1311;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(124,19,17,0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot.cursor-hover { width: 14px; height: 14px; background: #ff2c29; }
.cursor-ring.cursor-hover { width: 56px; height: 56px; border-color: rgba(255,44,41,0.5); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } }

/* ── Particles ────────────────────────────────────────── */
.particle {
  position: fixed;
  border-radius: 50%;
  background: #7c1311;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

/* ── Reveal animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Layout Utilities ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-family: 'Gilroy', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  margin-bottom: 0.4em;
}
.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin-bottom: 3rem;
}
.accent { color: #7c1311; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: #7c1311;
  color: #fff;
  font-family: 'Gilroy', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #7c1311;
  border-radius: 50px;
  transition: background .3s, color .3s, box-shadow .3s;
}
.btn-primary:hover { background: #a01815; box-shadow: 0 0 24px rgba(124,19,17,0.5); }
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  font-family: 'Gilroy', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #fff;
  border-radius: 50px;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-outline:hover { background: #fff; color: #0a0a0a; }

/* ── Navbar ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px;
  transition: padding .4s, background .4s, box-shadow .4s;
}
#navbar.scrolled {
  background: rgba(8,8,8,0.97);
  padding: 14px 40px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}
.nav-logo { height: 44px; object-fit: contain; }
.nav-logo-wrap { padding: 0 32px; display: flex; align-items: center; }
.nav-left {
  display: flex;
  gap: 36px;
  list-style: none;
  justify-content: flex-end;
  align-items: center;
}
.nav-right {
  display: flex;
  gap: 36px;
  list-style: none;
  justify-content: flex-start;
  align-items: center;
}
.nav-left a, .nav-right a {
  font-family: 'Gilroy', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  transition: color .2s;
  position: relative;
}
.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #7c1311;
  transition: width .3s;
}
.nav-left a:hover, .nav-right a:hover { color: #fff; }
.nav-left a:hover::after, .nav-right a:hover::after { width: 100%; }

.nav-yaz-okulu {
  background: rgba(124, 19, 17, 0.14);
  border: 1px solid rgba(124, 19, 17, 0.35);
  border-radius: 50px;
  padding: 5px 14px !important;
  color: #e8e8e8 !important;
  transition: background 0.25s, border-color 0.25s, color 0.25s !important;
}
.nav-yaz-okulu:hover {
  background: rgba(124, 19, 17, 0.30) !important;
  border-color: rgba(124, 19, 17, 0.7) !important;
  color: #fff !important;
}
.nav-yaz-okulu::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
  grid-column: 3;
  justify-self: end;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.2);
  transform: scale(1.04);
  will-change: transform;
}
.hero-dekor {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  font-size: clamp(100px, 18vw, 260px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.055);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: background .1s;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  margin-top: 8vh;
  will-change: transform;
}
.hero-logo {
  height: clamp(100px, 14vw, 180px);
  margin: 0 auto 0;
  filter: drop-shadow(0 0 40px rgba(124,19,17,0.35));
}
.hero-red-line {
  width: min(360px, 80vw);
  height: 2px;
  background: linear-gradient(to right, transparent, #7c1311 30%, #7c1311 70%, transparent);
  margin: 22px auto;
  transform-origin: left;
}
.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, #7c1311, transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.4; }
}

/* ── Sports Section ───────────────────────────────────── */
#sporlar {
  padding: 100px 0;
  background: #0a0a0a;
}
.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sport-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 16px;
  will-change: transform;
}
.sport-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform .6s ease;
}
.sport-card:hover .sport-card-bg { transform: scale(1.06); }
.sport-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  transition: background .4s;
}
.sport-card:hover .sport-card-overlay {
  background: linear-gradient(to top, rgba(124,19,17,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}
.sport-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
}
.sport-card-name {
  font-family: 'Gilroy', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.sport-card-age {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.sport-card:hover .sport-card-age { transform: translateY(0); opacity: 1; }

/* ── About Section ────────────────────────────────────── */
#hakkimizda {
  position: relative;
  padding: 110px 0;
  background: #0c0c0c;
  overflow: hidden;
}
/* Dekoratif kırmızı blur blob'lar — cam efektini okunur kılar */
.about-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.about-glow--1 {
  width: 420px; height: 420px;
  top: -80px; left: -60px;
  background: rgba(124,19,17,0.30);
}
.about-glow--2 {
  width: 360px; height: 360px;
  bottom: -60px; right: -40px;
  background: rgba(124,19,17,0.18);
}
#hakkimizda .container { position: relative; z-index: 1; }

.about-eyebrow {
  font-family: 'Gilroy', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7c1311;
  text-align: center;
  margin-bottom: 16px;
}
#hakkimizda .section-title { max-width: 900px; margin: 0 auto 1.4rem; }
.about-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  color: #9a9a9a;
  font-size: 1.02rem;
  line-height: 1.9;
}

.glass-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.glass-card {
  position: relative;
  padding: 36px 30px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
/* Üstte ince kırmızı parlama çizgisi */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(124,19,17,0.9), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124,19,17,0.55);
  box-shadow: 0 18px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,19,17,0.25);
}
.glass-card:hover::before { opacity: 1; }

.glass-card-icon {
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  border-radius: 14px;
  background: rgba(124,19,17,0.16);
  border: 1px solid rgba(124,19,17,0.30);
  margin-bottom: 22px;
}
.glass-card-title {
  font-family: 'Gilroy', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.glass-card-text { color: #9a9a9a; font-size: 0.92rem; line-height: 1.7; }

/* ── Instagram / Sosyal Medya Section ────────────────── */
#instagram {
  padding: 100px 0;
  background: #0a0a0a;
  text-align: center;
  overflow: hidden;
}
.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #555;
  margin-bottom: 3rem;
}
.insta-handle svg { flex-shrink: 0; }
/* Yatay üst üste binmiş düz post destesi */
.post-deck {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  margin-bottom: 20px;
}
.post-card {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 4 / 5;
  margin-left: -70px;            /* üst üste binme */
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  will-change: transform;
}
.post-card:first-child { margin-left: 0; }
.post-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.post-card:hover {
  transform: translateY(-18px) scale(1.09);
  z-index: 50;
  box-shadow: 0 26px 60px rgba(0,0,0,0.75), 0 0 36px rgba(124,19,17,0.30);
}

/* ── Contact Section ──────────────────────────────────── */
#iletisim {
  padding: 100px 0;
  background: #111;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-form-title, .contact-info-title {
  font-family: 'Gilroy', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #e8e8e8;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  border-radius: 8px;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #7c1311; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  margin-top: 12px;
  font-size: 0.875rem;
  padding: 10px 14px;
  border-radius: 8px;
}
.form-message.success { background: rgba(34,197,94,0.1); color: #4ade80; border-left: 3px solid #4ade80; }
.form-message.error { background: rgba(239,68,68,0.1); color: #f87171; border-left: 3px solid #f87171; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #7c1311;
  font-size: 1.1rem;
}
.contact-info-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 4px;
}
.contact-info-value { font-size: 0.95rem; line-height: 1.5; }
.map-wrapper {
  margin-top: 10px;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
}
.map-wrapper iframe { display: block; width: 100%; height: 200px; filter: invert(0.9) hue-rotate(180deg); }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: #000;
  border-top: 1px solid #1a1a1a;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 36px; opacity: 0.7; transition: opacity .2s; }
.footer-logo:hover { opacity: 1; }
.footer-copy { font-size: 0.8rem; color: #444; }
.footer-insta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #555;
  transition: color .2s;
}
.footer-insta:hover { color: #fff; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .sports-grid { grid-template-columns: repeat(2, 1fr); }
  .glass-cards { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  #navbar { grid-template-columns: auto 1fr auto; }
  .nav-logo-wrap { grid-column: 1; padding: 0; padding-right: 16px; }
  .nav-left, .nav-right {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6,6,6,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1050;
  }
  .nav-left.open, .nav-right.open { display: flex; }
  .nav-left a, .nav-right a { font-size: 1.5rem; }
  #navbar { padding: 16px 20px; }
  #navbar.scrolled { padding: 12px 20px; }
  .sports-grid { grid-template-columns: 1fr 1fr; }
  .sport-card { aspect-ratio: 2/3; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .hero-dekor { font-size: clamp(80px, 22vw, 160px); }
  .post-deck { flex-wrap: wrap; gap: 12px; padding: 20px 0; }
  .post-card { margin-left: 0; width: calc(50% - 8px); }
  .post-card:first-child { margin-left: 0; }
  .post-card:hover { transform: scale(1.03); }
}

@media (max-width: 480px) {
  .sports-grid { grid-template-columns: 1fr; }
  .sport-card { aspect-ratio: 4/3; }
}

/* ── Hero Reel Stacks ─────────────────────────────────── */
.hero-reels {
  position: absolute;
  top: calc(50% - 230px);
  width: 280px;
  height: 540px;
  z-index: 2;
  pointer-events: auto;
}
.hero-reels--left  { left:  clamp(20px, 4vw, 70px); }
.hero-reels--right { right: clamp(20px, 4vw, 70px); }

.reel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 232px;
  height: 412px;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  box-shadow:
    0 8px 30px rgba(0,0,0,0.8),
    0 2px 8px rgba(0,0,0,0.6);
}
.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Overlay — GSAP ile gösterilip gizlenir */
.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.28) 50%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 24px;
  pointer-events: none;
  border-radius: inherit;
}
.reel-overlay-icon {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}
.reel-overlay-icon svg { margin-left: 3px; }
.reel-overlay-text {
  color: rgba(255,255,255,0.90);
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-reels { width: 220px; height: 420px; top: calc(50% - 175px); }
  .reel-card  { width: 180px; height: 320px; }
}

/* Dar ekranlarda gizle */
@media (max-width: 820px) {
  .hero-reels { display: none; }
}
