/* ============================================================
   Kocaeli Çilingir — Ana Stil Dosyası
   Tasarım: evcilingiri.com.tr tarzı
   ============================================================ */

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

:root {
  --primary: #1a1f2e;
  --primary-dark: #0f1219;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --wa-green: #25d366;
  --wa-hover: #128c7e;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --text: #1f2937;
  --text-muted: #6b7280;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --container: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); line-height: 1.6; background: #fff; }

a { text-decoration: none; color: inherit; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--primary); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.header-top { background: var(--primary-dark); padding: 6px 20px; display: flex; justify-content: flex-end; gap: 20px; font-size: 13px; }
.header-top a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.header-top a:hover { color: var(--accent); }
.header-phone::before { content: ""; }
.header-wa { color: var(--wa-green) !important; }

.main-nav { padding: 0; }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 64px; }

.logo { font-size: 20px; font-weight: 800; color: var(--white); white-space: nowrap; flex-shrink: 0; }
.logo span { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.6); display: block; line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links ul { display: flex; }
.nav-iletisim { color: rgba(255,255,255,0.8); font-size: 14px; padding: 8px 12px; transition: color var(--transition); }
.nav-iletisim:hover { color: var(--accent); }
.nav-ara { font-size: 13px; padding: 10px 18px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { color: rgba(255,255,255,0.85); font-size: 14px; padding: 8px 12px; display: block; transition: color var(--transition); cursor: pointer; white-space: nowrap; }
.nav-dropdown > a:hover { color: var(--accent); }

.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px 0; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition); z-index: 999; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text); transition: background var(--transition); white-space: nowrap; }
.dropdown-menu li a:hover, .dropdown-menu li a.active { background: var(--gray-100); color: var(--accent); }
.dropdown-wide { min-width: 240px; columns: 2; }
.dropdown-wide li { break-inside: avoid; }

.nav-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; padding: 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: all var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-hover); color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,0.4); }

.btn-wa { background: var(--wa-green); color: white; }
.btn-wa:hover { background: var(--wa-hover); color: white; transform: translateY(-1px); }

.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--gray-100); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #2d3a5c 100%); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.hero-ilce { padding: 60px 0; }
.hero-content { max-width: 700px; position: relative; }
.hero-badge { display: inline-block; background: rgba(245,158,11,0.2); border: 1px solid rgba(245,158,11,0.4); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }

.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-accent { color: var(--accent); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.7; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 24px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); padding: 12px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section.bg-light { background: var(--gray-50); }
.section.bg-dark { background: var(--primary); color: white; }
.section.bg-primary { background: linear-gradient(135deg, var(--accent) 0%, #e68a00 100%); color: var(--primary); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.section-head p { font-size: 17px; color: var(--text-muted); }
.section-head.light h2 { color: white; }
.section-head.light p { color: rgba(255,255,255,0.7); }

/* ============================================================
   HİZMET GRID
   ============================================================ */
.hizmet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.hizmet-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: all var(--transition); display: block; }
.hizmet-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.hizmet-icon { font-size: 32px; margin-bottom: 16px; }
.hizmet-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.hizmet-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   NEDEN GRID
   ============================================================ */
.neden-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.neden-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.neden-icon { font-size: 36px; margin-bottom: 16px; }
.neden-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.neden-card p { color: var(--text-muted); font-size: 14px; }

/* ============================================================
   İLÇE GRID
   ============================================================ */
.ilce-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ilce-card { display: block; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.ilce-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ilce-card-inner { padding: 24px; }
.ilce-sure { display: inline-block; background: var(--accent); color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.ilce-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.ilce-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.ilce-link { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ============================================================
   MAHALLE GRID
   ============================================================ */
.mahalle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mahalle-card { display: flex; align-items: center; justify-content: space-between; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; font-weight: 500; transition: all var(--transition); }
.mahalle-card:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateX(4px); }
.mahalle-card:hover .mahalle-arrow { color: var(--accent); }
.mahalle-arrow { color: var(--text-muted); font-size: 12px; }

/* ============================================================
   ADIM GRID
   ============================================================ */
.adim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.adim-card { text-align: center; padding: 32px 24px; }
.adim-no { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--primary); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.adim-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; }
.adim-card p { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ============================================================
   YORUM GRID
   ============================================================ */
.yorum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.yorum-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.yorum-stars { color: var(--accent); font-size: 18px; margin-bottom: 12px; }
.yorum-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; font-style: italic; }
.yorum-card strong { font-size: 13px; color: var(--text); }

/* ============================================================
   SSS
   ============================================================ */
.sss-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.sss-item { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.sss-item summary { padding: 18px 24px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; transition: background var(--transition); }
.sss-item summary:hover { background: var(--gray-50); }
.sss-item summary::after { content: "+"; font-size: 20px; color: var(--accent); flex-shrink: 0; margin-left: 12px; }
.sss-item[open] summary::after { content: "−"; }
.sss-item[open] summary { background: var(--gray-50); color: var(--accent); }
.sss-item p { padding: 0 24px 18px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.iletisim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.iletisim-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all var(--transition); }
.iletisim-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.iletisim-icon { font-size: 40px; margin-bottom: 16px; }
.iletisim-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.iletisim-card p { color: var(--text-muted); font-size: 14px; }
.iletisim-card a { color: var(--accent); font-weight: 600; }

/* ============================================================
   DİĞER İLÇELER LİNKLERİ
   ============================================================ */
.diger-ilceler { display: flex; flex-wrap: wrap; gap: 10px; }
.diger-ilce-link { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 10px 18px; font-size: 14px; font-weight: 500; transition: all var(--transition); display: inline-block; }
.diger-ilce-link:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================================
   CONTENT TEXT
   ============================================================ */
.content-text { max-width: 800px; margin: 0 auto; }
.content-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.content-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; font-size: 16px; }
.hizmet-listesi { margin-top: 32px; background: var(--gray-100); border-radius: var(--radius); padding: 24px; }
.hizmet-listesi h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.hizmet-listesi ul { display: flex; flex-wrap: wrap; gap: 10px; }
.hizmet-listesi li a { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 8px 16px; font-size: 14px; display: block; transition: all var(--transition); }
.hizmet-listesi li a:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta { padding: 64px 0; }
.section-cta h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.section-cta p { font-size: 18px; margin-bottom: 32px; opacity: 0.85; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding: 64px 20px; }
.footer-col h3 { font-size: 20px; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col p { font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 14px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); transition: transform var(--transition), box-shadow var(--transition); }
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.fab-phone { background: var(--accent); }
.fab-wa { background: var(--wa-green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links ul { flex-direction: column; }
  .nav-dropdown > a { padding: 12px 16px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; background: rgba(255,255,255,0.05); }
  .dropdown-menu li a { color: rgba(255,255,255,0.8); }
  .dropdown-menu li a:hover { background: rgba(255,255,255,0.1); color: var(--accent); }
  .dropdown-wide { columns: 1; }
  .nav-toggle { display: block; }
  .nav-ara { display: none; }

  .hero-stats { gap: 20px; }
  .stat strong { font-size: 20px; }

  .hero-btns .btn { font-size: 15px; padding: 14px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hizmet-grid, .neden-grid, .ilce-grid { grid-template-columns: 1fr; }
  .yorum-grid { grid-template-columns: 1fr; }
  .adim-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .adim-grid { grid-template-columns: 1fr; }
  .mahalle-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
}
