@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #0c0c0c;
  overflow: hidden;
  color: #fff;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
  gap: 20px;
  padding: 40px;
  background: radial-gradient(circle at 50% 0%, #323232 0%, #0c0c0c 100%);
  position: relative;
  z-index: 0;
}

.panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: filter 0.3s ease;
}

.panel video,
.panel img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.panel img {
  opacity: 0;
}

.panel:hover img {
  opacity: 1;
}

.container:hover .panel {
  filter: brightness(0.4);
}

.panel:hover {
  filter: brightness(1) !important;
  z-index: 2;
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
  pointer-events: none;
}

/* Yazı alanı her zaman ortada görünür */
.overlay-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 1rem 2rem;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* H1 (büyük başlık) */
.overlay-text h1 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin: 0;
  transition: transform 0.4s ease;
}

/* H2 (alt başlık) */
.overlay-text h2 {
  font-size: 3.2rem;
  font-weight: 1000;
  color: #eee;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
  margin: 0.2rem 0;
  transition: transform 0.4s ease;
}

/* Açıklama paragraflar */
.overlay-text .description {
  opacity: 0;
  transform: translateY(10px);
  font-size: 1rem;
  font-weight: 400;
  color: #eee;
  max-width: 320px;
  line-height: 1.5;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-top: 1rem;
}

/* Hover animasyonları */
.panel:hover .overlay-text h1 {
  transform: translateY(-30px);
}

.panel:hover .overlay-text h2 {
  transform: translateY(-20px);
}

.panel:hover .overlay-text .description {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px;
  }

  .panel {
    height: 33vh;
  }

  .overlay-text h2 {
    font-size: 2rem;
  }

  .overlay-text .description {
    font-size: 0.9rem;
    max-width: 90%;
  }
}

/* Üstteki Giriş/Kayıt Butonları */
.auth-buttons {
  position: fixed;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.auth-btn i {
  stroke: #fff;
  width: 20px;
  height: 20px;
}

/* Sosyal Medya İkonları */
.social-icons {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1001;
}

.social-icons a {
  font-size: 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.logo-center {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffffbb;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-center:hover {
  color: #ffffff;
}

.dev-icon {
  font-family: monospace;
  font-size: 1.6rem;
  opacity: 0.8;
  line-height: 1;
}


.copyright {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffffa0;
  font-size: 0.7rem;
  font-weight: 400;
  z-index: 1000;
  text-align: center;
  pointer-events: none;
  user-select: none;
}


.overlay-logo {
  opacity: 1 !important;
  transform: none !important;
}


.panel:hover .overlay-logo {
  opacity: 0 !important;
}

/* Mobilde gizle */
@media (max-width: 768px) {
  .overlay-logo {
    display: none;
  }
}

/* MOBİLDE AÇIKLAMA GÖRÜNMESİN */
@media (max-width: 768px) {
  .description {
    display: none;
  }
}

#transition-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#transition-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
  
}

