
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: Arial, sans-serif;
  color: white;
  gap: 20px;
  padding: 20px;

  /* Responsive arka plan */
  background-image: url("images/background.png");
  background-size: cover;       /* ekranı tamamen kaplar */
  background-position: center;  /* ortala */
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: bgZoom 20s ease-in-out infinite alternate;
}


@keyframes bgZoom {
  0% { background-size: cover; }
  100% { background-size: 110% auto; }
}

/* Logo animasyonu */
.logo {
  width: 50%;
  max-width: 300px;
  height: auto;
  opacity: 0;
  filter: blur(5px);
  animation: logoAppear 1.5s ease-out forwards;
}

@keyframes logoAppear {
  0% { transform: translateY(-50px); opacity: 0; filter: blur(5px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}

.fade-in {
  opacity: 0;
  filter: blur(3px);
  animation: fadeInUp 1s ease forwards;
}

/* Animasyon gecikmeleri */
.fade-in:nth-of-type(2) { animation-delay: 1.2s; } /* h1 */
.fade-in:nth-of-type(3) { animation-delay: 2.2s; } /* h2 */
.fade-in:nth-of-type(4) { animation-delay: 3.2s; } /* h3 */
.fade-in:nth-of-type(5) { animation-delay: 4s; }   /* ses çalar */


@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; filter: blur(3px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}


h1, h2, h3 {
  width: 100%;
  text-align: center;
  will-change: transform;
  transition: transform 0.2s ease-out;
}


h1 { font-size: 3vw; }
h2 { font-size: 2.5vw; }
h3 { font-size: 2vw; }


audio {
  width: 100%;
  max-width: 400px;
}


.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(-20px);
  animation: socialSlide 0.8s ease forwards;
  animation-delay: 1s; /* başlıklarla eşzamanlı */
}

@keyframes socialSlide {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.social-icon {
  width: 100px;
  height: 100px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}


@media (max-width: 768px) {
  .logo { width: 70%; }
  h1 { font-size: 5vw; }
  h2 { font-size: 4.5vw; }
  h3 { font-size: 4vw; }
}

@media (max-width: 480px) {
  .logo { width: 90%; }
  h1 { font-size: 6vw; }
  h2 { font-size: 5.5vw; }
  h3 { font-size: 5vw; }
  .social-icon { width: 80px; height: 80px; }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

a:hover ~ .cursor,
button:hover ~ .cursor {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 150, 0.4);
}

.trail {
  position: fixed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2000;
}


.blackout {
  background-color: black !important;
  transition: background-color 0.5s ease;
  color: white;
}


.flash {
  animation: flashEffect 0.2s ease;
}

@keyframes flashEffect {
  0% { background-color: white; }
  100% { background-color: black; }
}