/* Çelikten Oto - Özel Kurumsal Stil Dosyası */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #d32f2f;
  --primary-hover: #b71c1c;
  --primary-light: rgba(211, 47, 47, 0.1);
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --steel: #334155;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Görsel Sığdırma ve Güvenlik */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Özel Mobil 2'li Grid */
.mobile-2col-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

@media (min-width: 768px) {
  .mobile-2col-grid {
    gap: 1.5rem !important;
  }
}

/* Kartlar ve Konteynerlar */
.service-card, .gallery-card, .feature-card {
  min-width: 0;
  word-break: break-word;
  transition: all 0.25s ease-in-out;
}

.service-card:hover, .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Mobil Menü */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background-color: #0f172a;
  z-index: 9999;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.5);
  overflow-y: auto;
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Sabit Mobil İletişim Çubuğu (Bottom Floating Bar) */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  z-index: 900;
  display: flex;
  gap: 8px;
}

@media (min-width: 768px) {
  .mobile-action-bar {
    display: none;
  }
}

/* Mobil bar için alt boşluk */
@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 1rem;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-modal img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: var(--primary);
}

/* Gradient Metin ve Arka Planlar */
.text-gradient {
  background: linear-gradient(135deg, #d32f2f 0%, #ff5252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-dark-mesh {
  background-color: #0b1120;
  background-image: radial-gradient(at 0% 0%, rgba(211, 47, 47, 0.15) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(30, 41, 59, 0.8) 0px, transparent 50%);
}

/* Sağa Kaymayı Engelleyici Emniyet */
.container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
