/* -------------------------------------------------------------
 * Diyarbakır Çelikler Oto Çekici - High Performance Responsive CSS
 * ------------------------------------------------------------- */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.25);
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --success: #16a34a;
  --whatsapp: #25d366;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font); color: var(--text-body); background-color: #0b0f19; }
body { line-height: 1.6; overflow-x: hidden; margin: 0; padding: 0; background-color: var(--white); }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Header & Nav */
.header { background: var(--primary); color: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }
.header-top { background: #020617; padding: 0.35rem 0; font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; }
.header-top-badge { background: var(--accent); color: var(--primary); font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; max-width: 260px; height: 50px; flex-shrink: 0; }
.logo-link img { width: 100%; height: 100%; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; margin: 0; padding: 0; }
.nav-links li { white-space: nowrap; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; display: inline-block; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.75rem; cursor: pointer; }

/* Hero Section */
.hero { position: relative; background: var(--primary); color: var(--white); padding: 5rem 0 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; z-index: 1; filter: brightness(0.9); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.75) 50%, rgba(15,23,42,0.85) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 820px; }

.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(245,158,11,0.15); border: 1px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 0.85rem; padding: 0.35rem 0.85rem; border-radius: 20px; margin-bottom: 1.25rem; }
.hero-title { font-size: 2.75rem; font-weight: 900; line-height: 1.15; margin-bottom: 1.25rem; letter-spacing: -0.5px; }
.hero-title span { color: var(--accent); }
.hero-desc { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 2rem; line-height: 1.6; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.btn-primary { background: var(--accent); color: var(--primary); font-weight: 800; padding: 0.95rem 1.75rem; border-radius: 10px; text-decoration: none; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.2s; box-shadow: 0 4px 14px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); font-weight: 800; padding: 0.95rem 1.75rem; border-radius: 10px; text-decoration: none; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.2s; box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: #20ba5a; transform: translateY(-2px); }

/* Hero 4 Features Grid - Exactly 4 in 1 Row on Desktop */
.hero-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.75rem; }
.feat-item { display: flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.05); padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); }
.feat-icon { font-size: 1.6rem; color: var(--accent); flex-shrink: 0; }
.feat-text strong { display: block; color: var(--white); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.feat-text span { font-size: 0.8rem; color: #94a3b8; white-space: nowrap; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-light { background-color: var(--bg-light); }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 3rem; }
.section-subtitle { color: var(--accent-hover); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.section-title { font-size: 2.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.75rem; }
.section-desc { color: var(--text-light); font-size: 0.95rem; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-img { width: 100%; height: 210px; object-fit: cover; background: #e2e8f0; }
.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-title { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.service-text { color: var(--text-body); font-size: 0.9rem; margin-bottom: 1.25rem; flex: 1; line-height: 1.5; }
.service-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 1rem; }
.btn-card-call { background: var(--primary); color: var(--white); text-decoration: none; padding: 0.45rem 0.9rem; border-radius: 6px; font-weight: 700; font-size: 0.85rem; transition: background 0.2s; }
.btn-card-call:hover { background: var(--accent-hover); }

/* Regions Grid */
.regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.75rem; }
.region-badge { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem 1rem; text-align: center; text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 0.9rem; transition: all 0.2s; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.region-badge:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px); }

/* Contact Section with 2 Columns: Decorative Info + WhatsApp Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.contact-info-card { background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%); color: #ffffff; border-radius: 14px; padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.1); }
.contact-badge-247 { background: rgba(245,158,11,0.2); border: 1px solid var(--accent); color: var(--accent); padding: 0.4rem 0.85rem; border-radius: 20px; font-weight: 800; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.25rem; width: fit-content; }
.contact-info-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.3; }
.contact-info-card p { color: #cbd5e1; font-size: 0.95rem; margin-bottom: 1.75rem; line-height: 1.6; }
.contact-direct-actions { display: flex; flex-direction: column; gap: 0.9rem; }
.btn-direct-tel { background: var(--accent); color: var(--primary); text-decoration: none; font-weight: 800; font-size: 1.05rem; padding: 0.9rem 1.25rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 0.6rem; transition: background 0.2s; }
.btn-direct-tel:hover { background: var(--accent-hover); color: var(--white); }
.btn-direct-wa { background: var(--whatsapp); color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.05rem; padding: 0.9rem 1.25rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 0.6rem; transition: background 0.2s; }
.btn-direct-wa:hover { background: #20ba5a; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 1.15rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; outline: none; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--text-body); margin-bottom: 1.5rem; }
.checkbox-group input { margin-top: 0.25rem; cursor: pointer; }
.checkbox-group a { color: var(--accent-hover); text-decoration: underline; }

/* Footer */
.footer { background: #0b0f19; color: #94a3b8; padding: 4rem 0 2rem; font-size: 0.9rem; margin: 0; border: none; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: 1.25rem; }
.footer-col p { line-height: 1.6; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-credits a { color: var(--accent); text-decoration: none; font-weight: 700; }
.footer-legal-links { display: flex; gap: 1rem; }
.footer-legal-links a { color: #94a3b8; text-decoration: none; }
.footer-legal-links a:hover { color: var(--white); }

/* Floating Sticky Mobile Bar */
.mobile-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); border-top: 1px solid rgba(255,255,255,0.1); padding: 0.6rem 0.85rem; z-index: 9999; box-shadow: 0 -4px 10px rgba(0,0,0,0.2); }
.mobile-sticky-inner { display: flex; gap: 0.6rem; max-width: 500px; margin: 0 auto; }
.btn-sticky-call { flex: 1; background: var(--accent); color: var(--primary); text-decoration: none; font-weight: 900; font-size: 0.95rem; padding: 0.75rem 0.5rem; border-radius: 8px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.btn-sticky-wa { flex: 1; background: var(--whatsapp); color: var(--white); text-decoration: none; font-weight: 900; font-size: 0.95rem; padding: 0.75rem 0.5rem; border-radius: 8px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { padding-bottom: 70px; } /* Only add bottom padding on mobile for sticky bar */
  .header-top { display: none !important; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg); }
  .nav-links.active { display: flex; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero-title { font-size: 2rem; }
  .hero-features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
  .mobile-sticky-bar { display: block; }
}
