/* style.css */

/* Genel ayarlar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background: #fafafa;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Logo ve navigasyon düzeni */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}

.logo  {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:transparent; /* Ana renk */
  font-family: 'Montserrat', sans-serif; /* Modern font önerisi */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Hafif gölge */
  transition: all 0.3s ease; /* Hover efekti için */
  margin: 0; /* Fazla boşluğu kaldırır */
  line-height: 1.2; /* Satır yüksekliği ayarı */
  background-image: url(../css/indir\ \(7\).jpg);
  background-size: contain;
  background-clip: text;
  
}

/* Hover efekti */
.logo h1:hover {
  transform: scale(1.02); /* Hafif büyütme */
}

nav {
  background-color: white;
  padding: 15px 0;
  text-align: center;
  

  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); // Kaldırdık */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px; /* Menü öğeleri arasındaki boşluk */
}

nav ul li {
  display: inline-block;
  position: relative;
}

nav ul li a {
  font-family: 'Times New Roman', serif; /* Burberry benzeri klasik bir serif font */
  font-size: 18px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  padding: 10px;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: black;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: black;
}


/* Hesap menüsü */
.account-menu-wrapper {
  position: relative;
}
#account-button {
  background: none;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
}
.account-menu {
  position: absolute;
  right: 0;
  top: 110%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
}
.account-menu-wrapper.active .account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.account-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}
.account-menu a:hover {
  background: #f5f5f5;
}

/* Container ve başlık */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.settings-header h1 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.settings-header p {
  color: #666;
  margin-bottom: 2rem;
}

/* Form stili */
form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #555;
}
.form-group input {
  font-size: 1rem;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-bottom-color: #333;
}
.hint {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.25rem;
}

/* Mesajlar */
.message {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
#error-message {
  background: #fdecea;
  color: #a94442;
}
#success-message {
  background: #e9f7ef;
  color: #3c763d;
}

/* Yükleniyor göstergesi */
#loading {
  display: none;
  text-align: center;
  margin: 1rem 0;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #eee;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Butonlar */
.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary {
  background: #f0f0f0;
  color: #555;
}
.btn-secondary:hover {
  background: #e0e0e0;
}
.btn-primary {
  background: #333;
  color: #fff;
}
.btn-primary:hover {
  background: #555;
}

/* Mobil uyumluluk */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
  nav ul {
    display: none;
  }
  nav.open ul {
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
  }
}
