/* === Fontlar & Renk Paleti === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@600&display=swap');

:root {
  --primary-color: #ff6f00;
  --secondary-color: #ffa726;
  --text-color: #333;
  --bg-light: #fff3e0;
  --gray: #ccc;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* === Genel Sıfırlama ve Gövde === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden; /* Yatay scroll bar'ı engeller */
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: #000000;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Navigasyon Menüsü === */
.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  background-color: #fff;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #ffe0b2;
}

/* === Hero Alanı === */
.hero {
  position: relative;
  background-image: url('../img/hero-banner.png'); /* senin görselin */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* === Butonlar === */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #e65c00;
}

/* === Canlı Chat Kutusu === */
.chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-family: var(--font-heading);
}

.chat-label {
  background-color: #25d366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.chat-box:hover .chat-label {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.chat-popup {
  display: none;
  background: white;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 0;
  width: 220px;
}

.chat-box:hover .chat-popup {
  display: block;
}

.chat-popup p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.chat-link {
  display: block;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s;
}

.chat-link:hover {
  background-color: #e55d00;
}

/* === Logo Boyutu === */
.logo {
  height: 60px;
  max-width: 200px;
  object-fit: contain;
}

/* === Navbar (İsteğe Bağlı Stil Genişletmesi) === */
.navbar {
  background-color: #ff6f00;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* === İletişim Sayfası === */
.contact {
  padding: 4rem 2rem;
  background: #fff3e0;
  text-align: center;
}

.contact h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #ff6f00;
  margin-bottom: 1rem;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
  font-size: 1.05rem;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn-primary {
  width: fit-content;
  margin-top: 0.5rem;
  justify-self: start;
  background-color: #ff6f00;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.contact-form .btn-primary:hover {
  background-color: #e65c00;
}

/* === Basit Matematik Doğrulama === */
.contact-form .captcha-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-form .captcha-group input[type="text"] {
  max-width: 120px;
}

/* === Doğrulama Sorusu Görünümü === */
.captcha-label {
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}