/* GENEL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: black;
  color: white;
}

/* ARKA PLAN VIDEO */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

/* GİRİŞ EKRANI */
#enter-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
}

#enter-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.enter-text {
  font-size: 2rem;
  cursor: pointer;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 30px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-logo {
  height: 110px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ccc;
}

.divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
}

/* CONTAINER */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  text-align: center;
}

.logo {
  font-size: 3rem;
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
}

.logo {
  position: relative; /* Sparkle'lar buna göre konumlanacak */
  display: inline-block;
}

.sparkle {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  animation: sparkleFade 1s ease-out forwards;
  box-shadow: 0 0 6px 2px white;
  z-index: 2;
}

.subtitle {
  margin-top: 1rem;
  font-size: 1.2rem;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.page-footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  z-index: 2;
}

.byline {
  font-size: 0.7rem;
  color: #555;
  margin-top: 4px;
}

footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #666;
}

/* SOSYAL */
.social-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  gap: 15px;
  font-size: 24px;
}

.social-icons a {
  color: white;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #1db954;
}

/* ANİMASYONLAR */
@keyframes sparkleFade {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.5); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* GEÇİŞLER */
.slide-out {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.4s ease;
}

.slide-in {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.4s ease;
}
/* Slide out animasyonu */
.slide-out {
  animation: slideOut 0.4s forwards ease-out;
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Slide in animasyonu */
.slide-in {
  animation: slideIn 0.4s forwards ease-out;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Sadece ilk girişte kullanılır */
.fade-up-once {
  animation: fadeUp 1s ease-out forwards;
}

/* Slide animasyonları */
@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(50px); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-out {
  animation: slideOut 0.4s forwards;
}

.slide-in {
  animation: slideIn 0.4s forwards;
}

.about-text {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #ccc;
}

.page-footer {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 20px 0;
  border-top: 1px solid #333;
  margin-top: 40px;
}

.byline {
  margin-top: 5px;
  font-style: italic;
  color: #666;
}
