/* Genel Ayarlar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ana Sayfa için özel stil */
.home-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.main-container {
  flex: 1 0 auto;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.home-page .main-container {
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
}

.home-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.home-page .header-section {
  text-align: center;
  margin-bottom: 50px;
  color: white;
}

.home-page .header-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.home-page .header-section .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.home-page .calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 1200px;
}

.home-page .calculator-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.home-page .calculator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.home-page .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.home-page .currency-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

.home-page .usd-icon {
  background: linear-gradient(45deg, #4caf50, #45a049);
}
.home-page .eur-icon {
  background: linear-gradient(45deg, #2196f3, #1976d2);
}
.home-page .gbp-icon {
  background: linear-gradient(45deg, #ff9800, #f57c00);
}
.home-page .cad-icon {
  background: linear-gradient(45deg, #9c27b0, #7b1fa2);
}
.home-page .chf-icon {
  background: linear-gradient(45deg, #ffd700, #daa520);
}
.home-page .krw-icon {
  background: linear-gradient(45deg, #a8a9ad, #91949c);
}
.home-page .azn-icon {
  background: linear-gradient(45deg, #007bff, #0056b3);
}
.home-page .sar-icon {
  background: linear-gradient(45deg, #28a745, #1e7e34);
}
.home-page .xau-icon {
  background: linear-gradient(45deg, #ffd700, #ffc107);
}

.home-page .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
}

.home-page .card-description {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.home-page .input-group {
  margin-bottom: 20px;
}

.home-page .input-field {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.home-page .input-field:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.home-page .calculate-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-page .calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.home-page .features {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.home-page .features h2 {
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 2rem;
}

.home-page .features-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.home-page .feature-item {
  text-align: center;
  padding: 20px;
  max-width: 250px;
}

.home-page .feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.home-page .feature-item h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.home-page .feature-item p {
  color: #7f8c8d;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* "kaç-tl" Sayfası için özel stil */
.converter-page {
  background: #f0f2f5;
}

.converter-page .main-container {
  background: #f0f2f5;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.converter-page .currency-converter-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.converter-page .converter-content {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.converter-page .seo-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.converter-page .input-section {
  margin-bottom: 2.5rem;
}

.converter-page .input-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.converter-page .input-group {
  display: flex;
  flex-direction: column;
}

.converter-page .input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.converter-page .input-group input,
.converter-page .input-group select {
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  background: #f9fafb;
  transition: all 0.3s ease;
  color: #1f2937;
}

.converter-page .input-group input:focus,
.converter-page .input-group select:focus {
  outline: none;
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.converter-page .result-section {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.converter-page .result-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.converter-page .result-label {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.converter-page .result-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1f2937;
}

.converter-page .rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.converter-page .rate-box {
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.converter-page .rate-box.buy {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
}

.converter-page .rate-box.sell {
  background-color: #fef2f2;
  border: 1px solid #fed7d7;
}

.converter-page .rate-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.converter-page .rate-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

.converter-page .update-info {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 1.5rem;
  font-style: italic;
}

.converter-page .chart-module {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.converter-page .chart-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.converter-page .chart-wrapper {
  height: 350px;
}

.converter-page .info-section {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.converter-page .info-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.converter-page .info-section p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Header için stil */
.site-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #667eea;
}

.search-bar input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-bar input:focus {
  border-color: #667eea;
}

/* Hamburger Menü Stilleri */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* İletişim Sayfası için stil */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.contact-container h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-container label {
  display: block;
  text-align: left;
  margin: 10px 0 5px;
}

.contact-container input,
.contact-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-container textarea {
  height: 100px;
}

.contact-container button {
  padding: 10px 20px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-container button:hover {
  background: #5068d2;
}

.success {
  color: green;
  margin: 10px 0;
}
.error {
  color: red;
  margin: 10px 0;
}

/* Admin Paneli için stil */
.admin-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

.admin-container table {
  width: 100%;
  border-collapse: collapse;
}

.admin-container th,
.admin-container td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.admin-container th {
  background: #f8f8f8;
  font-weight: 600;
}

.admin-container a {
  color: #dc3545;
  text-decoration: none;
}

.admin-container a:hover {
  text-decoration: underline;
}

/* Footer için stil */
footer {
  flex-shrink: 0;
  text-align: center;
  padding: 10px;
  background-color: #f8f9fa;
  width: 100%;
  margin-top: auto;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .home-page .container,
  .converter-page .currency-converter-container,
  .contact-container,
  .admin-container {
    padding: 15px;
  }

  .home-page .header-section h1,
  .converter-page .seo-title,
  .contact-container h1 {
    font-size: 2rem;
  }

  .home-page .calculator-card,
  .converter-page .converter-content {
    padding: 20px;
  }

  .converter-page .rates-grid {
    grid-template-columns: 1fr;
  }

  .converter-page .result-value {
    font-size: 2.5rem;
  }

  .site-header {
    padding: 10px;
  }

  .header-container {
    flex-wrap: wrap;
    align-items: center;
  }

  .hamburger-menu {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f8f8f8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }

  .main-nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .main-nav a {
    display: block;
    padding: 10px;
    font-size: 16px;
    border-bottom: 1px solid #e2e8f0;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .search-bar {
    margin-top: 10px;
    width: 100%;
    order: 3;
  }

  .search-bar input {
    width: 100%;
  }


  .home-page .features-grid {
    flex-direction: column;
    align-items: center;
  }

  .home-page .feature-item {
    max-width: 100%;
  }
}
.site-logo-link {
    /* order: 1;  <-- kaldırıldı */
    text-decoration: none;
    color: inherit;
}
.site-logo {
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}
