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

/* GENEL BODY + ARKA PLAN */
html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('images/demo1.png') no-repeat center center;
  background-size: cover;
  background-color: rgba(0,0,0,0.5);
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 20, 20, 0.95);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO ALANI */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 1.5em;
  font-weight: bold;
}

.navbar img.navbar-logo {
  width: 60px;
  height: 60px;
  border-radius: 60%;
  object-fit: cover;
  flex-shrink: 0;
}

/* NAV MENÜ (DESKTOP) */
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.nav-links li a {
  position: relative;
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  font-size: 1.05em;
  letter-spacing: 1px;
  transition: 0.3s;
}

/* Altın hover çizgisi */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.nav-links li a:hover {
  color: #fff;
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}

/* HAMBURGER (MOBİL) */
.hamburger {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* MOBİL MENÜ (SAĞDAN AÇILAN) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: rgba(15, 15, 15, 0.98);
  overflow-x: hidden;
  transition: right 0.4s;
  z-index: 2000;
  padding-top: 70px;
}

.mobile-menu a {
  padding: 12px 24px;
  text-decoration: none;
  font-size: 18px;
  color: #ddd;
  display: block;
  transition: 0.2s;
}

.mobile-menu a:hover {
  color: #FFD700;
}

.mobile-menu .closebtn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 32px;
  color: #fff;
}

/* JS ile open class'ı eklenince açılır */
.mobile-menu.open {
  right: 0;
}

/* ANA İÇERİK WRAPPER (ORTALAMA) */
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;  /* DİKEY ORTALAMA */
  height: 100%;
  padding: 30px 0;
  background-color: rgba(0,0,0,0.3);
}

/* ORTA KUTU */
.content-box {
  width: 70%;
  max-width: 900px;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  backdrop-filter: blur(5px);
  flex-wrap: wrap;  /* Mobile için alt alta gelecek */
}

/* Kutu içi bölümler */
.left-side, .right-side {
  flex: 1;
}

.left-side h1,
.right-side h1 {
  margin-bottom: 18px;
}

.left-side p,
.right-side p {
  margin-bottom: 14px;
}

/* Sosyal ikonlar */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-icon:hover {
  transform: scale(1.15);
}

/* FOOTER */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 12px 0;
  width: 100%;
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {

  .nav-links {
    display: none;    /* masaüstü menüyü gizle */
  }

  .hamburger {
    display: block;   /* hamburger göster */
  }

  .navbar {
    padding: 12px 16px;
  }

  .navbar .logo {
    font-size: 1.2em;
  }

  .navbar img.navbar-logo {
    width: 50px;
    height: 50px;
  }

  .wrapper {
    padding: 24px 10px 24px;
    align-items: center;
  }

  .content-box {
    width: 100%;
    max-width: 480px;
    flex-direction: column;   /* alt alta */
    padding: 24px 20px;
  }

  .left-side h1,
  .right-side h1 {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .navbar .logo {
    font-size: 1em;
  }

  .navbar img.navbar-logo {
    width: 44px;
    height: 44px;
  }

  .content-box {
    padding: 18px 16px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }
}
