 body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      color: #fff;
      background: #000;
      overflow-x: hidden;
    }

    /* Arka plan gradient + kayan yazı */
    .background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, #001f3f, rgba(0, 180, 255, 0.4));
      z-index: -2;
    }

    .scroll-text {
      position: fixed;
      top: 50%;
      left: 100%;
      white-space: nowrap;
      font-size: 6rem;
      font-weight: 900;
      color: rgba(0, 180, 255, 0.05);
      animation: slideText 20s linear infinite;
      z-index: -1;
      user-select: none;
    }

    @keyframes slideText {
      0% {
        left: 100%;
      }

      100% {
        left: -100%;
      }
    }

    /* Menü butonu */
    #toggleBtn {
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 1001;
      padding: 10px 15px;
      background-color: #00bcd4;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    /* Sidebar */
    .sidebar {
      position: fixed;
      left: -250px;
      top: 0;
      width: 250px;
      height: 100vh;
      background-color: #111;
      color: white;
      padding-top: 60px;
      transition: left 0.3s ease;
      z-index: 1000;
    }

    .sidebar.active {
      left: 0;
    }

    .sidebar ul {
      list-style: none;
      padding: 0;
    }

    .sidebar ul li {
      padding: 15px;
      border-bottom: 1px solid #222;
    }

    .sidebar ul li a {
      color: white;
      text-decoration: none;
      font-size: 18px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .sidebar ul li a:hover {
      color: #00ccff;
    }

    /* Hero */
    .hero {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
      flex-direction: column;
      text-align: center;
      z-index: 1;
      position: relative;
    }

    .hero h1 {
      font-size: 4rem;
      color: #00b4ff;
      text-shadow: 0 0 25px rgba(0, 180, 255, 0.6);
    }

    .hero p {
      font-size: 1.2rem;
      color: #ccc;
      margin-top: 15px;
    }

    /* Bölümler */
    .section {
      display: flex;
      flex-wrap: wrap;
      padding: 60px;
      gap: 40px;
      justify-content: center;
    }

    .card {
      background: rgba(0, 0, 0, 0.6);
      border-radius: 20px;
      padding: 20px;
      max-width: 400px;
      flex: 1 1 300px;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.8s ease;
    }

    .card.fade-in {
      opacity: 1;
      transform: translateY(0);
    }

    .card h2 {
      color: #00aaff;
      font-size: 24px;
      margin-bottom: 15px;
    }

    .card p {
      font-size: 16px;
      line-height: 1.5;
    }

    .card img {
      width: 100%;
      border-radius: 15px;
      margin-top: 15px;
    }

    /* Motivasyon */
    .nasil-calisir {
      background: linear-gradient(to bottom, #0e0e0e, #073c57);
      color: white;
      padding: 60px 20px;
      text-align: center;
    }

    .nasil-calisir h2 {
      font-size: 2.8rem;
      margin-bottom: 40px;
      font-weight: bold;
    }

    .nasil-calisir h2 span {
      color: #00ccff;
    }

    .alt-baslik {
      color: #00ccff;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .adimlar {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
    }

    .adim {
      flex: 1 1 300px;
      max-width: 350px;
      padding: 20px;
      border-radius: 15px;
      transition: transform 0.3s ease;
    }

    .adim img {
      width: 60px;
      margin-bottom: 15px;
    }

    .adim h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .adim p {
      font-size: 1rem;
      color: #cccccc;
    }

    .adim:hover {
      transform: translateY(-8px);
    }

    /* 360 Dönen Resimler */
    .slider-container {
  width: 100%;
  height: 260px; /* kutuların boyuna uygun */
  position: relative;
  perspective: 1000px;
  padding: 20px 0;
  overflow: hidden;
  margin-bottom: 60px; /* alttaki tabloyla çakışmayı engeller */
}

.slider {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: spin 30s linear infinite; /* daha yavaş döndürdüm */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide:hover {
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.8),
              0 0 60px rgba(0, 180, 255, 0.4);
  transform: scale(1.05);
  z-index: 1;
}

.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
  border-radius: 0 0 20px 20px;
}

/* 7 resim için açıları hesapladım (360/7 = 51.42°) */
.slide:nth-child(1) { transform: rotateY(0deg) translateZ(200px); }
.slide:nth-child(2) { transform: rotateY(51.42deg) translateZ(200px); }
.slide:nth-child(3) { transform: rotateY(102.84deg) translateZ(200px); }
.slide:nth-child(4) { transform: rotateY(154.26deg) translateZ(200px); }
.slide:nth-child(5) { transform: rotateY(205.68deg) translateZ(200px); }
.slide:nth-child(6) { transform: rotateY(257.1deg) translateZ(200px); }
.slide:nth-child(7) { transform: rotateY(308.52deg) translateZ(200px); }

@keyframes spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}


    .caption {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 10px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      color: #fff;
      font-size: 14px;
      text-align: center;
      font-weight: 600;
      letter-spacing: 0.5px;
      border-radius: 0 0 18px 18px;
    }




    .caption {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 10px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      color: #fff;
      font-size: 14px;
      text-align: center;
      font-weight: 600;
      letter-spacing: 0.5px;
      border-radius: 0 0 18px 18px;
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }

      /* yavaş kayma */
    }


    .caption {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 10px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      color: #fff;
      font-size: 14px;
      text-align: center;
      font-weight: 600;
      letter-spacing: 0.5px;
      border-radius: 0 0 18px 18px;
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }

      /* sonsuz kayma efekti */
    }



    body {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
      background: linear-gradient(-45deg, #0f0f0f, #1a1a40, #001f3f, #000);
      background-size: 400% 400%;
      animation: gradientBG 12s ease infinite;
      color: white;
    }

    @keyframes gradientBG {
      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }
    }

    header {
      position: relative;
      text-align: center;
      padding: 40px 20px;
      overflow: hidden;
    }

    header h1 {
      font-size: 3rem;
      color: #fff;
      position: relative;
      z-index: 2;
    }

    /* 🔥 Kayan yazı arka planı */
    .marquee {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      white-space: nowrap;
      overflow: hidden;
      z-index: 1;
      opacity: 0.15;
    }

    .marquee span {
      display: inline-block;
      padding-left: 100%;
      font-size: 4rem;
      font-weight: bold;
      animation: marquee 12s linear infinite;
      color: #00bfff;
      text-shadow: 0 0 10px #00bfff, 0 0 20px #0077ff, 0 0 40px #00bfff;
    }

    @keyframes marquee {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-100%);
      }
    }

    main {
      max-width: 800px;
      margin: 40px auto;
      text-align: center;
      padding: 20px;
    }

    .tanitim {
      font-size: 1.5rem;
      line-height: 1.6;
      color: #fff;
      text-shadow: 0 0 5px #00ffff, 0 0 15px #0077ff;
      margin-bottom: 40px;
    }

    /* 📊 Kalori Hesaplama Formu */
    .hesaplama {
      background: rgba(0, 0, 0, 0.6);
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
    }

    .hesaplama input,
    .hesaplama select {
      padding: 10px;
      margin: 10px 0;
      border-radius: 10px;
      border: none;
      width: 100%;
      font-size: 1rem;
    }

    .hesaplama button {
      padding: 12px 20px;
      font-size: 1rem;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      background: #00bfff;
      color: white;
      font-weight: bold;
      transition: 0.3s;
    }

    .hesaplama button:hover {
      background: #0077ff;
    }

    .sonuc {
      margin-top: 20px;
      font-size: 1.2rem;
      font-weight: bold;
      color: #00ffcc;
      text-shadow: 0 0 10px #00ffcc;
    }


    .instagram {
      margin-top: 40px;
      text-align: center;
    }

    .insta-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      background: #111;
      padding: 12px 20px;
      border-radius: 30px;
      border: 1px solid #e1306c;
      transition: 0.3s;
      color: white;
    }

    .insta-link:hover {
      background: #e1306c;
      color: white;
    }

    .insta-link span {
      font-size: 18px;
      font-weight: bold;
    }

    /* Eğer Instagram logosu eklemek istersen */
    .insta-logo {
      width: 30px;
      height: 30px;
      border-radius: 8px;
    }
    /*animasyon*/
  /* Giriş ekranı */
  #intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    color: #00bfff;
    font-family: 'Segoe UI', sans-serif;
  }

  #intro h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 0 25px #00bfff, 0 0 50px #0077ff;
    transform: scale(0.2);
    opacity: 0;
    animation: popIn 1s forwards;
  }

  @keyframes popIn {
    0% {
      transform: scale(0.2);
      opacity: 0;
    }
    60% {
      transform: scale(1.3);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* Dumbbell animasyonu */
  .dumbbell {
    width: 80px;
    height: 20px;
    background: #00bfff;
    border-radius: 5px;
    position: relative;
    margin-top: 30px;
    animation: lift 1s infinite ease-in-out;
  }

  .dumbbell::before,
  .dumbbell::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 20px;
    height: 40px;
    background: #0077ff;
    border-radius: 5px;
  }

  .dumbbell::before {
    left: -25px;
  }

  .dumbbell::after {
    right: -25px;
  }

  @keyframes lift {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }

  /* Animasyon bitince intro kaybolur */
  .hide-intro {
    animation: fadeOut 1s forwards;
  }

  @keyframes fadeOut {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }
