
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f7;
  color: #111827;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top bar */

.top-bar {
  background: #020617;
  color: #e5e7eb;
  font-size: 13px;
  padding: 6px 0;
}

.top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.top-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-contact a { color: #e5e7eb; }

.top-whatsapp {
  padding: 2px 10px;
  border-radius: 999px;
  background: #22c55e;
  font-size: 12px;
  font-weight: 500;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15,23,42,.08);
  z-index: 900;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  height: 64px;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg,#fbbf24,#f97316);
  transition: width .2s ease;
}

.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg,#fbbf24,#f97316);
  color: #fff;
  box-shadow: 0 10px 26px rgba(248,163,15,.4);
}

.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

/* Hero */

.hero-section {
  padding: 64px 0;
  background: radial-gradient(circle at top left,#fef3c7 0,#f5f5f7 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: #fffbeb;
  border: 1px solid #fed7aa;
  color: #92400e;
}

.hero-text h1 {
  font-size: 36px;
  margin: 10px 0;
}

.hero-text p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn.primary {
  background: linear-gradient(135deg,#fbbf24,#f97316);
  color: #fff;
  box-shadow: 0 10px 26px rgba(248,163,15,.4);
}

.btn.primary:hover { transform: translateY(-1px); }

.btn.secondary {
  background: #111827;
  color: #f9fafb;
}

.btn.whatsapp {
  background: #22c55e;
  color: #052e16;
  box-shadow: 0 10px 24px rgba(34,197,94,.45);
}

.btn.whatsapp:hover { transform: translateY(-1px); }

.btn.ghost {
  background: rgba(255,255,255,.15);
  color: #111827;
  border: 1px solid rgba(255,255,255,.4);
}

.btn.full { width: 100%; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  padding: 8px 12px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
  font-size: 12px;
}

.hero-badge strong {
  display: block;
  font-size: 14px;
}

.hero-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15,23,42,.25);
}

/* Generic sections */

.section { padding: 56px 0; }
.section-alt { background: #f9fafb; }

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head.left { text-align: left; }

.section-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.section-head p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

/* Cards grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.card {
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,.1);
  background: #ffffff;
}

/* Renkli hizmet kartları */

.card.service {
  color: #f9fafb;
}

.service-1 { background: linear-gradient(135deg,#fbbf24,#f97316); }
.service-2 { background: linear-gradient(135deg,#38bdf8,#0ea5e9); }
.service-3 { background: linear-gradient(135deg,#22c55e,#16a34a); }
.service-4 { background: linear-gradient(135deg,#a855f7,#7c3aed); }
.service-5 { background: linear-gradient(135deg,#f97316,#ec4899); }
.service-6 { background: linear-gradient(135deg,#14b8a6,#0f766e); }

.card.service h3 {
  margin: 4px 0 6px;
  font-size: 18px;
}

.card.service p {
  margin: 0;
  font-size: 13px;
}


.service-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 22px rgba(15,23,42,.35);
}

/* Enerji paket kartları renklendirme */

.packages-grid .card {
  color: #f9fafb;
}

.package-1 { background: linear-gradient(135deg,#f59e0b,#c2410c); }
.package-2 { background: linear-gradient(135deg,#0ea5e9,#2563eb); }
.package-3 { background: linear-gradient(135deg,#22c55e,#16a34a); }

.package-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(250,250,250,.92);
  color: #b45309;
  font-weight: 600;
  margin-bottom: 4px;
}

.package-desc {
  font-size: 13px;
  margin: 4px 0 8px;
}

.package-list {
  font-size: 13px;
  padding-left: 18px;
  margin: 0 0 10px;
}

.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.price {
  font-weight: 600;
}

/* Why us */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 24px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: #16a34a;
}

.why-card {
  background: radial-gradient(circle at top left,#1e293b,#020617);
  color: #e5e7eb;
}

/* Testimonials - sabit, kaymayan kutular */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.testimonial-card {
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15,23,42,.12);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: -4px;
  font-size: 80px;
  opacity: .08;
}

.t-1 { background: linear-gradient(135deg,#fef3c7,#fffbeb); }
.t-2 { background: linear-gradient(135deg,#e0f2fe,#eff6ff); }
.t-3 { background: linear-gradient(135deg,#dcfce7,#ecfdf5); }

.testimonial-card h4 {
  margin: 10px 0 0;
  font-size: 15px;
}

.testimonial-card span {
  font-size: 12px;
  color: #4b5563;
}

/* Contact */

.contact-section {
  background: radial-gradient(circle at top left,#e0f2fe 0,#f5f5f7 45%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 22px;
  align-items: flex-start;
}

.contact-form h2,
.contact-info h2 { margin-top: 0; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
  font-size: 14px;
  color: #4b5563;
}

.contact-list li { margin-bottom: 6px; }

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15,23,42,.18);
  margin-bottom: 10px;
}

.map-wrapper iframe {
  width: 100%;
  height: 220px;
  border: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.form-group label {
  font-weight: 500;
}

input, select, textarea {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  font: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(248,163,15,.2);
}

.form-message {
  font-size: 13px;
  margin-top: 6px;
}

.form-message.success { color: #16a34a; }
.form-message.error { color: #dc2626; }

.form-note {
  font-size: 11px;
  color: #6b7280;
}

/* Floating buttons */

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column-reverse; /* altta WhatsApp, üstte Ara */
  gap: 10px;
  z-index: 950;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,.45);
  font-size: 24px;
}

.fab-call { background: #0ea5e9; }      /* mavi arama */
.fab-whatsapp { background: #22c55e; }  /* yeşil whatsapp */

/* Footer */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 10px 0;
  margin-top: 32px;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .cards-grid,
  .why-grid,
  .contact-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .hero-section {
    padding-top: 36px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15,23,42,.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 18px 14px;
  }

  .nav-toggle { display: flex; }

  .footer-flex {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero-text h1 { font-size: 28px; }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .fab { width: 46px; height: 46px; font-size: 20px; }
}
