/* --- 1. RESET VE DEĞİŞKENLER --- */
:root {
  --primary: #0F172A;      /* Gece Mavisi Header / Hero / Footer */
  --accent: #FF6B00;       /* Vurgu Turuncusu */
  --accent-hover: #e05e00;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Görsel Taşmalarını Önleyen Genel Kural */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 2. HEADER VE MENÜ (%60 DARALTILMIŞ BOŞLUKLAR) --- */
.header {
  background: var(--primary);
  padding: 0.3rem 1.5rem; /* Dikey boşluk %60 daraltıldı */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

/* Logo Alanı (Beyaz Kutu Kaldırıldı) */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.btn-header {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-header:hover {
  background: var(--accent-hover);
}

/* --- 3. HERO (GİRİŞ ALANI) --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1E293B 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-card img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

/* --- 4. HİZMETLER ALANI --- */
.services {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-top: 4px solid var(--accent);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- 5. FOOTER (ALT BİLGİ ALANI) --- */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 1.5rem 1.5rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: #64748B;
  font-size: 0.85rem;
}

/* --- 6. MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.5rem 1rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.6rem;
  }

  .nav-menu {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}