/* Modern & Fast CSS for Cep Nakliye - Mobile First Strategy */

:root {
  --primary: #f97316;
  /* Turuncu - Butonlar ve Dikkat Çeken Öğeler */
  --primary-hover: #ea580c;
  /* Koyu Turuncu - Hover Efekti */
  --secondary: #1e3a8a;
  /* Lacivert - Ana Renk (Header / Hero) */
  --heading: #0f172a;
  /* Koyu Lacivert - Başlıklar */
  --whatsapp: #25d366;
  /* WhatsApp Yeşili */
  --whatsapp-hover: #128c7e;
  --bg-color: #ffffff;
  /* Beyaz - Ana Arka Plan */
  --text-dark: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15), 0 6px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* Reset & Accessibility */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.top-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.header-phone {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(255, 87, 34, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}

.header-phone:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.header-phone i {
  font-style: normal;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 58, 138, 0.88), rgba(15, 23, 42, 0.90)), url('assets/hero_bg.png') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative Background Element */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 15px rgba(255, 87, 34, 0.4);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

/* Pulse Animation for Primary CTA */
.pulse-effect {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 87, 34, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-badges span {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Services Grid */
.services {
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  color: var(--heading);
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Sadece Mobilde Tıklanabilir WhatsApp Bağlantıları */
.mobile-wa-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.feature-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--heading);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* SEO Content Area */
.seo-content {
  padding: 40px 20px 80px;
  background-color: var(--white);
  border-radius: 12px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-sm);
}

.seo-content h2 {
  font-size: 1.8rem;
  color: var(--heading);
  margin-bottom: 20px;
}

.seo-content p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Footer & Internal Linking */
footer {
  background-color: var(--heading);
  color: #cbd5e1;
  padding: 60px 0 20px;
  margin-bottom: 70px;
  /* Leave space for sticky CTA on mobile */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-contact h3,
.footer-links h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--primary);
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links a {
  transition: color 0.2s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
}

/* -------------------------------------------
   STICKY MOBILE CALL BUTTON (DÖNÜŞÜM ODAKLI)
------------------------------------------- */
.sticky-call-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--whatsapp);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  font-size: 1.2rem;
  font-weight: 800;
  z-index: 1000;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
  animation: bg-pulse-green 2s infinite;
}

.sticky-call-btn .icon {
  margin-right: 10px;
  font-size: 1.4rem;
}

@keyframes bg-pulse-green {
  0% {
    background-color: var(--whatsapp);
  }

  50% {
    background-color: #1ebd5b;
  }

  100% {
    background-color: var(--whatsapp);
  }
}

/* Responsive (Desktop) Adjustments */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: row;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  /* Masaüstünde tıklamayı ve link imlecini iptal et (SEO dostu salt metin gibi davranır) */
  .mobile-wa-link {
    pointer-events: none;
    cursor: default;
  }

  /* Kartların kendi hover efekti için engellemeyi kaldırıyoruz */
  .mobile-wa-link .feature-card {
    pointer-events: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* On desktop, make the sticky button smaller and put it on bottom right instead of full width */
  footer {
    margin-bottom: 0;
  }

  .sticky-call-btn {
    width: auto;
    bottom: 30px;
    right: 30px;
    left: auto;
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: var(--shadow-lg);
  }
}