/*
Theme Name: İzmirPanjur Servis Teması
Theme URI: https://izmirpanjur.net/
Author: İzmirPanjur Teknik
Author URI: https://izmirpanjur.net/
Description: İzmir geneli panjur ve panjur tamiri, panjur motoru, panjur kumandası, panjur ipi ve ahşap panjur tamir bakım servisi için özel WordPress teması. Yönetilebilir görsel yükleme paneli, servis bölgeleri, SSS, WhatsApp destek ve servis talebi formu içerir.
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: izmirpanjur-wp
*/

:root {
  --izp-navy: #0f172a;
  --izp-navy-2: #1e293b;
  --izp-amber: #f59e0b;
  --izp-amber-dark: #d97706;
  --izp-whatsapp: #25d366;
  --izp-bg: #f8fafc;
  --izp-card: #ffffff;
  --izp-text: #0f172a;
  --izp-muted: #475569;
  --izp-border: #e2e8f0;
  --izp-radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.izp-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--izp-bg);
  color: var(--izp-text);
  line-height: 1.6;
}

a {
  color: var(--izp-navy);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Top Bar & Header */
.izp-topbar {
  background: var(--izp-navy);
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.izp-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.izp-topbar-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.izp-topbar a {
  color: #f8fafc;
  font-weight: 500;
}

.izp-header {
  background: #ffffff;
  border-bottom: 1px solid var(--izp-border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

body.admin-bar .izp-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .izp-header {
    top: 46px;
  }
}

section[id] {
  scroll-margin-top: 120px;
}

.izp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.izp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--izp-navy);
}

.izp-brand-badge {
  background: var(--izp-amber);
  color: var(--izp-navy);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.izp-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.izp-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--izp-navy-2);
}

.izp-nav a:hover {
  color: var(--izp-amber-dark);
}

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

.izp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.izp-btn-primary {
  background: var(--izp-amber);
  color: var(--izp-navy);
}

.izp-btn-primary:hover {
  background: var(--izp-amber-dark);
}

.izp-btn-dark {
  background: var(--izp-navy);
  color: #ffffff;
}

.izp-btn-wa {
  background: var(--izp-whatsapp);
  color: #052e16;
}

/* Hero Section */
.izp-hero {
  background: linear-gradient(125deg, #0f172a 0%, #1e293b 65%, #334155 100%);
  color: #ffffff;
  padding: 56px 0;
}

.izp-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.izp-hero-kicker {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fcd34d;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.izp-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  font-weight: 800;
}

.izp-hero p {
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: 16px;
}

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

.izp-hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.izp-trust-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px;
}

.izp-trust-box strong {
  display: block;
  font-size: 15px;
  color: #fbbf24;
}

.izp-trust-box span {
  font-size: 12px;
  color: #cbd5e1;
}

.izp-hero-media {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--izp-radius);
  overflow: hidden;
}

.izp-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.izp-hero-caption {
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.92);
  font-size: 13px;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sections */
.izp-section {
  padding: 60px 0;
}

.izp-section-alt {
  background: #ffffff;
  border-top: 1px solid var(--izp-border);
  border-bottom: 1px solid var(--izp-border);
}

.izp-section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 38px;
}

.izp-section-head .izp-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--izp-amber-dark);
  margin-bottom: 6px;
}

.izp-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--izp-navy);
}

.izp-section-head p {
  margin: 0;
  color: var(--izp-muted);
}

/* Cards Grid */
.izp-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.izp-card {
  background: var(--izp-card);
  border: 1px solid var(--izp-border);
  border-radius: var(--izp-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.izp-card-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  background: #e2e8f0;
}

.izp-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.izp-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--izp-navy);
}

.izp-card p {
  margin: 0 0 14px;
  color: var(--izp-muted);
  font-size: 14px;
  flex: 1;
}

.izp-card-link {
  font-weight: 700;
  font-size: 13px;
  color: var(--izp-amber-dark);
}

/* Service Areas */
.izp-areas-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.izp-area-pill {
  background: #ffffff;
  border: 1px solid var(--izp-border);
  color: var(--izp-navy);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.izp-area-pill:hover {
  border-color: var(--izp-amber);
  background: #fffbeb;
}

/* Gallery */
.izp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.izp-gallery-item {
  background: #ffffff;
  border: 1px solid var(--izp-border);
  border-radius: var(--izp-radius);
  overflow: hidden;
}

.izp-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.izp-gallery-cap {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--izp-navy-2);
}

/* FAQ Accordion */
.izp-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.izp-faq-item {
  background: #ffffff;
  border: 1px solid var(--izp-border);
  border-radius: var(--izp-radius);
  overflow: hidden;
}

.izp-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--izp-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.izp-faq-a {
  display: none;
  padding: 0 20px 16px;
  color: var(--izp-muted);
  font-size: 14px;
}

.izp-faq-item.open .izp-faq-a {
  display: block;
}

/* Request & Contact Form */
.izp-form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.izp-form-box {
  background: #ffffff;
  border: 1px solid var(--izp-border);
  border-radius: var(--izp-radius);
  padding: 26px;
}

.izp-field {
  margin-bottom: 14px;
}

.izp-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--izp-navy);
}

.izp-field input,
.izp-field select,
.izp-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
}

.izp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.izp-notice-ok {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #14532d;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}

.izp-contact-card {
  background: var(--izp-navy);
  color: #ffffff;
  border-radius: var(--izp-radius);
  padding: 26px;
}

.izp-contact-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fbbf24;
}

.izp-contact-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.izp-contact-item:last-of-type {
  border-bottom: none;
}

/* Floating WhatsApp Icon Button */
.izp-wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  padding: 0;
  background: var(--izp-whatsapp);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.38);
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.izp-wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.48);
}

/* Floating Scroll To Top Button */
.izp-top-btn {
  position: fixed;
  right: 23px;
  bottom: 90px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--izp-amber);
  border-radius: 50%;
  background: var(--izp-navy);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.32);
  z-index: 945;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background 0.18s ease, color 0.18s ease;
}

.izp-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.izp-top-btn:hover {
  background: var(--izp-amber);
  color: var(--izp-navy);
}

/* Footer */
.izp-footer {
  background: var(--izp-navy);
  color: #cbd5e1;
  padding: 40px 0 24px;
  margin-top: 40px;
}

.izp-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.izp-footer h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 15px;
}

.izp-footer a {
  color: #cbd5e1;
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.izp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 12px;
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .izp-hero-grid,
  .izp-form-grid {
    grid-template-columns: 1fr;
  }
  .izp-nav {
    display: none;
  }
}
