/* Ömür Copy — beta ön yüz (#0576c0, #2e2c85, siyah, beyaz) */
:root {
  --brand-blue: #0576c0;
  --brand-purple: #2e2c85;
  --ink: #000000;
  --paper: #ffffff;
  --muted: #444444;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand-purple);
  text-decoration: none;
}

a:hover {
  color: var(--brand-blue);
}

.container-narrow {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  background: var(--paper);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(46, 44, 133, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.brand--logo {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
  padding-right: 0.75rem;
}

.brand__logo {
  display: block;
  height: clamp(36px, 8vw, 44px);
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-main a:hover,
.nav-main a.is-active {
  color: var(--brand-blue);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: var(--brand-purple);
    padding: 1rem;
    gap: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-main a {
    display: block;
    padding: 0.75rem 0;
    color: #fff;
  }

  .nav-main a:hover,
  .nav-main a.is-active {
    color: #7ec8ff;
  }
}

.hero {
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-purple) 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(255, 255, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.hero .container-narrow {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 20ch;
  color: #fff;
}

.hero p.lead {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #fff;
  color: var(--brand-purple);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-blue);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary {
  background: #fff;
  color: var(--brand-purple);
}

.section .btn-primary,
.page-article .btn-primary,
.card-product .btn-primary {
  background: var(--brand-blue);
  color: #fff;
}

.section .btn-primary:hover,
.page-article .btn-primary:hover,
.card-product .btn-primary:hover {
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 6px 20px rgba(5, 118, 192, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--brand-purple);
  border: 2px solid var(--brand-purple);
}

.btn-secondary:hover {
  background: var(--brand-purple);
  color: #fff;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1.75rem;
  text-align: center;
  color: var(--ink);
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card-product {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(46, 44, 133, 0.12);
}

.card-product__img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  background: #f0f2f5;
}

.card-product__body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-product__body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.card-product__body h3 a {
  color: var(--ink);
}

.card-product__body h3 a:hover {
  color: var(--brand-blue);
}

.card-product__body p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(5, 118, 192, 0.1);
  color: var(--brand-purple);
}

.badge--ok {
  background: rgba(5, 118, 192, 0.15);
  color: var(--brand-blue);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: auto;
  background: #000000;
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: #7ec8ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  width: min(1120px, 100% - 2rem);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.pagination {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
}

.pagination a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.pagination .current {
  background: var(--brand-purple);
  color: #fff;
  border-color: var(--brand-purple);
}

.page-article {
  max-width: 720px;
  margin: 0 auto;
}

.page-article h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 1rem;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.contact-block dl {
  margin: 0;
}

.contact-block dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 1rem;
}

.contact-block dt:first-child {
  margin-top: 0;
}

.contact-block dd {
  margin: 0.25rem 0 0;
  font-weight: 500;
  color: var(--ink);
}

.detail-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.detail-gallery {
  position: relative;
}

.product-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.product-carousel__viewport {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f5f6f8;
}

.product-carousel__track {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.product-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.15s ease;
  z-index: 2;
}

.product-carousel__btn:hover {
  background: var(--brand-blue);
}

.product-carousel__btn--prev {
  left: 0.5rem;
}

.product-carousel__btn--next {
  right: 0.5rem;
}

.product-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.product-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.product-carousel__dot.is-active {
  background: var(--brand-blue);
  transform: scale(1.25);
}

.product-carousel__dot:hover {
  background: var(--brand-purple);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
