/* ===== RESET & TEMEL AYARLAR ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #FFD700; /* Sarı - Otomotiv teması */
  --primary-dark: #E6C200;
  --secondary: #1a1a1a; /* Siyah */
  --secondary-light: #2d2d2d;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.25);
  --transition: all 0.3s ease;
  --radius: 8px;
  --container: 1200px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAV ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--secondary);
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-top {
  background: var(--primary);
  color: var(--secondary);
  padding: 8px 0;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}
.header-top a { color: var(--secondary); font-weight: 700; }
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.logo span { color: var(--primary); }
.nav-menu { display: flex; gap: 25px; }
.nav-menu a {
  color: var(--white);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-menu a:hover::after { width: 100%; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 110px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}
.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* ===== FEATURES ===== */
.features {
  padding: 60px 0;
  background: #f8f9fa;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.feature-card h3 { margin-bottom: 10px; color: var(--secondary); }

/* ===== SERVICES PREVIEW ===== */
.services-preview { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
}
.section-title p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card .icon {
  background: var(--secondary);
  color: var(--primary);
  padding: 20px;
  text-align: center;
  font-size: 2rem;
}
.service-card .content { padding: 25px; }
.service-card h3 { margin-bottom: 10px; color: var(--secondary); }

/* ===== LOCATIONS ===== */
.locations {
  padding: 60px 0;
  background: var(--secondary);
  color: var(--white);
}
.locations .section-title h2 { color: var(--white); }
.locations .section-title p { color: rgba(255,255,255,0.85); }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 30px;
}
.location-item {
  background: var(--secondary-light);
  padding: 15px 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
}
.location-item:hover, .location-item.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--secondary);
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== FIXED CALL BUTTON ===== */
.fixed-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.fixed-call a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366; /* WhatsApp yeşili */
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
  animation: pulse 2s infinite;
}
.fixed-call a:hover { transform: scale(1.05); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== MAP & CONTACT ===== */
.map-container {
  width: 100%;
  height: 400px;
  background: #e9ecef;
  border-radius: var(--radius);
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.blog-card .excerpt {
  padding: 25px;
  color: var(--text-light);
}
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 110px;
    left: -100%;
    width: 100%;
    background: var(--secondary);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: var(--transition);
  }
  .nav-menu.active { left: 0; }
  .hero { margin-top: 140px; padding: 60px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1.1rem; }
  .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; }
  .fixed-call a {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  :root { font-size: 14px; }
  .header-top { font-size: 0.85rem; }
  .logo { font-size: 1.3rem; }
}

/* ===== LAZY LOADING & PERFORMANCE ===== */
img[loading="lazy"] { min-height: 200px; background: #f0f0f0; }