@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f172a;
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #1e293b;
  color: white;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.4em;
  font-weight: bold;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #60a5fa;
}

#darkModeToggle {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  color: yellow;
  padding: 6px;
  transition: transform 0.2s ease;
}

#darkModeToggle:hover {
  transform: scale(1.1);
}

/* Content */
.contact {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.contact h1 {
  font-size: 2.4em;
  margin-bottom: 10px;
  color: #3b82f6;
}

.contact p {
  color: #cbd5e1;
  margin-bottom: 40px;
}

.contact-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 1em;
  background-color: #1e293b;
  color: white;
  resize: vertical;
}

.contact-form button {
  background-color: #3b82f6;
  border: none;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #2563eb;
}

.contact-form .privacy {
  font-size: 0.9em;
  color: #94a3b8;
  margin-top: 10px;
}

/* Görsel */
.contact-visual {
  flex: 1;
  max-width: 400px;
  text-align: center;
}

.contact-visual img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* Sosyal Medya */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icons a {
  font-size: 1.6em;
  color: #cbd5e1;
  transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #60a5fa;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #1e293b;
  color: #94a3b8;
  font-size: 0.9em;
  margin-top: auto;
}

/* Dark Mode */
body.dark-mode {
  background-color: #f8fafc;
  color: #1e293b;
}

body.dark-mode .navbar {
  background-color: #e2e8f0;
  color: #1e293b;
}

body.dark-mode .nav-links li a {
  color: #1e293b;
}

body.dark-mode .nav-links li a:hover,
body.dark-mode .nav-links li a.active {
  color: #2563eb;
}

body.dark-mode .contact h1 {
  color: #1d4ed8;
}

body.dark-mode .contact p,
body.dark-mode .privacy {
  color: #475569;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background-color: #e2e8f0;
  color: #1e293b;
}

body.dark-mode footer {
  background-color: #e2e8f0;
  color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
}
