@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap");

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

:root {
  --ink: #111111;
  --paper: #ffffff;
  --bg: #f7f6f4;
  --red: #c8281f;
  --muted: #888;
  --border: 1px solid #e0e0e0;
  --ff-h: "Raleway", sans-serif;
  --ff-b: "Plus Jakarta Sans", sans-serif;
  --max: 1100px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-b);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
}

.logo {
  font-family: var(--ff-h);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.logo-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg);
}

.nav-links a.cta {
  background: var(--red);
  color: #fff;
  border-radius: 6px;
}

.nav-links a.cta:hover {
  background: #a31f17;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: blur(3px);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      transparent 20%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-left {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 72px 40px;
  max-width: 640px;
  margin-left: max(40px, calc((100vw - var(--max)) / 2));
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--ff-h);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: #fff;
}

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

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 420px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--ff-b);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--red);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  margin-left: 12px;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* hero-img artık kullanılmıyor — arka plan CSS'e taşındı */

/* ── STATS ── */
.stats {
  background: var(--bg);
  border-top: var(--border);
  border-bottom: var(--border);
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 28px 0;
  text-align: center;
  border-right: var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--ff-h);
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  padding: 13px 0;
  border-bottom: var(--border);
  background: var(--ink);
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
}

.marquee-inner span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  padding: 0 28px;
}

.marquee-inner span.red {
  color: var(--red);
  padding: 0 6px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── SECTION SHARED ── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px;
}

.section-head {
  margin-bottom: 36px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--ff-h);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}

/* ── HİZMETLER YATAY KARTLAR ── */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.svc-row:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.svc-img {
  overflow: hidden;
  height: 200px;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.svc-row:hover .svc-img img {
  transform: scale(1.05);
}

.svc-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: var(--paper);
}

.svc-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--red);
}

.svc-body h3 {
  font-family: var(--ff-h);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.svc-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

@media (max-width: 768px) {
  .svc-row {
    grid-template-columns: 1fr;
  }
  .svc-img {
    height: 180px;
  }
  .svc-body {
    padding: 20px;
  }
}

/* ── PORTFöLYO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-card {
  border-radius: 10px;
  overflow: hidden;
  border: var(--border);
}

/* Slider container — replaces old .p-card-img */
.p-card-slider {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg);
}

.p-card-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.p-card-track img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prev / Next butonlar */
.p-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.2s,
    background 0.2s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-slider-btn:hover {
  background: rgba(200, 40, 31, 0.85);
}
.p-slider-prev {
  left: 8px;
}
.p-slider-next {
  right: 8px;
}

/* Tek fotoğrafta ok gizle */
.p-card-slider.single .p-slider-btn {
  display: none;
}

/* Hover'da oklar görünsün */
.p-card:hover .p-slider-btn {
  opacity: 1;
}

/* Nokta indikatörler */
.p-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.p-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}
.p-slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}
/* Tek fotoğrafta noktalar da gizle */
.p-card-slider.single .p-slider-dots {
  display: none;
}

.p-card-body {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-card-body h4 {
  font-size: 14px;
  font-weight: 600;
}
.p-card-body span {
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 20px;
  border: var(--border);
}

/* ── WHY ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-img {
  border-radius: 12px;
  overflow: hidden;
  height: 440px;
  border: var(--border);
}

.why-img img {
  height: 100%;
}

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

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: var(--border);
  align-items: flex-start;
}

.why-item:first-child {
  border-top: var(--border);
}

.why-icon {
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.why-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}

/* ── CONTACT BUTONLARI ── */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: var(--border);
  border-radius: 10px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 10px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}

.contact-btn:hover {
  background: var(--bg);
  border-color: #bbb;
  transform: translateY(-1px);
}

.contact-btn:active {
  transform: translateY(0);
}

.contact-btn.whatsapp-btn:hover {
  border-color: #25a244;
  background: #f0faf3;
}

.contact-btn-ico {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.whatsapp-btn .contact-btn-ico {
  background: #f0faf3;
}

.contact-btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-btn-lbl {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.contact-btn-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.contact-btn-arrow {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.2s;
}

.contact-btn:hover .contact-btn-arrow {
  color: var(--red);
}
.whatsapp-btn:hover .contact-btn-arrow {
  color: #25a244;
}

/* ── CONTACT ── */
.contact-wrap {
  background: var(--bg);
  border-top: var(--border);
  border-bottom: var(--border);
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-block {
  margin-top: 28px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-ico {
  width: 36px;
  height: 36px;
  background: var(--paper);
  border: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.info-lbl {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}
.info-val {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form {
  background: var(--paper);
  border: var(--border);
  border-radius: 12px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  border: var(--border);
  border-radius: 7px;
  background: var(--bg);
  padding: 10px 14px;
  font-family: var(--ff-b);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--red);
  background: var(--paper);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field select option {
  background: var(--paper);
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: var(--ff-b);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.btn-submit:hover {
  background: #a31f17;
}

/* ── HARİTA ── */
.map-section {
  border-top: var(--border);
}

.map-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px 40px;
}

#map {
  height: 340px;
  border-radius: 10px;
  border: var(--border);
  overflow: hidden;
  z-index: 0;
}

.map-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0 0;
}

.map-bar span {
  font-size: 13px;
  color: var(--muted);
}

.map-bar a {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.map-bar a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .map-inner {
    padding: 0 20px 32px;
  }
  #map {
    height: 240px;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: #aaa;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.f-logo {
  font-family: var(--ff-h);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.f-logo span {
  color: var(--red);
}

footer p {
  font-size: 13px;
  line-height: 1.7;
}

footer h5 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 16px;
  font-weight: 500;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer ul a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 18px 40px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #555;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.on {
  opacity: 1;
  transform: none;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 400px;
  }
  .hero-left {
    padding: 48px 20px;
    margin-left: 0;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(3) {
    border-right: var(--border);
    border-top: var(--border);
  }
  .stat:nth-child(4) {
    border-top: var(--border);
    border-right: none;
  }

  .section {
    padding: 40px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .svc-card:nth-child(n + 4) {
    border-bottom: var(--border);
  }
  .svc-card:last-child {
    border-bottom: none;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-img {
    height: 220px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 32px 20px;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
  }
}
