@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@700;800&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: 'Syne', sans-serif;
  --ff-b: 'Inter', 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: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.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 .2s, background .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 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.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(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  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 .2s;
}

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-outline { border: var(--border); color: var(--ink); margin-left: 12px; }
.btn-outline:hover { background: var(--bg); }

.hero-img {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

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

/* ── 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 .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 .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);
}

.p-card-img { height: 220px; overflow: hidden; }
.p-card-img img { height: 100%; transition: transform .5s ease; }
.p-card:hover .p-card-img img { transform: scale(1.05); }

.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 .2s, border-color .2s, transform .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 .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: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-left-col { display: flex; flex-direction: column; gap: 16px; }

.contact-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.contact-right-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.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 .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 .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; }
}

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.blog-card {
  border: var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

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

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

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

.blog-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}

.blog-card-body h2 {
  font-family: var(--ff-h);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
}

.blog-read {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── 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 .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 .6s ease, transform .6s ease;
}
.reveal.on { opacity: 1; transform: none; }

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

  .hero { grid-template-columns: 1fr; padding: 40px 20px; gap: 28px; }
  .hero-img { height: 240px; }

  .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; }

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