/* =============================================
   ÜRÜN GRUPLARI — Profesyonel & Dengeli Tasarım
   Alanya Boya Market · #1f3135 / #ffb200
   ============================================= */

body {
  padding-top: 7rem;
}

/* =============================================
   SAYFA BAŞLIĞI
   ============================================= */
.pg-header {
  background: linear-gradient(160deg, #1a2e32 0%, #1f3135 60%, #243b41 100%);
  padding: 6rem 2rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hafif doku: ince çizgi grid */
.pg-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.pg-header-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.pg-label {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffb200;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.6rem;
}

.pg-header h1 {
  font-size: 4.4rem;
  font-weight: 800;
  color: #ffffff;
  font-style: normal;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.pg-divider {
  width: 56px;
  height: 3px;
  background: #ffb200;
  margin: 0 auto 2.2rem;
  border-radius: 2px;
}

.pg-header p {
  font-size: 1.65rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   KATEGORİ GRİD
   ============================================= */
.pg-categories {
  background: #f2f4f5;
  padding: 5rem 2rem 6rem;
}

.pg-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

/* Son kart (7.) ortalanmış */
.pg-card--last {
  grid-column: 2 / 3;
}

/* =============================================
   KATEGORİ KARTI
   ============================================= */
.pg-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-top: 3px solid #ffb200;
}

.pg-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  transform: translateY(-5px);
}

/* Görsel alanı */
.pg-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.pg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pg-card:hover .pg-card-img img {
  transform: scale(1.06);
}

/* Hover overlay — ikon */
.pg-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 49, 53, 0.75) 0%, rgba(31, 49, 53, 0.15) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pg-card:hover .pg-card-overlay {
  opacity: 1;
}

.pg-card-overlay span {
  width: 4.5rem;
  height: 4.5rem;
  background: #ffb200;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #1f3135;
}

/* İçerik */
.pg-card-body {
  padding: 2rem 2.2rem 2.4rem;
}

.pg-card-body h2 {
  font-size: 1.95rem;
  font-weight: 700;
  color: #1f3135;
  margin-bottom: 0.9rem;
  font-style: normal;
  line-height: 1.3;
}

.pg-card-body p {
  font-size: 1.45rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   MARKA ŞERİDİ
   ============================================= */
.pg-brands {
  background: #f2f4f5;
  padding: 7rem;
  border-top: 1px;
}

.pg-brands-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.pg-brands-label {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #b0b8c1;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 3rem;
}

.pg-logo-strip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.pg-logo-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}

.pg-logo-track:hover {
  animation-play-state: paused;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.pg-logo {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.pg-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.pg-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .pg-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* 2 sütunda 7. kart: tek kalırsa ortalı */
  .pg-card--last {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pg-header {
    padding: 5rem 1.5rem 4.5rem;
  }

  .pg-header h1 {
    font-size: 3.2rem;
  }

  .pg-header p {
    font-size: 1.5rem;
  }

  .pg-categories {
    padding: 3.5rem 1.2rem 5rem;
  }

  .pg-container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .pg-card--last {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }

  .pg-card-img {
    height: 190px;
  }
}