/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #faf9f5;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 2px;
}

nav a:hover,
nav a.active {
  border-bottom: 2px solid #222;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.hero {
  text-align: center;
  padding: 100px 0 60px;
}

.hero h1 {
  font-size: 72px;
  font-weight: 300;
  letter-spacing: 3px;
  margin: 0;
}

.content {
  padding: 50px 0;
}

.text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.text-block p {
  margin-bottom: 20px;
  font-size: 18px;
}

footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ddd;
  margin-top: 50px;
  font-size: 14px;
  color: #666;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-size: 14px;
}

.cookie-banner button {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 6px 12px;
  margin-left: 12px;
  cursor: pointer;
  font-size: 14px;
}

.cookie-banner button:hover {
  background: white;
  color: #222;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    position: fixed; /* ← absolute yerine fixed */
    top: 70px; /* ← header yüksekliği + padding */
    right: 0;
    background: #faf9f5;
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: none;
    z-index: 10000; /* ← daha yüksek z-index */
    min-width: 200px;
    max-height: calc(100vh - 70px); /* ← ekranın altına taşmasın */
    overflow-y: auto; /* ← uzunsa kaydırma */
  }

  nav ul.show {
    display: flex;
  }

  nav li {
    margin: 8px 20px;
  }

  nav a {
    display: block;
    padding: 4px 0;
    text-align: right;
  }

  .hero h1 {
    font-size: 48px;
  }
}