/* ============================================================
   Altınbaşak Evden Eve Nakliyat - Ana Stil Dosyası
   Tüm sayfalar için ortak CSS. Satır içi stil kullanılmaz.
   ============================================================ */

/* --- CSS Değişkenleri (Renk Paleti & Tipografi) --- */
:root {
  --color-primary: #c9a227;       /* Altınbaşak altın sarısı */
  --color-primary-dark: #a8861e;
  --color-secondary: #1a3a5c;     /* Güven veren lacivert */
  --color-secondary-light: #2a5080;
  --color-accent: #e8b923;
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fb;
  --color-border: #e2e8f0;
  --color-success: #25d366;       /* WhatsApp yeşili */
  --color-call: #1a3a5c;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --header-height: 80px;
  --mobile-bar-height: 64px;
}

/* --- Sıfırlama & Temel Ayarlar --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Mobilde alt yapışık bar için alt boşluk */
@media (max-width: 768px) {
  body {
    padding-bottom: var(--mobile-bar-height);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

ul {
  list-style: none;
}

/* --- Yardımcı Sınıflar --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.text-gold {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-secondary-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-mt {
  margin-top: 24px;
}

.btn-ml {
  margin-left: 12px;
}

.section-title-spaced {
  margin-top: 48px;
}

.article-cta-spaced {
  margin-top: 48px;
}

/* --- Üst Bilgi Bandı (Telefon) --- */
.top-bar {
  background: var(--color-secondary);
  color: #fff;
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: #fff;
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--color-accent);
}

.top-bar-phones {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Ana Navigasyon --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Masaüstü menü */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-primary);
}

/* Mobil hamburger menü butonu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobil açılır menü */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
  color: var(--color-text);
}

.nav-mobile a:hover {
  color: var(--color-primary);
}

/* --- Hero Bölümü --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 58, 92, 0.88) 0%,
    rgba(26, 58, 92, 0.65) 50%,
    rgba(201, 162, 39, 0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.9);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--color-accent);
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* --- Hizmetler Kartları --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Hakkımızda Bölümü --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-feature::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Galeri --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Süreç Adımları --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.process-step h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --- Bölgeler Grid --- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.region-link {
  display: block;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.region-link:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
  transform: translateX(4px);
}

/* --- SSS (FAQ) --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-align: left;
  font-family: var(--font-body);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-question .faq-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 18px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- İletişim Bölümü --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--color-text-light);
}

.contact-cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.contact-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-cta p {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* --- Alt Sayfa (Bölge Makalesi) --- */
.page-hero {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.85;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  opacity: 0.6;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-content h2 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  font-size: 1.6rem;
  margin: 40px 0 16px;
}

.article-content h3 {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.article-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.85;
}

.article-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.article-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-content img {
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

.article-cta {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 28px 32px;
  border-radius: var(--radius-sm);
  margin: 40px 0;
}

.article-cta h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.article-sidebar-links {
  background: var(--color-bg-alt);
  padding: 32px;
  border-radius: var(--radius);
  margin-top: 40px;
}

.article-sidebar-links h3 {
  color: var(--color-secondary);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--color-accent);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Mobil Yapışık Alt Bar (Sadece Mobil) --- */
.mobile-action-bar {
  display: none; /* Masaüstünde gizli */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--mobile-bar-height);
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--color-border);
}

.mobile-action-bar .bar-inner {
  display: flex;
  height: 100%;
}

/* Hemen Ara butonu */
.mobile-btn-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-call);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition);
}

.mobile-btn-call:hover {
  background: var(--color-secondary-light);
  color: #fff;
}

/* WhatsApp butonu */
.mobile-btn-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-success);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition);
}

.mobile-btn-whatsapp:hover {
  background: #1fb855;
  color: #fff;
}

.mobile-btn-call svg,
.mobile-btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Animasyonlar (Scroll Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive: Tablet --- */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-image img {
    height: 300px;
  }
}

/* --- Responsive: Mobil --- */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-stats {
    gap: 24px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  /* Mobil alt bar görünür */
  .mobile-action-bar {
    display: block;
  }

  .top-bar-phones {
    font-size: 0.8rem;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .regions-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Makale CTA butonlari mobilde alt alta */
  .article-cta .btn {
    display: block;
    width: 100%;
    margin: 8px 0 0;
  }

  .article-cta .btn-ml {
    margin-left: 0;
  }
}
