/* ===== MOD MEKANİK – Ana Stil ===== */
:root {
  --red: #e30613;
  --red-dark: #b80510;
  --black: #0a0a0a;
  --dark: #141414;
  --dark-2: #1c1c1c;
  --grey: #f2f2f2;
  --grey-mid: #e8e8e8;
  --text: #333;
  --white: #fff;
  --muted: #b0b0b0;
  --header-h: 80px;
  --font: "Montserrat", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-sm {
  padding: 12px 20px;
  font-size: 12px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 4px;
}

.btn-icon i {
  font-size: 16px;
  margin: 0;
}

.btn-sm.btn-icon {
  width: 42px;
  height: 42px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--white);
}

.logo-text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.logo-text span {
  font-size: 9px;
  letter-spacing: 0.04em;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav > ul > li {
  flex-shrink: 0;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  line-height: 1.2;
  box-sizing: border-box;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  pointer-events: none;
}

.main-nav a i {
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.7;
  line-height: 1;
}

.main-nav a.nav-home,
.main-nav a.nav-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 16px;
}

.main-nav a.nav-home i,
.main-nav a.nav-icon i {
  font-size: 16px;
  margin-left: 0;
  opacity: 1;
}

.main-nav a.nav-home.active::after,
.main-nav a.nav-icon.active::after {
  left: 10px;
  right: 10px;
  bottom: 6px;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--dark);
  border-top: 3px solid var(--red);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity 0.2s, visibility 0.2s;
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 1200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  white-space: nowrap;
  justify-content: flex-start;
}

.dropdown a:hover {
  background: rgba(227, 6, 19, 0.12);
}

.dropdown a.active::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.phone-text strong {
  font-size: 14px;
  font-weight: 700;
}

.phone-text small {
  font-size: 11px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  margin-top: var(--header-h);
  height: 520px;
  min-height: 420px;
  max-height: 580px;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0 72px;
  max-width: 640px;
  margin-left: max(4%, calc((100% - 1200px) / 2));
}

.hero-slide.active .hero-content {
  animation: fadeUp 0.65s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-content h1 {
  color: var(--red);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-features i {
  color: var(--red);
  font-size: 20px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: 0.2s;
}

.hero-dots button.active {
  background: var(--red);
  transform: scale(1.15);
}

/* ===== Floating Sidebar ===== */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-btn {
  width: 72px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--white);
  transition: transform 0.2s, filter 0.2s;
}

.float-btn i {
  font-size: 20px;
}

.float-btn:hover {
  transform: translateX(-4px);
  filter: brightness(1.08);
}

.float-red {
  background: var(--red);
}

.float-whatsapp {
  background: var(--white);
  color: #25d366;
}

.float-dark {
  background: #111;
}

/* ===== Section titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--black);
}

.section-title-left {
  text-align: left;
}

.section-title.light h2 {
  color: var(--white);
}

.title-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}

.section-title-left .title-line {
  margin-left: 0;
}

/* ===== Products ===== */
.products {
  padding: 80px 0 70px;
  background: var(--white);
}

.products-track-wrap {
  position: relative;
}

.products-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 160px;
  background: var(--grey);
  border-radius: 4px;
  padding: 28px 14px 22px;
  text-align: center;
  transition: 0.25s;
  cursor: pointer;
}

.product-card:hover {
  background: var(--grey-mid);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-card h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--black);
}

.products-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.35);
  transition: 0.2s;
}

.products-nav:hover {
  background: var(--red-dark);
}

.products-nav.prev {
  left: -8px;
}

.products-nav.next {
  right: -8px;
}

/* ===== About ===== */
.about-teaser {
  padding: 80px 0;
  background: var(--grey);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
  color: #555;
  font-size: 15px;
}

.about-text .btn {
  margin-top: 12px;
}

.about-visual {
  overflow: hidden;
  border-radius: 4px;
  min-height: 320px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* ===== Stats & Partners ===== */
.stats-partners {
  background: var(--dark);
  padding: 70px 0;
}

.stats-partners-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.stat-item > i {
  font-size: 32px;
  color: var(--red);
  width: 44px;
  text-align: center;
}

.stat-item strong {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-item span {
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
}

.stat-item small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.partner {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.partner:hover {
  opacity: 1;
}

/* ===== Blog ===== */
.blog {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--grey);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.blog-img {
  display: block;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.blog-body {
  padding: 22px;
}

.blog-body time {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}

.blog-cat {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #888;
  text-transform: uppercase;
}

.blog-body h3 {
  font-size: 16px;
  margin: 10px 0 8px;
  color: var(--black);
  line-height: 1.35;
}

.blog-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 14px;
}

.blog-body a {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}

.blog-body a:hover {
  text-decoration: underline;
}

/* ===== Blog detail ===== */
.bd-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
}

.bd-meta time {
  color: var(--red);
  font-weight: 700;
}

.bd-meta span {
  opacity: 0.85;
}

.bd-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.bd-cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 24px;
}

.bd-lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 20px;
}

.bd-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}

.bd-points {
  background: var(--grey);
  padding: 22px 24px;
  margin: 28px 0;
}

.bd-points h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.bd-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bd-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 6px 0;
  color: #333;
}

.bd-points i {
  color: var(--red);
  margin-top: 3px;
}

.bd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bd-aside h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.bd-related {
  display: grid;
  gap: 12px;
}

.blog-related-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--grey);
  padding: 10px;
  color: var(--black);
  transition: transform 0.2s;
}

.blog-related-card:hover {
  transform: translateX(3px);
}

.blog-related-img {
  display: block;
  width: 88px;
  height: 64px;
  background-size: cover;
  background-position: center;
}

.blog-related-card span:last-child {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .bd-layout {
    grid-template-columns: 1fr;
  }

  .bd-cover {
    height: 220px;
  }
}

/* ===== Contact ===== */
.contact {
  padding: 80px 0;
  background: var(--dark-2);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 420px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-list i {
  color: var(--red);
  width: 18px;
  margin-top: 3px;
}

.contact-list a:hover {
  color: var(--red);
}

.contact-form {
  background: var(--dark);
  padding: 32px;
  border-radius: 4px;
  border-top: 3px solid var(--red);
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b0b0b0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-form option {
  background: var(--dark);
}

.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: #4ade80;
  min-height: 1.2em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr auto;
  gap: 32px;
  padding: 48px 0;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.footer-brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.footer-col {
  min-width: 0;
}

.footer-col p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
  word-break: break-word;
}

.footer-col i {
  color: var(--red);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
  text-align: center;
}

.footer-col a {
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-checks span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-checks i {
  color: var(--red);
  flex-shrink: 0;
}

.footer-slogan {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(11px, 3.2vw, 14px);
  line-height: 1.35;
  word-break: break-word;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.open ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open a.active::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
    box-shadow: none;
    border-top: none;
    background: rgba(0, 0, 0, 0.25);
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .header-actions .btn-sm {
    display: none;
  }

  /* Mobil menü: ev / mektup ikonu yerine yazı */
  .main-nav a.nav-home,
  .main-nav a.nav-icon {
    width: auto;
    height: auto;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    justify-content: flex-start;
  }

  .main-nav a.nav-home i,
  .main-nav a.nav-icon i {
    display: none;
  }

  .main-nav a.nav-home::before {
    content: "ANASAYFA";
  }

  .main-nav a.nav-icon::before {
    content: "İLETİŞİM";
  }

  .main-nav a.nav-home.active::after,
  .main-nav a.nav-icon.active::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .stats-partners-grid,
  .about-grid,
  .contact-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 24px;
    padding: 36px 0 100px;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-col p {
    justify-content: flex-start;
  }

  .footer-checks {
    align-items: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-slogan {
    letter-spacing: 0.04em;
    padding: 12px 12px;
  }

  .float-sidebar {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
  }

  .float-btn {
    flex: 1;
    width: auto;
    min-height: 56px;
    flex-direction: row;
    gap: 8px;
    font-size: 10px;
  }

  .hero {
    height: 60vh;
    min-height: 360px;
    max-height: none;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    width: min(1200px, 92%);
    padding: 40px 0 72px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 70px;
  }

  .header-phone .phone-text {
    display: none;
  }

  .hero-features {
    flex-direction: column;
    gap: 14px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .products-nav {
    display: none;
  }

  .float-btn span {
    display: none;
  }
}

/* ===== Multi-page extras ===== */
.product-card {
  text-decoration: none;
  color: inherit;
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

.partners-btn {
  margin-top: 24px;
}

.page-banner {
  position: relative;
  margin-top: var(--header-h);
  height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35));
}

.page-banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.breadcrumb a:hover {
  color: var(--red);
}

.page-banner-content h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-section {
  padding: 70px 0;
}

.page-section.alt {
  background: var(--grey);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
  border-top: 3px solid var(--red);
}

.value-card i {
  font-size: 28px;
  color: var(--red);
  margin-bottom: 14px;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.value-card p {
  font-size: 14px;
  color: #666;
}

.cta-band {
  background: var(--dark);
  padding: 48px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--white);
}

.cta-band h2 {
  font-size: 24px;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-detail {
  background: var(--grey);
  padding: 28px 22px;
  scroll-margin-top: 100px;
  transition: 0.25s;
}

.product-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-detail .product-icon {
  margin: 0 0 16px;
}

.product-detail h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--black);
}

.product-detail p {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.link-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.stats-row {
  grid-template-columns: repeat(4, 1fr);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--grey);
  overflow: hidden;
  transition: 0.25s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.project-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.project-body {
  padding: 20px;
}

.project-body span {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-body h3 {
  font-size: 16px;
  margin: 6px 0 8px;
}

.project-body p {
  font-size: 13px;
  color: #666;
}

.partners-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.partner-box {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 36px 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  opacity: 0.9;
  transition: 0.2s;
}

.partner-box:hover {
  background: var(--red);
  opacity: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--white);
  padding: 28px;
  border-left: 3px solid var(--red);
}

.testimonial p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial cite {
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  font-style: normal;
}

.page-contact {
  margin-top: 0;
}

.map-embed {
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
  height: 220px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .values-grid,
  .projects-grid,
  .testimonials-grid,
  .partners-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .values-grid,
  .projects-grid,
  .testimonials-grid,
  .partners-page-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .page-banner {
    height: 200px;
  }
}

/* ===== Catalog redesign extras ===== */
.logo-text strong em {
  font-style: normal;
  color: var(--red);
}

.hero-content h1 span {
  color: var(--white);
}

.values-strip {
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(227, 6, 19, 0.35);
}

.values-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.vs-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vs-item i {
  color: var(--red);
  font-size: 16px;
}

.catalog-products {
  padding: 70px 0;
  background: #f7f7f7;
}

.section-sub {
  margin-top: 12px;
  color: #666;
  font-size: 14px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.product-filter-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product-filter-btn:hover {
  border-color: var(--red, #c8102e);
  color: var(--red, #c8102e);
}

.product-filter-btn.active {
  background: var(--red, #c8102e);
  border-color: var(--red, #c8102e);
  color: #fff;
}

.product-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: #6b7280;
}

.catalog-grid .catalog-card-body > p {
  display: none;
}

.catalog-grid .catalog-items li:nth-child(n + 4) {
  display: none;
}

.catalog-grid .catalog-card-body h3 {
  font-size: 13px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  color: inherit;
  scroll-margin-top: 100px;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.catalog-card-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #eee;
}

.catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s;
}

.catalog-card:hover .catalog-card-img img {
  transform: scale(1.04);
}

.catalog-card-body {
  padding: 18px 18px 22px;
  position: relative;
}

.catalog-num {
  display: inline-block;
  min-width: 36px;
  padding: 4px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.catalog-card-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.catalog-card-body > p {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.45;
}

.catalog-items {
  margin-bottom: 12px;
}

.catalog-items li {
  font-size: 12px;
  color: #444;
  padding: 3px 0 3px 14px;
  position: relative;
}

.catalog-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.service-bar {
  background: var(--white);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 36px 0;
}

.service-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sb-item i {
  width: 48px;
  height: 48px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 18px;
  flex-shrink: 0;
}

.sb-item strong {
  display: block;
  font-size: 14px;
}

.sb-item small {
  color: #777;
  font-size: 12px;
}

.works-section {
  padding: 70px 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: block;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.work-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.work-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .product-filters {
    gap: 6px;
    margin-bottom: 20px;
  }

  .product-filter-btn {
    font-size: 11px;
    padding: 7px 10px;
  }

  .catalog-grid,
  .works-grid,
  .values-strip-grid,
  .service-bar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .catalog-card-body {
    padding: 12px 10px 14px;
  }

  .catalog-card-body h3 {
    font-size: 12px;
  }

  .catalog-card-body > p,
  .catalog-items,
  .catalog-card .link-more {
    display: none;
  }

  .catalog-num {
    min-width: 28px;
    padding: 3px 6px;
    font-size: 11px;
    margin-bottom: 6px;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .work-card span {
    font-size: 11px;
    padding: 10px 12px;
  }

  .service-bar-grid {
    grid-template-columns: 1fr;
  }

  .values-strip {
    padding: 20px 0 22px;
  }

  .values-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .vs-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid var(--red);
    min-height: 92px;
  }

  .vs-item i {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(227, 6, 19, 0.45);
    display: grid;
    place-items: center;
    background: rgba(227, 6, 19, 0.08);
  }

  .vs-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.3;
    text-transform: uppercase;
  }
}

/* HD image rendering */
.catalog-card-img img,
.work-card img,
.hero-bg,
.about-visual img,
.page-banner-bg {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
}

.catalog-card-img {
  aspect-ratio: 4 / 3;
}

.hero-bg {
  object-position: center center;
}

/* ===== Kurumsal page ===== */
.corp-nav {
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}

.corp-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  justify-content: center;
  padding: 12px 0;
}

.corp-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  transition: 0.2s;
}

.corp-nav a:hover {
  color: #fff;
  background: rgba(227, 6, 19, 0.25);
}

#hakkimizda,
#misyon,
#vizyon,
#tarihce {
  scroll-margin-top: 140px;
}

.corp-bullets {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.corp-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
}

.corp-bullets i {
  color: var(--red);
  font-size: 12px;
}

.corp-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.corp-mv-card {
  background: var(--white);
  padding: 32px 28px;
  border-top: 3px solid var(--red);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.corp-mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.corp-mv-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--black);
}

.corp-mv-card > p {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.65;
}

.timeline {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(227, 6, 19, 0.35);
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.2);
}

.timeline-year {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.timeline-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--black);
}

.timeline-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .corp-mv-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Products carousel (home) ===== */
.products-carousel {
  position: relative;
  padding: 0 48px;
}

.pc-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pc-track::-webkit-scrollbar {
  display: none;
}

.pc-track .catalog-card {
  flex: 0 0 calc((100% - 48px) / 4);
  max-width: 300px;
  min-width: 240px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.pc-track .catalog-card-body > p,
.pc-track .catalog-items {
  display: none;
}

.pc-track .catalog-card-body h3 {
  font-size: 13px;
  margin-bottom: 8px;
}

.pc-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.pc-nav:hover {
  background: var(--red-dark);
}

.pc-prev {
  left: 0;
}

.pc-next {
  right: 0;
}

@media (max-width: 1100px) {
  .pc-track .catalog-card {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 200px;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .products-carousel {
    padding: 0 36px;
  }

  .pc-track .catalog-card {
    flex: 0 0 calc((100% - 10px) / 2);
    min-width: 140px;
  }

  .pc-nav {
    width: 34px;
    height: 34px;
  }
}

/* ===== Product detail page ===== */
.pd-banner-num {
  display: inline-block;
  margin-bottom: 12px;
}

.pd-main {
  padding-top: 50px;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.pd-visual {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.pd-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  max-height: 420px;
}

.pd-info h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--black);
}

.pd-info > p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pd-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pd-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grey);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
}

.pd-feature i {
  color: var(--red);
}

.pd-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pd-product-item {
  background: var(--white);
  padding: 22px;
  border-left: 3px solid var(--red);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pd-product-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--black);
}

.pd-product-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
}

.pd-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pd-model-item {
  background: var(--white);
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--red);
}

.pd-model-item h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--black);
}

.pd-model-item p {
  font-size: 12px;
  line-height: 1.45;
  color: #666;
  margin: 0;
}

.pd-apps-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pd-related-card {
  display: block;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s;
}

.pd-related-card:hover {
  transform: translateY(-3px);
}

.pd-related-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.pd-related-card span {
  display: block;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
}

@media (max-width: 900px) {
  .pd-grid,
  .pd-products-grid,
  .pd-models-grid,
  .pd-apps-wrap,
  .pd-related-grid {
    grid-template-columns: 1fr;
  }

  .pd-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-models-grid {
    grid-template-columns: 1fr 1fr;
  }
}
