/* Çelik Çini — statik site stilleri (eski Elementor tasarımının birebir karşılığı) */
:root {
  --primary: #CD161C;
  --secondary: #000;
  --text: #3B3B3B;
  --accent: #940B0F;
  --white: #fff;
  --card-bg: #F3F3F3;
  --container: 1140px;
  --pad: 60px;
  --font-title: "Bebas Neue", sans-serif;
  --font-text: "Afacad", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 .9rem; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad));
  margin: 0 auto;
  padding: var(--pad);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  position: relative;
  z-index: 20;
}
.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo img { width: 86px; }

.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 30px;
}
.nav a {
  display: block;
  padding: 5px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1;
  color: var(--text);
  transition: color .2s;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ---------- Ortak başlık / metin ---------- */
.title-red {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 1.9154rem + .8205vw, 2.5rem);
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
}
.text { line-height: 1.1rem; }

/* ---------- Ana sayfa slider ---------- */
.slider {
  position: relative;
  height: clamp(380px, 47vw, 600px);
  overflow: hidden;
  background: #000;
  color: var(--white);
}
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 70px;
  isolation: isolate;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: -1;
}
.slide-sub {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}
.slide-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.375rem);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--white); opacity: .8; z-index: 2;
}
.slider-arrow:hover, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow svg { width: 32px; height: 32px; display: block; }
.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }
.slider-dots {
  position: absolute; bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.slider-dots button {
  width: 14px; height: 14px; padding: 0; cursor: pointer;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
}
.slider-dots button[aria-current="true"] { background: var(--white); }

/* ---------- Ana sayfa içerik ---------- */
.motto {
  text-align: center;
  font-family: "Caramel", cursive;
  font-size: clamp(3rem, 2.5385rem + 2.0513vw, 4rem);
  font-weight: 500;
  color: var(--secondary);
  line-height: 1.2;
}
.features {
  display: flex;
  gap: 60px;
  padding-top: 0;
}
.feature {
  flex: 1;
  background: var(--card-bg);
  padding: 30px;
  text-align: center;
  line-height: 1.1rem;
}
.feature h2 {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 20px;
}
.feature p { margin-bottom: 20px; }
.feature p:last-child { margin-bottom: 0; }

/* ---------- Hakkımızda ---------- */
.about-image img { width: 80%; margin: 0 auto; }

/* ---------- Ürünler ---------- */
.page-hero {
  position: relative;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 60px;
  background: url("../img/slider/slide-1.webp") center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(200deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: .6;
}
.page-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 1.9154rem + .8205vw, 2.5rem);
  font-weight: 500;
  color: var(--white);
}
.page-hero .shape {
  position: absolute; left: 0; right: 0; bottom: -2px;
  overflow: hidden; line-height: 0;
  transform: rotate(180deg);
  pointer-events: none;
}
.page-hero .shape svg {
  display: block;
  position: relative; left: 50%; transform: translateX(-50%);
  width: calc(200% + 1.3px); height: 50px;
}
.page-hero .shape path { fill: var(--white); }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product {
  border-radius: 20px;
  box-shadow: 0 0 20px -15px rgba(0, 0, 0, .5);
  transition: box-shadow .3s;
  background: var(--white);
}
.product:hover { box-shadow: 0 0 20px -10px rgba(0, 0, 0, .5); }
.product img {
  width: 100%; height: 250px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
.product h2 {
  padding: 20px 20px 30px;
  text-align: center;
  font-family: var(--font-text);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--secondary);
}

/* ---------- İletişim ---------- */
.map iframe { display: block; width: 100%; height: 450px; border: 0; }
.contact {
  display: flex;
  align-items: center;
  gap: 60px;
}
.contact-item {
  flex: 1 1 25%;
  display: flex; align-items: center; gap: 15px;
}
.contact-icon {
  flex: none;
  display: inline-flex;
  padding: 12px;
  border-radius: 50%;
  background: var(--primary);
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--white); display: block; }
.contact-item h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 5px;
}
.contact-item p { margin: 0; }
.contact-item a:hover { color: var(--primary); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --pad: 30px; }
  .site-header .inner { padding: 10px 30px; }
  .features { gap: 20px; padding-top: 0; }
  .about-image img { width: 100%; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .contact { flex-wrap: wrap; }
  .contact-item { flex: 0 0 45%; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  :root { --pad: 20px; }
  .site-header .inner { padding: 10px; }
  .nav-toggle { display: block; }
  .nav ul {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
  }
  .nav.is-open ul { display: flex; }
  .nav li:not(:last-child) { border-bottom: 1px solid #c4c4c4; }
  .nav a { padding: 15px 20px; }
  .container { padding-top: 40px; padding-bottom: 40px; }
  .slide { padding: 0 50px; }
  .slider-arrow.prev { left: 5px; }
  .slider-arrow.next { right: 5px; }
  .features { flex-direction: column; padding-top: 0; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .product img { height: 160px; }
  .product h2 { font-size: 1.15rem; padding: 15px 10px 20px; }
  .contact { flex-direction: column; align-items: stretch; gap: 40px; }
  .contact-item { flex-direction: column; text-align: center; }
  .contact-item h3 { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
