/*
 * Yılmaz Oto - Crane & Auto Template
 * Canlı, modern vinç ve oto çekici teması
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #e65100;
  --primary-dark: #bf360c;
  --primary-light: #ff8a50;
  --dark: #1a1a2e;
  --dark-soft: #16213e;
  --text: #2d3436;
  --text-muted: #636e72;
  --white: #fff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Top Bar ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  transition: background 0.3s;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  display: block;
}

.top-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.top-phone i {
  color: var(--primary);
}

.top-phone:hover {
  color: var(--primary-light);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../../images/header.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(22, 33, 62, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.4rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero .btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 81, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--primary);
  padding: 2rem 0;
  margin-top: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== Services ===== */
.services {
  padding: 5rem 0;
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(230, 81, 0, 0.15);
}

.service-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.service-body {
  padding: 1.5rem;
}

.service-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Crane Section ===== */
.crane-section {
  padding: 5rem 0;
  background: var(--white);
}

.crane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.crane-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.crane-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.crane-content .btn {
  margin-top: 1rem;
}

.crane-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.crane-img img {
  width: 100%;
  display: block;
}

/* ===== Contact ===== */
.contact {
  padding: 5rem 0;
  background: var(--dark);
  color: var(--white);
}

.contact .section-header h2 {
  color: var(--white);
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary-light);
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.contact .btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-soft);
  padding: 1.5rem;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== Mobile CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 1.5rem;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 500;
}

.mobile-cta:hover {
  color: var(--white);
  background: var(--primary-dark);
}

@media screen and (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  
  .services-grid { grid-template-columns: 1fr; }
  
  .crane-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .crane-img { order: -1; }
  
  .contact-actions { flex-direction: column; }
  
  .mobile-cta { display: flex; }
  
  body { padding-bottom: 4rem; }
}

@media screen and (max-width: 480px) {
  .hero { min-height: 90vh; padding-top: 5rem; }
  
  .top-phone span { font-size: 0.95rem; }
  
  .service-img { height: 180px; }
}
