/* =============================================
   istanbul-cekici.com - Ana CSS Dosyası
   ============================================= */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sarı: #f5a800;
  --sarı-koyu: #e09600;
  --siyah: #111111;
  --koyu-gri: #222222;
  --orta-gri: #555555;
  --açık-gri: #f4f4f4;
  --beyaz: #ffffff;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--koyu-gri);
  background: var(--beyaz);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   HEADER & NAV
   ============================================= */
header {
  background: var(--siyah);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: var(--sarı);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

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

.logo-text span:first-child {
  color: var(--sarı);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-text span:last-child {
  color: #aaa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 6px;
}

nav ul li a {
  color: #ccc;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--sarı);
  color: var(--siyah);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sarı);
  color: var(--siyah);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-phone:hover { background: var(--sarı-koyu); }

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--beyaz);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-wa:hover { background: #1ebe5d; }

.header-wa svg,
.header-phone svg { flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--beyaz); border-radius: 3px; transition: all 0.3s; }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--siyah) 0%, #1a1a1a 50%, #2a2000 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,168,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,168,0,0.15);
  border: 1px solid rgba(245,168,0,0.4);
  color: var(--sarı);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--beyaz);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--sarı); }

.hero p {
  color: #bbb;
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sarı);
  color: var(--siyah);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover { background: var(--sarı-koyu); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--beyaz);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--sarı); color: var(--sarı); }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--sarı); line-height: 1; }
.stat-label { color: #888; font-size: 13px; margin-top: 4px; }

/* =============================================
   SECTIONS
   ============================================= */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  background: rgba(245,168,0,0.1);
  color: var(--sarı);
  border: 1px solid rgba(245,168,0,0.3);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--siyah);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title span { color: var(--sarı); }

.section-desc {
  color: var(--orta-gri);
  max-width: 560px;
  margin-bottom: 50px;
  font-size: 17px;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* =============================================
   HİZMETLER KARTI
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--beyaz);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--sarı);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ddd; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(245,168,0,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--orta-gri); font-size: 14px; line-height: 1.6; }

/* =============================================
   NEDEN BİZ
   ============================================= */
.why-section { background: var(--açık-gri); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list { display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--beyaz);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.why-item-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--sarı);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.why-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--orta-gri); font-size: 14px; }

.why-visual {
  background: linear-gradient(135deg, var(--siyah), #1a1a1a);
  border-radius: 16px;
  padding: 50px 40px;
  color: var(--beyaz);
  text-align: center;
}

.img-visual {
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  position: relative;
  background: #111;
}

.img-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.img-visual:hover img { transform: scale(1.04); }

.why-visual-icon { font-size: 80px; margin-bottom: 20px; }
.why-visual h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.why-visual p { color: #bbb; margin-bottom: 28px; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--sarı);
  padding: 50px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-inner h2 { font-size: 1.8rem; font-weight: 800; color: var(--siyah); }
.cta-inner p { color: #333; margin-top: 6px; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--siyah);
  color: var(--beyaz);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.btn-dark:hover { background: #333; transform: translateY(-2px); }

/* =============================================
   BÖLGELER
   ============================================= */
.bolgeler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.bolge-item {
  background: var(--açık-gri);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--koyu-gri);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bolge-item:hover { background: var(--sarı); border-color: var(--sarı); color: var(--siyah); }

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--beyaz);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.blog-card-img {
  background: linear-gradient(135deg, var(--siyah), #2a2000);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

/* Resim yüklenemezse arka plan kalır */
.blog-card-img img[src=""],
.img-visual img[src=""] { opacity: 0; }

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 24px; }

.blog-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #999;
}

.blog-meta span { display: flex; align-items: center; gap: 4px; }

.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--orta-gri); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.read-more {
  color: var(--sarı);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.read-more:hover { gap: 10px; }

/* =============================================
   İLETİŞİM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--açık-gri);
  padding: 22px;
  border-radius: var(--radius);
}

.contact-card-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: var(--sarı);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.contact-card h4 { font-size: 14px; color: #888; margin-bottom: 4px; }
.contact-card p { font-size: 17px; font-weight: 700; }
.contact-card a { color: var(--sarı); }

/* Form */
.contact-form { background: var(--açık-gri); padding: 36px; border-radius: 12px; }
.contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #555; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s;
  background: var(--beyaz);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sarı);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  background: var(--sarı);
  color: var(--siyah);
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font);
}

.btn-submit:hover { background: var(--sarı-koyu); transform: translateY(-2px); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--siyah);
  color: #aaa;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p { font-size: 14px; line-height: 1.8; margin: 16px 0 20px; }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: #222;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--sarı); }

.footer-col h4 { color: var(--beyaz); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: #888; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--sarı); }

.footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  flex-wrap: wrap;
  gap: 10px;
}

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--sarı);
  color: var(--siyah);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(245,168,0,0.5);
  z-index: 9999;
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}

.floating-call:hover { transform: scale(1.1); }

.floating-wa {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: #25d366;
  color: var(--beyaz);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: transform 0.2s;
}

.floating-wa:hover { transform: scale(1.1); }
.floating-wa svg { width: 30px; height: 30px; fill: var(--beyaz); }
.floating-call svg { width: 28px; height: 28px; fill: var(--siyah); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245,168,0,0.5); }
  50% { box-shadow: 0 4px 40px rgba(245,168,0,0.8); }
}

/* =============================================
   PAGE HERO (İç Sayfalar)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--siyah), #1a1a1a);
  padding: 70px 0;
  text-align: center;
}

.page-hero h1 { color: var(--beyaz); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }
.page-hero p { color: #999; margin-top: 12px; font-size: 17px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #666; }
.breadcrumb a { color: var(--sarı); }
.breadcrumb span { color: #444; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 40px; }
}

@media (max-width: 768px) {
  nav, .header-phone, .header-wa { display: none; }
  .hamburger { display: flex; }

  nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--siyah);
    padding: 16px 20px;
    border-top: 1px solid #222;
  }

  nav.open ul { flex-direction: column; gap: 4px; }
  nav.open ul li a { display: block; padding: 12px 16px; font-size: 15px; }

  .why-grid,
  .contact-grid { grid-template-columns: 1fr; }

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

  .cta-inner { flex-direction: column; text-align: center; }

  .hero-stats { gap: 24px; justify-content: center; }

  section { padding: 60px 0; }

  .footer-bottom { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .bolgeler-grid { grid-template-columns: repeat(2, 1fr); }
}
