/*
Theme Name: ÇekiciPlus
Theme URI: https://cekiciplus.local/
Author: ÇekiciPlus
Author URI: https://cekiciplus.local/
Description: One-page WordPress teması. Alanya Kurtarıcı sitesinin görünümünü esas alır. Masaüstü, tablet ve mobil uyumlu. Tüm içerik, görseller, renkler ve butonlar yönetilebilir.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cekiciplus
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* Temel değişkenler (CSS custom properties) */
:root {
  --cp-color-primary: #0b5fff;
  --cp-color-secondary: #0a3fb0;
  --cp-color-accent: #00c853;
  --cp-color-dark: #0a0a0a;
  --cp-color-text: #1c1c1c;
  --cp-color-muted: #6b7280;
  --cp-bg: #ffffff;
  --cp-container: 1450px;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* Scrollbar themed to primary color */
html { scrollbar-color: var(--cp-color-primary) #f1f5f9; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #f1f5f9; }
*::-webkit-scrollbar-thumb { background: var(--cp-color-primary); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: var(--cp-color-secondary); }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--cp-color-text);
  background: var(--cp-bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--cp-container);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header / Navbar */
.cp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}
.cp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.cp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.cp-logo img { width: 240px; height: 55px; max-width: 240px; max-height: 55px; object-fit: contain; }
.custom-logo-link img { width: 240px; height: 55px; max-width: 240px; max-height: 55px; object-fit: contain; }
.cp-site-title { font-weight: 700; font-size: 18px; margin: 0; }

.cp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cp-nav a {
  text-decoration: none;
  color: var(--cp-color-text);
  font-weight: 600;
}
.cp-nav a:hover { color: var(--cp-color-primary); }

.cp-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.cp-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--cp-color-dark);
}

/* Hero */
.cp-hero {
  position: relative;
  padding: 0 0 0;
}
.cp-hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
}
.cp-hero-right { display: none; }
.cp-hero-left, .cp-hero-right { position: relative; overflow: hidden; }
.cp-hero-left img, .cp-hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.cp-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cp-hero-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cp-hero-center-inner { text-align: center; color: #fff; max-width: 1000px; padding: 0 16px; }
.cp-hero-center-inner h1 { font-size: 46px; line-height: 1.2; margin: 0 0 16px; position: relative; padding-bottom: 10px; }
.cp-hero-center-inner h1:after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 80px; height: 2px; background: var(--cp-color-primary); border-radius: 2px; }
.cp-hero-title-link { color: #ffffff; text-decoration: none; }
.cp-hero-title-link:hover { text-decoration: underline; }
.cp-hero-center-inner p { font-size: 15px; line-height: 1.5; margin: 0; color: #ffffff; opacity: 1; }
.cp-hero-rich { font-size: 15px; color: #ffffff; line-height: 1.5; }
.cp-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--cp-color-primary); color: #fff; border: 0; width: 34px; height: 34px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.cp-hero-arrow.left { left: 16px; }
.cp-hero-arrow.right { right: 16px; }
.cp-hero-features { background: #0b2854; color: #e5eefb; }
.cp-hero-features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 16px; }
.cp-hero-feature { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 6px 0; }
.cp-hero-feature i { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.25); color: #ffffff; }
.cp-hero h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px; }
.cp-hero p { font-size: 18px; color: var(--cp-color-muted); margin: 0 0 24px; }
.cp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--cp-color-primary);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.cp-hero-cta.secondary { background: var(--cp-color-accent); }

/* Smaller header call button */
.cp-header-call { padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.cp-header-call .cp-call-hover { display: none; }
.cp-header-call:hover .cp-call-default { display: none; }
.cp-header-call:hover .cp-call-hover { display: inline; }
.cp-btn-small { padding: 8px 12px; border-radius: 8px; font-size: 14px; }

/* Sections */
section.cp-section { padding: 56px 0; }
.cp-section-title { font-size: 25px; margin: 0 0 14px; position: relative; padding-bottom: 10px; }
.cp-section-title:after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 2px; background: var(--cp-color-primary); border-radius: 2px; }
.cp-section-sub { color: var(--cp-color-muted); margin: 0 0 24px; font-size: 15.5px; }

/* Services grid */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#services .cp-grid { grid-template-columns: repeat(3, 1fr); }
#contact .cp-grid { grid-template-columns: repeat(2, 1fr); }
.cp-card {
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}
.cp-card h3 { margin-top: 0; position: relative; padding-bottom: 8px; }
.cp-card h3:after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: var(--cp-color-primary); border-radius: 2px; }
/* Prevent long service descriptions from breaking layout */
#services .cp-card p {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
/* Service media box: 600x380 ratio, image contained (no crop) */
.cp-service-media { width: 100%; aspect-ratio: 600 / 380; background: #f8fafc; border-radius: 10px; overflow: hidden; display: block; }
.cp-service-media img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Blog preview */
/* Testimonials slider */
.cp-testimonials { position: relative; overflow: hidden; }
.cp-testimonials-track { display: flex; transition: transform .4s ease; gap: 20px; }
.cp-testimonial { flex: 0 0 100%; border: 1px solid #eef0f3; border-radius: 14px; background: #fff; padding: 24px; text-align: center; }
.cp-testimonial .cp-testimonial-text { font-size: 15px; color: #334155; margin: 0 0 14px; }
.cp-testimonial .cp-testimonial-stars { color: #f59e0b; margin-bottom: 8px; }
.cp-testimonial .cp-testimonial-author { font-weight: 700; }
.cp-testimonial .cp-testimonial-role { color: #64748b; font-size: 14px; }
.cp-testi-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--cp-color-primary); color: #fff; border: 0; width: 34px; height: 34px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.cp-testi-arrow.left { left: 8px; }
.cp-testi-arrow.right { right: 8px; }

/* Hide hero arrows only */
.cp-hero-arrow { display: none !important; }

/* Gallery */
/* FAQ */
.cp-faq { border: 1px solid rgba(0,0,0,0.04); border-radius: 12px; overflow: hidden; background: transparent; }
.cp-faq-item + .cp-faq-item { border-top: 1px solid rgba(0,0,0,0.06); margin-top: 9px; }
.cp-faq-q { width: 100%; text-align: left; margin: 0; }
.cp-faq-q > button { width: 100%; display:flex; align-items:center; justify-content: space-between; gap: 12px; text-align: left; padding: 14px 16px; font-weight: 700; font-size: 15.5px; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.06); border-left: 0; border-right: 0; cursor: pointer; border-radius: 8px; }
.cp-faq-left { display:flex; align-items:center; gap: 10px; }
.cp-faq-left i { color: var(--cp-color-primary); }
.cp-faq-chevron { color: #0f172a; opacity: 0.7; }
.cp-faq-a { padding: 10px 16px 16px; color: #475569; background: rgba(255,255,255,0.7); border-radius: 0 0 8px 8px; }

/* Footer */
.cp-footer { background: #0f172a; color: #cbd5e1; padding: 28px 0; }
.cp-footer a { color: #e2e8f0; text-decoration: none; }
.cp-footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.cp-footer-bottom { margin: 75px 0 0 0; font-size: 14px; background: var(--cp-color-primary); color: #fff; padding: 10px 0; }
.cp-footer-bottom-row { display:flex; align-items:center; justify-content: space-between; gap: 16px; }
.cp-footer-brand .custom-logo-link img { width: 120px; height: auto; max-height: 40px; object-fit: contain; }
.cp-footer-attr { display:none; }
.cp-footer-title { font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.cp-footer-menu { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-footer-menu a { display: inline-flex; padding: 6px 10px; background: rgba(255,255,255,0.06); border-radius: 8px; margin: 0; width: auto; }
.cp-footer-contact-item { display:flex; align-items:center; gap:10px; margin-bottom: 10px; }
/* Footer text sizing */
.cp-footer p,
.cp-footer .cp-footer-menu a,
.cp-footer .cp-footer-contact-item,
.cp-footer .cp-footer-contact-item a { font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .cp-section-title { font-size: 20px; }
  .cp-section-sub { font-size: 14.5px; }
  .cp-burger { display: block; }
  .cp-nav { display: none; }
  .cp-header .cp-header-call { display: none; }
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  #services .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-gallery { grid-template-columns: repeat(3, 1fr); }
  /* Tablet drawer 80% width from right */
  .cp-drawer-panel { width: 80%; right: -80%; }
}
@media (max-width: 768px) {
  .cp-section-title { font-size: 20px; }
  .cp-section-sub { font-size: 14.5px; }
  .cp-burger { display: block; }
  .cp-nav { display: none; }
  .cp-nav a { display:block; padding:10px 0; }
  .cp-header .cp-header-call { display: none; }
  .cp-hero-split { grid-template-columns: 1fr; min-height: 420px; }
  .cp-hero-center-inner h1 { font-size: 32px; }
  .cp-hero-center-inner p { font-size: 18px; }
  .cp-hero-features .container { grid-template-columns: repeat(2, 1fr); }
  .cp-hero-arrow { width: 34px; height: 34px; font-size: 16px; }
  .cp-testi-arrow { width: 34px; height: 34px; font-size: 16px; }
  .cp-grid { grid-template-columns: 1fr; }
  #services .cp-grid { grid-template-columns: 1fr; }
  #contact .cp-grid { grid-template-columns: 1fr; }
  .cp-gallery { grid-template-columns: repeat(2, 1fr); }
  .cp-footer-top { grid-template-columns: 1fr; }
  .cp-drawer-menu a { font-size: 14.5px; }
  /* Mobile drawer 70% width from right */
  .cp-drawer-panel { width: 70%; right: -70%; }
  /* Smaller header logo on mobile */
  .cp-header .custom-logo-link img,
  .cp-header .cp-logo img { width: 200px; height: 46px; max-width: 200px; max-height: 46px; }

  /* Footer bottom mobile: center stack */
  .cp-footer-bottom-row { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .cp-footer-brand .custom-logo-link img { width: 110px; max-height: 110px; }
  .cp-footer-attr { margin-left: 0; }
}

/* Drawer */
.cp-drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.cp-drawer-panel { position: absolute; top: 0; right: -50%; width: 50%; max-width: 360px; height: 100%; background:#fff; box-shadow: -8px 0 20px rgba(0,0,0,0.15); transition: right .25s ease; display:flex; flex-direction: column; z-index: 2; }
.cp-drawer-backdrop { position:absolute; inset:0; background: rgba(0,0,0,0.35); opacity:0; transition: opacity .25s ease; z-index: 1; }
.cp-drawer.open { pointer-events: auto; }
.cp-drawer.open .cp-drawer-panel { right: 0; }
.cp-drawer.open .cp-drawer-backdrop { opacity:1; }
.cp-drawer-header { display:none; }
.cp-drawer-close { background:none; border:0; font-size:20px; padding:6px; }
.cp-drawer-search { position:relative; padding:10px 14px; }
.cp-drawer-search input { width:100%; padding:10px 34px 10px 12px; border:1px solid #e5e7eb; border-radius:8px; }
.cp-drawer-search i { position:absolute; right:24px; top:50%; transform:translateY(-50%); color:#64748b; }
.cp-drawer-menu { display:flex; flex-direction:column; padding:8px 10px; gap:6px; }
.cp-drawer-menu a, .cp-drawer-link { display:flex; align-items:center; justify-content:space-between; padding:12px 10px; border-bottom:1px solid #f1f5f9; color:#0f172a; text-decoration:none; }
.cp-drawer-social { margin-top:auto; padding:12px 14px; display:flex; gap:12px; font-size:18px; }

/* Floating actions */
.cp-float-actions { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.cp-float-actions a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; }
.cp-float-wa { background: #25D366; }
.cp-float-call { background: var(--cp-color-primary); }


