/* ==========================================================================
   Lastiktak Yılmazlar Otomotiv - Modern Otomotiv & Servis Tasarım Sistemi
   Mobil Öncelikli (Mobile-First & Ultra Responsive)
   Renk Paleti: Karbon Antrasit (#0a0d14, #121722), Alev Kırmızı (#ff3b30),
                Yarış Amber/Sarısı (#f59e0b), Metalik Gümüş (#e2e8f0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #121722;
  --bg-tertiary: #192030;
  --bg-card: rgba(22, 28, 42, 0.85);
  --bg-card-hover: rgba(28, 36, 54, 0.95);
  --bg-glass: rgba(18, 23, 34, 0.85);
  
  --primary-red: #ff3b30;
  --primary-red-hover: #e02d23;
  --primary-red-glow: rgba(255, 59, 48, 0.35);
  
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.35);
  
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-red: 0 0 25px var(--primary-red-glow);
  --shadow-glow-amber: 0 0 25px var(--accent-amber-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Genel Sıfırlama & Dokunmatik Optimizasyon */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 59, 48, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(10, 13, 20, 0.96), rgba(10, 13, 20, 0.96)),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Butonlar
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  min-height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), #dc2626);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-red-glow);
}

.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 59, 48, 0.5);
  background: linear-gradient(135deg, #ff4d42, #ef4444);
}

.btn-amber {
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  color: #0a0d14;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--accent-amber-glow);
}

.btn-amber:hover, .btn-amber:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover, .btn-secondary:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.btn-call {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.btn-call:hover, .btn-call:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.55);
}

.btn-sm {
  padding: 0.5rem 1rem;
  min-height: 38px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  min-height: 52px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Üst Bilgi Çubuğu (Top Bar)
   ========================================================================== */
.top-bar {
  background-color: rgba(10, 13, 20, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item i {
  color: var(--accent-amber);
}

.top-bar-masters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.master-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-tertiary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 500;
}

.master-badge i {
  color: var(--primary-red);
}

/* ==========================================================================
   Ana Navigasyon (Header & Navbar)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  background: rgba(10, 13, 20, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px var(--primary-red-glow);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.1;
}

.logo-title span {
  color: var(--primary-red);
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-amber);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-red);
  transition: width var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  touch-action: manipulation;
}

/* ==========================================================================
   Hero Bölümü (Hero Section)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.4) saturate(1.2);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(10, 13, 20, 0.96) 0%, 
    rgba(10, 13, 20, 0.88) 50%, 
    rgba(10, 13, 20, 0.45) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.35);
  color: var(--primary-red);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.12;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-amber) 60%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Hızlı İletişim Ustalar Çubuğu (Master Quick Bar)
   ========================================================================== */
.quick-masters-section {
  position: relative;
  margin-top: -30px;
  z-index: 20;
}

.quick-masters-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.master-call-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-tertiary);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.master-call-card:hover, .master-call-card:active {
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.master-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 2px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ffffff;
  flex-shrink: 0;
}

.master-meta {
  flex: 1;
  min-width: 0;
}

.master-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.master-role {
  font-size: 0.72rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.master-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.master-buttons {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.master-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.master-btn-icon:hover, .master-btn-icon:active {
  transform: scale(1.1);
}

.master-btn-phone {
  background: var(--accent-blue);
}

.master-btn-wa {
  background: #25d366;
}

.quick-emergency-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emergency-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.emergency-title i {
  color: var(--primary-red);
  animation: pulse 1.5s infinite;
}

.emergency-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bölüm Başlıkları & Genel Bölümler
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-red);
  background: rgba(255, 59, 48, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.section-title span {
  color: var(--accent-amber);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Hizmetlerimiz (Services Grid & Tabs)
   ========================================================================== */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.tab-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  min-height: 42px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: 0 4px 15px var(--primary-red-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 48, 0.4);
  box-shadow: var(--shadow-glow-red);
}

.service-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.06);
}

.service-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.service-temsili-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.service-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 59, 48, 0.12);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.service-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-list li {
  font-size: 0.84rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li i {
  color: var(--accent-green);
  font-size: 0.75rem;
}

.service-card-action {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Online Randevu & Servis Talep Formu
   ========================================================================== */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.booking-info-pane {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(18, 23, 34, 0.95)), url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.booking-info-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 20, 0.88);
  z-index: 1;
}

.booking-info-content {
  position: relative;
  z-index: 2;
}

.booking-info-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.booking-info-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.booking-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.booking-perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #ffffff;
}

.booking-perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.booking-form-pane {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem; /* iOS zoom engellemek için 16px */
  transition: all var(--transition-fast);
  min-height: 48px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-glow);
  background: rgba(25, 32, 48, 0.95);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

/* ==========================================================================
   Galeri (Gallery Grid)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 13, 20, 0.95) 0%, rgba(10, 13, 20, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
}

.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 0.2rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-view-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* ==========================================================================
   Neden Biz & Yorumlar
   ========================================================================== */
.why-grid, .reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.why-card, .review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
  box-shadow: var(--shadow-glow-amber);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.why-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.55;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
}

.author-car {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   İletişim & Harita
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 59, 48, 0.12);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contact-val {
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 600;
}

.contact-subval {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  min-height: 380px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.map-btn-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 5;
}

/* ==========================================================================
   Alt Bilgi (Footer)
   ========================================================================== */
.footer {
  background-color: #06080d;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-about p {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.admin-link {
  color: var(--text-dim);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0.3rem 0;
}

.admin-link:hover {
  color: var(--primary-red);
}

/* ==========================================================================
   Sabit Mobil Hızlı Butonlar (Mobile Floating Action Bar)
   ========================================================================== */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 1rem;
  z-index: 1900;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
}

.floating-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.floating-bar-grid .btn {
  min-height: 46px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Modallar & Popuplar (Modals)
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal.active .modal-content,
.modal.active .modal-dialog-card {
  transform: translateY(0);
}

/* Yeni Kart Tabanlı Kaydırmalı Modal Yapısı (KVKK vb.) */
.modal-dialog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-dialog-header {
  position: relative;
  padding: 1.1rem 3.5rem 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.modal-dialog-body {
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  overscroll-behavior: contain;
}

.modal-dialog-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.modal-dialog-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  touch-action: manipulation;
  z-index: 10;
}

.modal-dialog-close:hover {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

.desktop-only {
  display: inline-flex !important;
}

@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  touch-action: manipulation;
}

.modal-close:hover, .modal-close:active {
  background: var(--primary-red);
  color: #ffffff;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
  max-width: 850px;
  padding: 1rem;
  background: rgba(10, 13, 20, 0.98);
}

.lightbox-image-container {
  width: 100%;
  max-height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lightbox-image-container img {
  max-height: 62vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  padding: 0.5rem;
  text-align: center;
}

/* ==========================================================================
   Yönetim Paneli (Admin)
   ========================================================================== */
.admin-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.status-bekliyor {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-onaylandi {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-tamamlandi {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.admin-table-container {
  overflow-x: auto;
  margin-top: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}

.admin-table th, .admin-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table th {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ==========================================================================
   Bildirimler (Toast Alerts)
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  max-width: 400px;
  margin-left: auto;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: rgba(18, 23, 34, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--primary-red);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
  pointer-events: auto;
}

.toast.success {
  border-left-color: var(--accent-green);
}

.toast.success i {
  color: var(--accent-green);
}

.toast.error {
  border-left-color: var(--primary-red);
}

.toast.error i {
  color: var(--primary-red);
}

/* ==========================================================================
   Animasyonlar
   ========================================================================== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE (Mobil & Tablet Kural Seti)
   ========================================================================== */

/* Tablet & Küçük Masaüstü (1024px altı) */
@media (max-width: 1024px) {
  .quick-masters-card {
    grid-template-columns: 1fr 1fr;
  }
  .quick-emergency-box {
    grid-column: span 2;
    text-align: center;
  }
  .booking-container {
    grid-template-columns: 1fr;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobil Cihazlar (768px altı) */
@media (max-width: 768px) {
  html {
    font-size: 13.5px; /* Mobilde tüm arayüz daha derli toplu ve kompakt */
  }

  body {
    padding-bottom: 72px; /* Sabit mobil alt bar için boşluk */
  }

  .top-bar {
    display: none; /* Mobilde temiz görünüm için üst bar gizlenir */
  }

  /* Bölüm Boşlukları: Sayfanın aşırı uzamasını engeller */
  .section {
    padding: 2.25rem 0;
  }

  .section-header {
    margin: 0 auto 1.75rem auto;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.4rem;
  }

  .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Mobil Menü */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .nav-actions .btn-whatsapp,
  .nav-actions .btn-primary,
  .nav-actions .btn-secondary {
    display: none !important;
  }

  .logo {
    max-width: calc(100% - 50px);
  }

  .logo-title {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo img {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0;
  }

  .mobile-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 10px;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Hero Bölümü: Kompakt & Etkili */
  .hero-section {
    padding: 1.75rem 0 1.5rem;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .hero-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding-top: 1rem;
  }

  .stat-number {
    font-size: 1.18rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  /* Ustalar Kartı */
  .quick-masters-section {
    margin-top: 0.75rem;
  }

  .quick-masters-card {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.75rem;
  }

  .master-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .master-name {
    font-size: 0.95rem;
  }

  .master-role {
    font-size: 0.65rem;
  }

  .master-phone {
    font-size: 0.8rem;
  }

  .master-btn-icon {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }

  .quick-emergency-box {
    grid-column: span 1;
    text-align: left;
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.2);
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
  }

  /* Hizmetler Sekmeleri ve Kartları */
  .services-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.76rem;
    min-height: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    border-radius: var(--radius-md);
  }

  .service-image-wrapper {
    height: 150px;
  }

  .service-body {
    padding: 1rem;
  }

  .service-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .service-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }

  .service-text {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .service-list {
    margin-bottom: 0.85rem;
    gap: 0.25rem;
  }

  .service-list li {
    font-size: 0.78rem;
  }

  .service-card-action {
    padding-top: 0.75rem;
    gap: 0.4rem;
  }

  .service-card-action .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  /* Randevu Formu & Bilgi Paneli */
  .booking-info-pane {
    padding: 1.25rem;
  }

  .booking-info-title {
    font-size: 1.25rem;
  }

  .booking-info-text {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .booking-feature-item {
    gap: 0.6rem;
    margin-bottom: 0.75rem;
  }

  .booking-feature-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .booking-feature-title {
    font-size: 0.88rem;
  }

  .booking-feature-desc {
    font-size: 0.75rem;
  }

  .booking-form-pane {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 0.85rem;
  }

  .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .form-control {
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem;
  }

  /* Neden Biz (Why Us) */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .why-card {
    padding: 1rem;
  }

  .why-card-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .why-card-title {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .why-card-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* İletişim & Harita */
  .contact-info-card {
    padding: 1.25rem;
  }

  .contact-title {
    font-size: 1.2rem;
  }

  .contact-item {
    gap: 0.75rem;
    margin-bottom: 0.9rem;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .contact-label {
    font-size: 0.72rem;
  }

  .contact-value {
    font-size: 0.88rem;
  }

  .map-wrapper, .map-wrapper iframe {
    min-height: 220px;
  }

  /* Modallar */
  .modal {
    padding: 0.5rem;
    align-items: center;
  }

  .modal-content {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    max-height: 85vh;
  }

  .modal-dialog-card {
    max-height: 88vh;
    border-radius: var(--radius-md);
  }

  .modal-dialog-header {
    padding: 0.9rem 1rem;
  }

  .modal-dialog-body {
    padding: 1rem 0.9rem;
    font-size: 0.84rem;
  }

  .modal-dialog-footer {
    padding: 0.75rem 1rem;
  }

  /* Sabit Alt Bar */
  .floating-mobile-bar {
    display: block;
    padding: 0.5rem 0.75rem;
    background: rgba(10, 13, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .floating-bar-grid {
    gap: 0.5rem;
  }

  .floating-mobile-bar .btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    min-height: 40px;
  }

  /* Oto Rehber Mobil Ayarları */
  .otopedia-search-container {
    margin-bottom: 1.5rem;
  }

  .guide-search-input {
    font-size: 0.88rem;
    padding: 0.75rem 2.6rem 0.75rem 2.8rem;
  }

  .search-icon {
    left: 1rem;
    font-size: 1rem;
  }

  .search-clear-btn {
    right: 0.8rem;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .guide-categories-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    gap: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .guide-cat-btn {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
  }

  .guides-count-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
  }

  .guides-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 2rem;
  }

  .guide-card {
    padding: 1.1rem;
    border-radius: var(--radius-md);
  }

  .guide-card-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .guide-card-cat-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .guide-card-title {
    font-size: 0.98rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
  }

  .guide-card-summary {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  .guide-read-meta {
    font-size: 0.72rem;
  }

  .guide-read-btn {
    font-size: 0.78rem;
  }

  .otopedia-footer-cta {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    gap: 1rem;
  }

  .otopedia-cta-content h3 {
    font-size: 1.15rem;
  }

  .otopedia-cta-content p {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer {
    padding: 2.25rem 0 4.5rem; /* Sabit alt barın yazıları kapatmasını kesin olarak engeller */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-about p {
    font-size: 0.82rem;
  }

  .footer-heading {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }

  .footer-links li a {
    font-size: 0.82rem;
  }

  .footer-disclaimer {
    margin-top: 1.5rem;
    padding: 0.85rem 0;
  }

  .footer-disclaimer p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .footer-bottom {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   Oto Rehber & Arıza Ansiklopedisi (OtoPedia) Stilleri
   ========================================================================== */
.otopedia-search-container {
  max-width: 860px;
  margin: 0 auto 2.5rem auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1.25rem;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-amber);
  font-size: 1.2rem;
  pointer-events: none;
}

.guide-search-input {
  width: 100%;
  background: rgba(18, 24, 38, 0.9);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 1.1rem 3.2rem 1.1rem 3.4rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.guide-search-input:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
  background: rgba(24, 32, 48, 0.98);
}

.search-clear-btn {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  background: var(--primary-red);
  color: #fff;
}

.guide-categories-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.guide-cat-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.guide-cat-btn:hover {
  border-color: var(--accent-amber);
  color: #fff;
  transform: translateY(-2px);
}

.guide-cat-btn.active {
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  border-color: var(--accent-amber);
  color: #0b0f19;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.guides-result-info {
  display: flex;
  justify-content: center;
}

.guides-count-badge {
  font-size: 0.8rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* Rehber Kartları Izgarası */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.guide-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-amber), var(--primary-red));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-md), 0 0 20px rgba(245, 158, 11, 0.15);
}

.guide-card:hover::before {
  opacity: 1;
}

.guide-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.guide-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.guide-card-cat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: var(--bg-tertiary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guide-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.guide-card:hover .guide-card-title {
  color: var(--accent-amber);
}

.guide-card-summary {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.guide-read-meta {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.guide-read-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-amber);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.guide-card:hover .guide-read-btn {
  gap: 0.6rem;
  color: #fff;
}

/* Rehber Okuyucu Modalı & Tip Kutuları */
.guide-reader-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.guide-reader-body h3 {
  color: #fff;
  font-size: 1.18rem;
  margin: 1.25rem 0 0.5rem 0;
  font-weight: 700;
}

.guide-reader-body p {
  margin-bottom: 0.85rem;
}

.guide-reader-body ul, .guide-reader-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.guide-reader-body li {
  margin-bottom: 0.4rem;
}

.guide-tip-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
}

.guide-tip-box h4 {
  color: var(--accent-amber);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-tip-box p {
  color: #e2e8f0;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.guide-danger-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #fca5a5;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guide-danger-alert i {
  color: #ef4444;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Alt CTA Banner */
.otopedia-footer-cta {
  background: linear-gradient(135deg, rgba(24, 32, 48, 0.9), rgba(15, 20, 32, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
}

.otopedia-cta-content h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.otopedia-cta-content p {
  color: #94a3b8;
  font-size: 0.92rem;
  max-width: 550px;
}

.otopedia-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Mobilde Yalnızca İlk 3 Yorumu Gösterme Kuralı */
@media (max-width: 768px) {
  .review-card-desktop {
    display: none !important;
  }
}

