@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2447;
  --accent: #e63946;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --bg-light: #f7f8fc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2a5298 100%);
  padding: 80px 0 72px;
  text-align: center;
  color: var(--white);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto;
}

/* ── INTRO ── */
.intro-section {
  padding: 88px 0;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.intro-text .section-label {
  color: var(--accent);
}

.intro-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.intro-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.intro-text p:last-child { margin-bottom: 0; }

/* Category Pills */
.category-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--bg-light);
  border-radius: 14px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
}

.cat-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateX(6px);
}

.cat-pill svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  flex-shrink: 0;
  transition: fill 0.2s;
}

.cat-pill:hover svg { fill: var(--white); }

/* ── PRODUCT SECTIONS ── */
.products-section {
  padding: 88px 0;
  background: var(--bg-light);
}

.products-section.alt {
  background: var(--white);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.products-section .section-label {
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 2px solid var(--primary);
  border-radius: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.more-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.section-divider {
  height: 2px;
  background: var(--border);
  margin-bottom: 40px;
  border-radius: 2px;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
}

.product-img-wrap {
  background: #f5f6fa;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
}

.product-info {
  padding: 18px 20px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.product-link svg {
  width: 15px;
  height: 15px;
  fill: var(--accent);
}

/* ── DİĞER KATEGORİLER ── */
.other-categories {
  padding: 88px 0;
  background: var(--primary-dark);
  color: var(--white);
}

.other-categories .section-label {
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.other-categories .section-title {
  color: var(--white);
  margin-bottom: 48px;
}

.other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.other-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-decoration: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s, transform 0.2s;
}

.other-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-4px);
}

.other-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(230, 57, 70, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.other-card-icon svg {
  width: 26px;
  height: 26px;
  fill: #ff6b74;
}

.other-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.other-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

.other-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

/* ── CTA ── */
.cta-section {
  overflow: hidden;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.cta-text {
  background: var(--accent);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.cta-text h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-image {
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 220px 1fr 1fr 260px;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  display: block;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--accent); }

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.footer-col h6 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 10px; }

.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.88rem;
}

.footer-col a:hover { color: var(--white); }

.footer-map {
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .other-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-image { height: 280px; }

  .cta-text { padding: 48px 36px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-map {
    grid-column: 1 / -1;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .page-hero { padding: 56px 0 48px; }

  .intro-section,
  .products-section,
  .other-categories {
    padding: 56px 0;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .section-header { flex-direction: column; align-items: flex-start; }

  .other-card { padding: 28px 24px; }

  .cta-text { padding: 40px 24px; }

  .cta-image { height: 240px; }

  .footer-inner { grid-template-columns: 1fr; }

  .footer-map { height: 160px; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
}
