@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0d1117;
  color: #e6edf3;
  overflow-x: hidden;
  position: relative;
}

/* ======= ARKA PLAN ANİMASYONU ======= */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(31,111,235,0.3), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(31,111,235,0.25), transparent 60%);
  animation: moveBg 10s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes moveBg {
  0% { background-position: 20% 30%, 80% 70%; }
  100% { background-position: 40% 40%, 60% 60%; }
}

/* ======= HEADER ======= */
header {
  background: rgba(22, 27, 34, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #1f6feb;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background 0.3s ease;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo h1 {
  color: #58a6ff;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px #1f6feb;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #e6edf3;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
  font-weight: 500;
}

nav ul li a:hover {
  color: #58a6ff;
  transform: scale(1.05);
}

/* ======= MOBİL MENÜ ======= */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: #e6edf3;
  height: 3px;
  width: 25px;
  margin: 4px;
  border-radius: 5px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(13, 17, 23, 0.95);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    border-left: 1px solid #1f6feb;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  nav ul.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }
}

/* ======= HERO ======= */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(31,111,235,0.1), transparent 70%);
  animation: rotateGlow 12s linear infinite;
  z-index: -1;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero h2 {
  font-size: 2.8rem;
  color: #58a6ff;
  text-shadow: 0 0 20px #1f6feb;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #c9d1d9;
  opacity: 0.9;
  animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  background: #1f6feb;
  color: white;
  padding: 0.8rem 1.5rem;
  margin: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 0 10px #1f6feb;
}

.btn:hover {
  background: #58a6ff;
  box-shadow: 0 0 25px #58a6ff;
  transform: translateY(-3px);
}

.btn.secondary {
  background: transparent;
  border: 2px solid #58a6ff;
  color: #58a6ff;
}

.btn.secondary:hover {
  background: #58a6ff;
  color: #fff;
}

/* ======= FEATURES ======= */
.features {
  padding: 4rem 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #58a6ff;
  text-shadow: 0 0 12px #1f6feb;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid #1f6feb20;
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px #000;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInCard 1s ease forwards;
}

.card:nth-child(odd) {
  animation-delay: 0.2s;
}
.card:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes fadeInCard {
  to { opacity: 1; transform: translateY(0); }
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px #1f6feb66;
  border-color: #58a6ff;
}

.card h3 {
  color: #58a6ff;
  margin-bottom: 0.8rem;
}

.card p {
  color: #c9d1d9;
  font-size: 0.95rem;
}

/* ======= ABOUT ======= */
.about {
  background: rgba(17, 24, 32, 0.9);
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  color: #58a6ff;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-shadow: 0 0 10px #1f6feb;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  color: #c9d1d9;
  font-size: 1rem;
}

/* ======= FOOTER ======= */
footer {
  background: rgba(13, 17, 23, 0.95);
  border-top: 1px solid #1f6feb40;
  text-align: center;
  padding: 1rem;
  color: #8b949e;
  font-size: 0.9rem;
}

footer strong {
  color: #58a6ff;
}
/* ======= KOMUT LİSTESİ ======= */
.commands {
  text-align: center;
  padding: 4rem 2rem;
}

.commands h2 {
  color: #58a6ff;
  text-shadow: 0 0 10px #1f6feb;
  margin-bottom: 1.5rem;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab {
  background: rgba(22, 27, 34, 0.8);
  border: 1px solid #1f6feb50;
  color: #e6edf3;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab.active {
  background: #1f6feb;
  color: #fff;
  box-shadow: 0 0 15px #1f6feb;
}

.tab:hover {
  background: #58a6ff;
  color: white;
}

.tab-content {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-content ul {
  list-style: none;
}

.tab-content li {
  margin: 0.8rem 0;
  padding: 0.8rem;
  background: rgba(22, 27, 34, 0.8);
  border-radius: 8px;
  border: 1px solid #1f6feb20;
}

.tab-content li strong {
  color: #58a6ff;
}

/* ======= GALERİ ======= */
.gallery {
  padding: 4rem 2rem;
  text-align: center;
}

.gallery h2 {
  color: #58a6ff;
  text-shadow: 0 0 10px #1f6feb;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  transition: all 0.4s ease;
  border: 1px solid #1f6feb30;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #1f6feb80;
}
/* ======= HERO ANİMASYONU ======= */
#animated-text {
  color: #58a6ff;
  font-size: 2.8rem;
  text-shadow: 0 0 20px #1f6feb;
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #58a6ff;
  width: fit-content;
  margin: 0 auto 1rem;
  animation: blink 0.8s step-end infinite alternate;
}

@keyframes blink {
  50% { border-color: transparent; }
}

#animated-subtext {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #c9d1d9;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
/* ======= GALLERY ======= */
.gallery {
  padding: 4rem 2rem;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #58a6ff;
  text-shadow: 0 0 12px #1f6feb;
}

.gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.gallery-item.reverse {
  flex-direction: row-reverse;
}

.gallery-image img {
  width: 480px;
  border-radius: 12px;
  border: 2px solid #1f6feb30;
  box-shadow: 0 0 20px #000;
  transition: all 0.4s ease;
}

.gallery-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px #1f6feb80;
}

.gallery-text {
  flex: 1;
  text-align: left;
  color: #c9d1d9;
}

.gallery-text h3 {
  color: #58a6ff;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.gallery-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .gallery-item {
    flex-direction: column !important;
    text-align: center;
  }
  .gallery-text {
    text-align: center;
  }
  .gallery-image img {
    width: 100%;
    max-width: 380px;
  }
}
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #6b73ff, #000dff);
  color: white;
}

#cta-button {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

#cta-button.glow {
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 5px #fff; transform: scale(1); }
  to { box-shadow: 0 0 20px #ff0; transform: scale(1.05); }
}
.feature-card {
  background: #111;
  color: white;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff;
}
.gallery img {
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ffd000;
}
.accent { color: #dadd0b; }
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  display: none;
  cursor: pointer;
}
/* === Navbar Temel Stil === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .logo img {
  width: 40px;
}

nav .logo h1 {
  color: #00aaff;
  font-size: 1.4rem;
}

/* === Menü bağlantıları === */
nav ul.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul.nav-links li a {
  color: #cde7ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav ul.nav-links li a:hover {
  color: #00aaff;
}

/* === Hamburger butonu (mobilde görünür) === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #00aaff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* === Mobil Uyum Ayarları === */
@media (max-width: 900px) {
  nav {
    padding: 15px 6%;
  }

  .menu-toggle {
    display: block;
  }

  nav ul.nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    width: 200px;
    gap: 15px;
    padding: 15px;
    border-left: 2px solid rgba(0, 170, 255, 0.3);
    box-shadow: -3px 0 10px rgba(0, 170, 255, 0.1);
    transform: translateX(110%);
    transition: transform 0.3s ease;
  }

  nav ul.nav-links.open {
    transform: translateX(0);
  }

  nav ul.nav-links li a {
    color: #d6ebff;
    font-size: 1.05rem;
  }

  /* Mobilde içerikler tek sütun */
  .features .grid,
  .gallery .gallery-item {
    flex-direction: column;
    align-items: center;
  }

  .gallery-image img {
    width: 100%;
    height: auto;
  }

  .gallery-text {
    text-align: center;
    margin-top: 10px;
  }
}

