/* Ankar Nakliyat - Ana Stil Dosyası */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #d32030;
  --primary-dark: #a01820;
  --primary-light: #f5e6e8;
  --dark: #1a1a1a;
  --gray: #555;
  --light-gray: #f4f4f4;
  --border: #e5e5e5;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.topbar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar a { color: var(--white); }
.topbar-left span { margin-right: 20px; }
.topbar-right a { margin-left: 15px; }

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .name { color: var(--primary); font-weight: 800; font-size: 22px; line-height: 1; }
.logo-text .sub { color: var(--gray); font-size: 12px; letter-spacing: 1px; }

nav ul { display: flex; list-style: none; gap: 5px; }
nav a {
  color: var(--dark);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  transition: 0.2s;
  font-size: 15px;
}
nav a:hover, nav a.active { background: var(--primary-light); color: var(--primary); }
.btn-phone {
  background: var(--primary);
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 6px;
  font-weight: 700;
}
.btn-phone:hover { background: var(--primary-dark) !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--dark);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(211,32,48,0.9), rgba(160,24,32,0.85)), url('../images/ankar-kamyon-ana.jpg') center/cover;
  color: white;
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.hero p { font-size: 20px; max-width: 800px; margin: 0 auto 30px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-outline:hover { background: white; color: var(--primary); }

/* Section */
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-title h2 span { color: var(--primary); }
.section-title p { color: var(--gray); font-size: 17px; max-width: 700px; margin: 0 auto; }

/* Features */
.features {
  background: var(--light-gray);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.feature-box {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.feature-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}
.feature-box h3 { color: var(--dark); margin-bottom: 10px; font-size: 18px; }
.feature-box p { color: var(--gray); font-size: 15px; }

/* Hizmetler Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .img-wrap { height: 200px; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.service-card:hover img { transform: scale(1.05); }
.service-card .content { padding: 25px; }
.service-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 20px; }
.service-card p { color: var(--gray); margin-bottom: 15px; font-size: 15px; }
.service-card .link-more {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* About Section */
.about { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.about-content h2 { font-size: 36px; margin-bottom: 20px; }
.about-content h2 span { color: var(--primary); }
.about-content p { color: var(--gray); margin-bottom: 15px; font-size: 16px; }
.about-list { list-style: none; margin: 20px 0; }
.about-list li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--dark);
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  background: var(--primary);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
}

/* Stats */
.stats {
  background: var(--primary);
  color: white;
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-box .number { font-size: 48px; font-weight: 800; line-height: 1; }
.stat-box .label { font-size: 16px; margin-top: 8px; opacity: 0.95; }

/* Gallery */
.gallery {
  background: var(--light-gray);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 250px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.gallery-item:hover img { transform: scale(1.08); }

/* İlçeler Grid */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.district-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: 0.2s;
  color: var(--dark);
  font-weight: 600;
  display: block;
}
.district-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-3px);
}
.district-card .icon { color: var(--primary); font-size: 24px; margin-bottom: 8px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 70px 0;
}
.cta h2 { font-size: 36px; margin-bottom: 15px; }
.cta p { font-size: 18px; margin-bottom: 25px; opacity: 0.95; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-box {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.contact-info-box h3 { color: var(--primary); margin-bottom: 15px; font-size: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px; }
.contact-item .icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-item .text strong { display: block; color: var(--dark); margin-bottom: 3px; }
.contact-item .text { color: var(--gray); }
.contact-item .text a { color: var(--primary); font-weight: 600; }

.contact-form { background: white; padding: 30px; border-radius: 12px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* İçerik / İç sayfa */
.page-header {
  background: linear-gradient(135deg, rgba(211,32,48,0.92), rgba(160,24,32,0.92)), url('../images/ankar-kamyon-ana.jpg') center/cover;
  color: white;
  padding: 70px 0 50px;
  text-align: center;
}
.page-header h1 { font-size: 40px; margin-bottom: 10px; }
.page-header .breadcrumb { font-size: 15px; opacity: 0.9; }
.page-header .breadcrumb a { color: white; }

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 50px 0;
}
.main-content { background: white; }
.main-content h2 { font-size: 28px; margin: 25px 0 15px; color: var(--dark); }
.main-content h2:first-child { margin-top: 0; }
.main-content h3 { font-size: 22px; margin: 20px 0 12px; color: var(--primary); }
.main-content p { margin-bottom: 15px; color: var(--gray); line-height: 1.8; font-size: 16px; }
.main-content ul { margin: 15px 0 15px 25px; }
.main-content ul li { margin-bottom: 8px; color: var(--gray); }
.main-content img { border-radius: 10px; margin: 20px 0; box-shadow: var(--shadow); }

/* Sidebar */
.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.sidebar-box h4 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 8px; }
.sidebar-list a {
  display: block;
  padding: 10px 12px;
  background: var(--light-gray);
  border-radius: 6px;
  color: var(--dark);
  font-weight: 500;
  transition: 0.2s;
  font-size: 14px;
}
.sidebar-list a:hover, .sidebar-list a.active {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}
.sidebar-cta h4 { color: white !important; border: none !important; padding: 0 !important; font-size: 20px; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; margin-bottom: 15px; opacity: 0.95; }
.sidebar-cta .phone {
  display: block;
  background: white;
  color: var(--primary);
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 18px;
  margin-top: 10px;
}

/* Footer */
footer {
  background: var(--dark);
  color: #bbb;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #bbb; transition: 0.2s; font-size: 14px; }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* Floating Buttons */
.float-call, .float-wp {
  position: fixed;
  z-index: 999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: 0.2s;
}
.float-call { bottom: 20px; right: 20px; background: var(--primary); }
.float-wp { bottom: 20px; right: 85px; background: #25d366; }
.float-call:hover, .float-wp:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 5px;
  }
  nav ul.show { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .section-title h2, .about-content h2, .cta h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left, .topbar-right { width: 100%; text-align: center; }
}
