
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

::selection {
  color: #000;
  background: #fff;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */
nav {
  position: fixed;
  background: transparent;
  transition: background-color 0.4s ease;
  width: 100%;
  padding: 10px 0;
  z-index: 12;
}

nav .menu {
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
}

.menu .logo a {
  text-decoration: none;
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}

.menu .hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.menu ul {
  display: inline-flex;
}

.menu ul li {
  list-style: none;
  margin-left: 7px;
}

.menu ul li:first-child {
  margin-left: 0px;
}

.menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu ul li a:hover {
  background: #fff;
  color: black;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

/* HERO IMAGE */
.img {
  background: url("img.jpg") no-repeat;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.img::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* CENTERED TEXT ON HERO */
.center {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.center .title {
  color: #fff;
  font-size: 55px;
  font-weight: 600;
  margin-bottom: 20px;
}

.center .sub_title {
  color: #fff;
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 50px;
}

.center .btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.center .btns button {
  height: 55px;
  width: 170px;
  border-radius: 5px;
  border: 2px solid white;
  font-size: 20px;
  font-weight: 500;
  padding: 0 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.center .btns button:first-child {
  color: #fff;
  background: none;
}

.center .btns button:hover {
  background: white;
  color: black;
}

.center .btns button:last-child {
  background: white;
  color: black;
}

/* SECTION STYLES */
section {
  padding: 80px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 100px;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 600;
}

section p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 30px;
}

section a {
  display: inline-block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

section a:hover {
  background-color: #333;
}

/* FOOTER */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #ddd;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .menu .hamburger {
    display: block;
  }

  .menu ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 15px 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 20;
  }

  .menu ul li {
    margin: 10px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .menu ul li a {
    background-color: black;
    color: white;
    border: 1px solid black;
    padding: 10px 20px;
    border-radius: 8px;
    min-width: 130px;
  }

  .menu ul li a:hover {
    background-color: white;
    color: black;
    border-color: white;
  }

  .menu ul.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu ul.show li {
    opacity: 1;
    transform: translateY(0);
  }

  .center .title {
    font-size: 36px;
  }

  .center .sub_title {
    font-size: 30px;
  }

  .center .btns {
    flex-direction: column;
    gap: 10px;
  }

  .center .btns button {
    width: 80%;
    max-width: 220px;
    margin: 0 auto;
    height: 45px;
    font-size: 16px;
  }

  section {
    padding: 60px 10px;
  }

  .img {
    height: 60vh;
  }
}


/* --- Responsive YouTube Video Fix --- */
.youtube-section {
  background: white;
  position: relative;
  padding: 70px 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.video-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.youtube-frame {
  width: 250px;
  height: 440px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .video-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .youtube-frame {
    width: 100%;
    max-width: 350px;
    height: 420px;
  }
}

/* --- Center Buttonlar için Mobil Düzenleme (Watch Reels, About Us) --- */
@media screen and (max-width: 768px) {
  .center .btns {
    flex-direction: column;
    gap: 10px;
    display: flex;
  }

  .center .btns button {
    width: 80%;
    max-width: 220px;
    margin: 0 auto;
    height: 45px;
    font-size: 16px;
  }
}

.about-section {
  background-color: wheat;
  color: #000;
  padding: 80px 20px;
  text-align: center;
}

/* 🌙 DARK MODE */
body.dark-mode {
  background: #111;
  color: #eee;
}

body.dark-mode nav,
body.dark-mode footer {
  background-color: #222;
}

body.dark-mode section a {
  background-color: #fff;
  color: #000;
}

body.dark-mode .center .btns button {
  background: #fff;
  color: #000;
}

body.dark-mode .about-section {
  background-color: #333;
  color: #fff;
}

body.dark-mode .menu .logo a {
  color: #fff;
}

body.dark-mode .menu ul li a {
  color: #fff;
}

body.dark-mode .menu ul li a:hover {
  background: #fff;
  color: #000;
}

body.dark-mode .youtube-frame {
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

body.dark-mode .youtube-section {
  background: #111;
}

body.dark-mode h2 {
  color: #fff;
}

body.dark-mode section p {
  color: #ccc;
}

.alt-layout .media-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}
.alt-layout .media-row.reverse {
  flex-direction: row-reverse;
}
.text-block {
  flex: 1;
  min-width: 300px;
}
.video-block {
  flex: 1;
  min-width: 300px;
}
.text-block h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.text-block p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
}
.text-block a {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.text-block a:hover {
  background: #444;
}

/* 🌗 Tema butonu animasyonu */
#themeToggle {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#themeToggle:hover {
  transform: scale(1.1);
  background-color: #333;
}

/* Ana ekrandaki butonlara geçiş efekti */
.center .btns button {
  transition: all 0.3s ease, transform 0.3s ease;
}

.center .btns button:hover {
  transform: scale(1.05);
}

.platform-section {
  padding: 100px 20px;
  background: #f7f7f7;
  text-align: center;
}

body.dark-mode .platform-section {
  background: #111;
}

.platform-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  padding-top: 20px;
}

.platform-title::before {
  content: "";
  width: 60px;
  height: 4px;
  background: #000;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

body.dark-mode .platform-title::before {
  background: #fff;
}

.platform-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.platform-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body.dark-mode .platform-card {
  background: #1a1a1a;
  color: #eee;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.05);
}

.platform-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.platform-card p {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

body.dark-mode .platform-card p {
  color: #bbb;
}

.platform-card a {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: 500;
}

.platform-card a:hover {
  background: #333;
}

body.dark-mode .platform-card a {
  background: #fff;
  color: #000;
}

body.dark-mode .platform-card a:hover {
  background: #ccc;
}

/* Mobil */
@media (max-width: 768px) {
  .platform-grid {
    flex-direction: column;
    align-items: center;
  }

  .platform-card {
    width: 90%;
  }
}

.media-section {
  padding: 100px 30px;
  background: #111;
  color: #fff;
}

.media-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.media-video iframe {
  width: 560px;
  height: 315px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.media-text {
  max-width: 500px;
  text-align: left;
}

.media-text h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: 700;
}

.media-text p {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #ccc;
}

.media-text .btn-primary {
  background: white;
  color: black;
  padding: 12px 24px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
}

.media-text .btn-primary:hover {
  background: #ccc;
  color: black;
}

@media (max-width: 768px) {
  .media-row {
    flex-direction: column;
    text-align: center;
  }

  .media-text {
    text-align: center;
  }

  .media-video iframe {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .watch-reels-btn,
  .about-us-btn {
    display: none !important;
  }
}

/* TikTok embed'in yükseklik ve görünüm ayarı */
.tiktok-embed.youtube-frame {
  width: 250px;      /* YouTube iframe genişliği ile aynı */
  height: 440px;     /* YouTube iframe yüksekliği ile aynı */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.tiktok-embed.youtube-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive ayar */
@media screen and (max-width: 768px) {
  .tiktok-embed.youtube-frame {
    width: 100%;
    max-width: 350px;
    height: 420px;
  }
}

.video-grid {
  display: flex;
  gap: 1rem;       /* Videolar arası boşluk */
  flex-wrap: wrap; /* Küçük ekranlarda alt satıra geçsin */
  justify-content: center;
}

.instagram-media {
  width: 250px !important; /* Her video 350px genişlikte */
  height: 440px !important; /* Instagram Reels yüksekliği */
  max-width: 100%;
  border: none !important;
  border-radius: 8px;
  overflow: hidden;
}


.video-grid blockquote.instagram-media {
  display: inline-block;          /* ölçekleme için gerekli */
  position: relative;             /* z-index için */
  border-radius: 8px;             /* yuvarlatılmış köşe */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  will-change: transform;         /* performans için */
  overflow: visible !important;               /* köşeler kesilsin */
}

.video-grid blockquote.instagram-media:hover {
  transform: scale(1.05);
  overflow: visible !important;
  z-index: 20;                   /* üstte görünmesi için */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.instagram-wrapper {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.instagram-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  position: relative;
  z-index: 20;
}
