/* ===== VARIABLES ===== */
:root {
  --bg: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-alt: #141414;
  --accent: #ff0000;
  --accent-hover: #cc0000;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --border: #2a2a2a;
  --navbar-h: 64px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', sans-serif; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}
.logo-icon {
  color: var(--accent);
  font-size: 1.6rem;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.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); }

/* ===== MOBİL MENÜ ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: var(--navbar-h);
  left: 0; right: 0;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 1rem 5%;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.mobile-link:hover { color: var(--text); background: var(--bg-alt); }

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--navbar-h) + 4rem);
  padding-bottom: 5rem;
  padding-left: 5%; padding-right: 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin: 1rem 0 2rem;
}
.featured-video h2 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ===== BUTTONS ===== */
.btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-subscribe:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--text); }

/* ===== FEATURED THUMBNAIL ===== */
.featured-thumb {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.featured-thumb:hover { transform: translateY(-3px); border-color: var(--accent); }
.featured-thumb img { width: 100%; display: block; object-fit: cover; }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.featured-play {
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}
.featured-thumb:hover .featured-play { transform: scale(1.1); background: var(--accent-hover); }
.featured-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 5%;
}
.section-alt { background: var(--bg-alt); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.section h2, .section-alt h2 {
  font-size: 1.8rem;
  font-weight: 700;
}
.section > h2, #iletisim > h2 { margin-bottom: 2.5rem; }

/* ===== VIDEO GRID ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.video-card:hover .card-thumb img { transform: scale(1.05); }

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 2.5rem;
  color: #fff;
}
.video-card:hover .play-icon { opacity: 1; }

.card-info { padding: 0.9rem 1rem; }
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-date { font-size: 0.8rem; color: var(--text-muted); }

/* ===== ABOUT ===== */
.about-container {
  display: flex;
  gap: 4rem;
  align-items: center;
}
.about-photo img {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  object-fit: cover;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); max-width: 500px; margin-bottom: 2rem; }

.stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.social-links h3, .contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.social-icons { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.social-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.social-icon:hover { transform: translateY(-3px); }
.social-icon.youtube:hover { color: #ff0000; border-color: #ff0000; }
.social-icon.instagram:hover { color: #e1306c; border-color: #e1306c; }
.social-icon.twitter:hover { color: #1da1f2; border-color: #1da1f2; }

.contact-email { color: var(--text-muted); font-size: 0.95rem; }
.contact-email i { margin-right: 6px; color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }

.form-success {
  display: none;
  color: #4caf50;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--navbar-h) + 2rem);
    min-height: auto;
    gap: 2rem;
  }
  .about-container { flex-direction: column; text-align: center; }
  .stats { justify-content: center; }
  .contact-container { grid-template-columns: 1fr; gap: 2rem; }
  .social-icons { justify-content: center; }
  .contact-email { text-align: center; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: calc(var(--navbar-h) + 1.5rem);
  }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }

  .section { padding: 3rem 1.2rem; }
  .section-alt { padding: 3rem 1.2rem; }
  .section-header { flex-direction: column; gap: 1rem; align-items: flex-start; }

  .video-grid { grid-template-columns: 1fr; }

  .about-photo img { width: 150px; height: 150px; }
  .stats { gap: 1.5rem; }
  .stat-num { font-size: 1.4rem; }

  .featured-title { font-size: 0.85rem; }
  .featured-play { width: 52px; height: 52px; font-size: 1.4rem; }

  .footer { padding: 1.5rem 1.2rem; }
}
