/* ─────────────────────────────────────────
   PARÇACIKLAR
───────────────────────────────────────── */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFall linear infinite;
  opacity: 0;
}

/* ─────────────────────────────────────────
   HERO — SİNEMASAL TAM EKRAN
───────────────────────────────────────── */
#home { position: relative; padding-top: 0; }

.hero-cinema {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #08131f 0%, #0e2035 40%, #162d52 80%, #1a3868 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

/* Arka plan görseli */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
  filter: sepia(.3) brightness(1.2);
}

/* Merkez metin bloğu */
.hero-cinema-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 40px;
  max-width: 960px;
  margin-bottom: clamp(180px, 24vw, 320px);
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}

.hero-title {
  font-family: var(--ff);
  font-size: clamp(72px, 12vw, 150px);
  line-height: .85;
  letter-spacing: -.03em;
  color: var(--cream);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .9s .5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-family: var(--ff);
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.65;
  color: var(--on-dark-70);
  max-width: 540px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}

/* ─── İSTANBUL SİLÜETİ ─── */
.hero-silhouette-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-silhouette-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: .55;
  mix-blend-mode: screen;
}

.hero-silhouette-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      #0a1e3c       0%,
      #0a1e3c       8%,
      transparent      38%,
      transparent      60%,
      #081828      100%
    ),
    linear-gradient(to right,
      #0a1e3c       0%,
      transparent      12%,
      transparent      88%,
      #0a1e3c      100%
    );
}

/* ─── İSTATİSTİK ÇUBUĞU ─── */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--gold-15);
  background: rgba(26, 16, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4;
  opacity: 0;
  animation: fadeIn .8s 1.2s forwards;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 36px;
  border-right: 1px solid var(--gold-10);
  transition: background .3s;
}

.hero-stat-item:first-child { border-left: 1px solid var(--gold-10); }

.hero-stat-item:hover { background: rgba(196, 154, 60, .06); }

.hero-stat-item .stat-n {
  font-family: var(--ff);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-item .stat-l {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-dark-70);
}

/* Scroll ipucu */
.scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s 1.6s forwards;
  pointer-events: none;
}

.scroll-hint span {
  font-size: 8px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--on-dark-60);
  display: block;
  margin-bottom: 10px;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold-30), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   BRAND LOGO
───────────────────────────────────────── */
.brand-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0 20px;
  background: var(--ink);
}

.brand-logo-img {
  max-width: 220px;
  width: 100%;
  opacity: .9;
  filter: drop-shadow(0 0 20px rgba(196,154,60,.15));
}

@media (max-width: 768px) {
  .brand-logo-img { max-width: 160px; }
}

/* ─────────────────────────────────────────
   KATEGORİ KARTLARI
───────────────────────────────────────── */
.cat-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  margin: 40px 60px 0;
}

.cat-section::before { display: none; }

.section-label {
  font-size: 13px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--on-dark-60);
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cat-section .section-label {
  color: var(--on-dark-70);
}

.student-videos-section .section-label {
  color: var(--moss);
  font-size: 13px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-20);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 0 60px;
}

.cat-card {
  background: rgba(26, 46, 74, 0.6); /* --ink2 rgba */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 24px 30px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: background .4s, transform .3s, box-shadow .3s, border-color .3s;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--cream);
}

.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.cat-card:hover { 
  background: rgba(30, 23, 16, 0.8);
  border-color: rgba(196, 154, 60, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover .cat-num { color: var(--gold); opacity: .2; }
.cat-card:hover .cat-arrow { transform: translate(4px, -4px); }

.cat-num {
  font-family: var(--ff);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  transition: color .4s, opacity .4s;
  margin-bottom: 20px;
}

.cat-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: .85;
  transition: opacity .4s;
}

.cat-card:hover .cat-icon {
  opacity: 1;
}

.cat-name {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 10px;
}

.cat-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-dark-70);
  margin-bottom: 16px;
  flex: 1;
}

.cat-arrow {
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: transform .3s;
  display: inline-block;
}

/* ─────────────────────────────────────────
   ÖĞRENCİ VİDEOLARI
───────────────────────────────────────── */
.student-videos-section {
  padding: 60px 0;
  position: relative;
  margin: 60px 60px 0;
}

.student-videos-section::before { display: none; }

.student-videos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.video-card {
  position: relative;
  background: var(--ink2);
  border: 1px solid rgba(196, 154, 60, .15);
  border-radius: 12px;
  padding: 16px 16px 10px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  width: 320px;
  flex: 0 0 320px;
}

.video-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.video-card:hover { 
  border-color: var(--gold);
  background: rgba(30, 23, 16, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.video-card:hover::before { transform: scaleX(1); }

.video-card-label {
  font-family: var(--ff);
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--gold);
  opacity: .6;
  margin-bottom: 14px;
}

.video-card .instagram-media {
  width: 288px !important;
  min-width: unset !important;
  max-width: 288px !important;
  margin: 0 !important;
  border-radius: 4px !important;
}

@media (max-width: 768px) {
  .student-videos-section { padding: 60px 24px; }
  .video-card { width: 100%; flex: 0 0 100%; }
  .video-card .instagram-media { width: 100% !important; max-width: 100% !important; }
}

/* ─────────────────────────────────────────
   AYET BÖLÜMÜ
───────────────────────────────────────── */
.verse-section {
  padding: 100px 60px;
  text-align: center;
  position: relative;
  background: rgba(26, 46, 74, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 80px 60px 40px;
  border-radius: 12px;
  border: 1px solid rgba(196, 154, 60, .1);
}

.verse-geo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .04;
  pointer-events: none;
}

.verse-arabic {
  font-family: var(--fa);
  font-size: clamp(32px, 5vw, 60px);
  color: var(--gold);
  direction: rtl;
  line-height: 1.7;
  margin-bottom: 24px;
  transition: opacity .6s ease;
}

.verse-tr {
  font-family: var(--ff);
  font-style: italic;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.6;
  color: var(--on-dark-70);
  max-width: 600px;
  margin: 0 auto 16px;
  transition: opacity .6s ease .1s;
}

.verse-src {
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--moss);
  transition: opacity .6s ease .15s;
}

/* ─────────────────────────────────────────
   RESPONSIVE — ANA SAYFA
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-cinema-content { margin-bottom: clamp(100px, 18vw, 180px); padding: 0 20px; }
  .hero-stat-item { padding: 10px 12px; }
  .hero-stat-item .stat-n { font-size: 18px; }
  .hero-stat-item .stat-l { font-size: 9px; letter-spacing: .18em; }

  /* Kategori bölümü — 60px yan margin kaldırıldı */
  .cat-section { padding: 40px 16px; margin: 30px 0 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; padding: 0; gap: 12px; }
  .cat-card { padding: 24px 18px 20px; min-height: 200px; }
  .cat-num { font-size: 52px; margin-bottom: 12px; }
  .cat-name { font-size: 22px; }
  .cat-desc { font-size: 14px; }

  /* Ayet bölümü — yan margin kaldırıldı */
  .verse-section { padding: 60px 20px; margin: 30px 12px; }

  /* Öğrenci videoları — yan margin kaldırıldı */
  .student-videos-section { margin: 40px 0 0; padding: 40px 16px; }

  .scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-stat-item { padding: 10px 10px; }
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat-item { flex: 1 1 45%; border-bottom: 1px solid var(--gold-10); }
}
