/*
Theme Name: Merta Cephe
Theme URI: https://dekoratiftuglatas.com/
Author: Merta Cephe
Description: Dekotaş ürünleri yetkili satış ve ihracat partneri için kurumsal, SEO odaklı WordPress tema.
Version: 1.0.0
Text Domain: merta-cephe
*/

:root {
  --red: #c82127;
  --ink: #222;
  --muted: #67615c;
  --stone: #f4efe7;
  --cream: #fffaf1;
  --copper: #a86f35;
  --line: #ece6dc;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand strong { display: block; font-size: 24px; line-height: 1.1; }
.brand span span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-nav a { text-decoration: none; color: #333; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}
.btn.alt { background: #168a45; }
.btn.ghost { background: #fff; color: var(--ink); }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 36px;
  padding: clamp(32px, 5vw, 74px);
  color: #fff;
  background: linear-gradient(120deg, rgba(34,25,18,.9), rgba(126,38,31,.72)), var(--stone);
}
.hero img {
  height: 66vh;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px #0006;
}
.hero h1, .page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
}
.hero p { max-width: 760px; font-size: 20px; }
.eyebrow {
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #ddd;
}
.trust span {
  background: var(--cream);
  padding: 18px;
  text-align: center;
  font-weight: 800;
}
.section, .entry-content, .page-hero {
  padding: clamp(44px, 6vw, 88px) clamp(16px, 5vw, 72px);
}
.section h2, .entry-content h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.14; }
.cards, .product-grid, .gallery, .faq-grid {
  display: grid;
  gap: 22px;
}
.cards { grid-template-columns: repeat(3, 1fr); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.gallery { grid-template-columns: repeat(3, 1fr); }
.card, .product-card, .faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 34px #0000000d;
}
.card img, .product-card img { width: 100%; height: 220px; object-fit: cover; }
.card-body, .product-card div, .faq-item { padding: 18px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--stone);
}
.split img { min-height: 360px; width: 100%; object-fit: cover; border-radius: 8px; }
.page-hero { color: #fff; background: linear-gradient(120deg, #261d18, #7e261f); }
.entry-content { max-width: 1120px; margin: 0 auto; }
.entry-content .lead { font-size: 21px; color: #3d342d; }
.wp-block-image img { border-radius: 8px; }
.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(16px, 5vw, 72px);
  background: #1e1a17;
  color: #fff;
}
.site-footer img { width: 90px; padding: 4px; background: #fff; border-radius: 8px; }
.site-footer a { color: #fff; text-decoration: none; display: block; margin: 6px 0; }
.copyright { grid-column: 1 / -1; color: #d7c9b8; }
.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: #168a45;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 30px #0003;
}

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; overflow: auto; }
  .main-nav ul { justify-content: flex-start; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero img { height: 360px; }
  .trust, .cards, .product-grid, .gallery, .faq-grid, .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .brand img { width: 50px; height: 50px; }
  .hero h1 { font-size: 36px; }
  .trust, .cards, .product-grid, .gallery, .faq-grid, .site-footer { grid-template-columns: 1fr; }
}
