/* =========================================================
   1) GENEL AYARLAR
========================================================= */

:root {
  --primary: #8b0000;
  --primary-dark: #6f0000;
  --text: #202020;
  --muted: #5b5b5b;
  --line: rgba(0, 0, 0, 0.08);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --radius: 18px;

  --page-accent: #f28c1a;
  --page-accent-soft: rgba(242, 140, 26, 0.14);
  --page-accent-border: rgba(242, 140, 26, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #f5f5f5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}


/* =========================================================
   2) HEADER / ÜST MENÜ
========================================================= */

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 20px 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.logo img {
  width: auto;
  height: 76px;
}

.nav {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.nav a {
  color: #2f2f2f;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.nav a:hover {
  color: var(--primary);
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-home {
  color: var(--primary) !important;
  font-weight: 700;
}

.nav-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.2;
}

.nav-contact a,
.nav-contact a:visited {
  color: #2f2f2f;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-contact a:hover {
  color: var(--primary);
}


/* =========================================================
   3) HERO ALANI
========================================================= */

.hero {
  min-height: 84vh;
  display: flex;
  align-items: flex-start;
  padding: 108px 0 20px;
  background:
   linear-gradient(90deg,
        rgba(10, 80, 160, 0.20) 0%,
        rgba(10, 60, 150, 0.08) 22%,
        rgba(255, 255, 255, 0.00) 48% 
        ),
      url('images/hero.webp') no-repeat center center / cover;
  }

  .page-etiket .hero {
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 108px 0 20px;
    background: 
    linear-gradient(90deg,
      rgba(10, 80, 160, 0.20) 0%,
      rgba(10, 60, 150, 0.08) 22%,
      rgba(255, 255, 255, 0.00) 48%
      ),
    url('images/hero-etiket.webp') no-repeat center center / cover !important;
  }

  .page-evrak .hero {
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 108px 0 20px;
    background:
     linear-gradient(90deg,
      rgba(10, 80, 160, 0.20) 0%,
      rgba(10, 60, 150, 0.08) 22%,
      rgba(255, 255, 255, 0.00) 48%
      ),
    url('images/hero-cep.webp') no-repeat center center / cover !important;
  }

  .page-bileklik .hero {
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 108px 0 20px;
    background: linear-gradient(90deg,
      rgba(10, 80, 160, 0.20) 0%,
      rgba(10, 60, 150, 0.08) 22%,
      rgba(255, 255, 255, 0.00) 48%),
    url('images/hero-blk.webp') no-repeat center center / cover !important;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 36px;
    align-items: start;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    margin-top: 38px;
    margin-bottom: 22px;
    border: 1px solid rgba(139, 0, 0, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(4px);
  }

  .hero h1 {
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.45rem;
    line-height: 1.04;
    letter-spacing: -0.6px;
    color: #fff;
    text-shadow: -1px 0 rgba(122, 31, 31, 0.22),
    1px 0 rgba(122, 31, 31, 0.22),
    0 1px rgba(122, 31, 31, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.15);
  }

  .hero p {
    margin: 0 0 26px;
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 700;
    color: rgba(73, 67, 67, 0.94);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  }



  .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 18px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    height: 42px;
    margin-top: 26px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.30);
  }

  .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.78);
    color: #2f2f2f;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(4px);
  }

  .btn-secondary:hover {
    transform: translateY(-2px);
  }

  .hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .point {
    padding: 10px 14px;
    border: 1px solid var(--page-accent-border);
    border-radius: 7px;
    background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.92) 0%,
      var(--page-accent-soft) 55%,
      rgba(230, 233, 238, 0.82) 100%);
    color: #3b3b3b;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(4px);
  }


  /* =========================================================
   4) HERO SAĞ GÖRSEL ALANI
========================================================= */

  .hero-media {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    max-width: 440px;
    margin-top: 40px;
    margin-left: auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
  }

  .product-card img {
    width: 100%;
    max-height: 280px;
    margin: 0 auto;
    object-fit: contain;
  }

  .back-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    color: #4b0206;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
  }

  .back-home-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.20);
    color: #2f3338;
    border-color: rgba(255, 255, 255, 0.44);
  }

  .back-home-btn--glass {
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
  }

  .feature-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .feature-card h3 {
    font-size: 1.17em;
    font-weight: 700;
    color: #111;
  }

  .feature-card p {

    font-size: 1rem;
    line-height: 1.75;
    color: #4a4a4a;
  }


  /* =========================================================
   5) HERO SONRASI / DÖNÜŞ ALANI
========================================================= */

  .hero + .section {
    margin-top: -12px;
  }

  .section {
    padding: 28px 0;
  }

  .hero-return {
    margin-top: 80px;
  }

  .bottom-return-inner {
    display: flex;
    justify-content: center;
  }

  .bottom-return {
    padding-top: 0;
    padding-bottom: 10px;
    margin-top: -14px;
    opacity: 0.85;
  }

  .bottom-return a:hover {
    opacity: 1;

  }


  /* =========================================================
   6) İKİ SÜTUNLU İÇERİK ALANI
========================================================= */

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
  }

  .card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .section-title {
    display: flex;
    align-items: flex-start;
    min-height: 50px;
    margin: 0 0 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.45rem;
    line-height: 1.1;
    color: #1f1f1f;
  }

  .intro-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .intro-text {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.75;
    color: #4a4a4a;
  }


  /* =========================================================
   7) SAĞ TEKNİK KART
========================================================= */

  .tech-card {
    padding-top: 24px;
  }

  .tech-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .drawing-box,
  .tech-photo {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .drawing-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 12px;
  }

  .drawing-box img {
    width: auto;
    max-height: 190px;
    object-fit: contain;
  }

  .tech-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 6px;
  }

  .tech-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .spec {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    line-height: 1.6;
  }

  .spec span {
    display: block;
    color: #333;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.35;
  }

  .spec .title {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
  }


  /* =========================================================
   8) ALT CTA BÖLÜMÜ
========================================================= */

  .cta-section {
    margin-top: -12px;
    padding-top: 4px;
  }

  .cta-section .container {
    max-width: 1120px;
  }

  .cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    border-radius: 20px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .cta-strip h2 {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    color: #1f1f1f;
  }

  .cta-strip p {
    margin: 0;
    color: #5a5a5a;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .cta-strip .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }


  /* =========================================================
   9) FOOTER
========================================================= */

  footer {
    margin-top: 8px;
    padding: 0 0 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
  }


  /* =========================================================
   10) TABLET / KÜÇÜK LAPTOP
========================================================= */

  @media (max-width: 1080px) {
    .hero {
      min-height: auto;
      padding: 138px 0 26px;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .hero-grid,
    .two-col,
    .tech-top,
    .spec-grid {
      grid-template-columns: 1fr;
    }

    .product-card {
      max-width: 380px;
      margin-top: 18px;
    }

    .tech-photo,
    .drawing-box {
      min-height: auto;
    }

    .tech-photo img {
      height: 240px;
    }
  }


  /* =========================================================
   11) MOBİL / TABLET
========================================================= */

  @media (max-width: 900px) {
    header {
      padding: 18px 0 0;
    }

    .topbar {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: start;
      column-gap: 16px;
      gap: 0;
    }

    .logo {
      display: block;
      margin: 0;
    }

    .logo img {
      height: 58px;
      width: auto;
      display: block;
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-items: flex-start;
      align-content: flex-start;
      gap: 6px 14px;
      width: 100%;
      padding-top: 14px;
    }

    .nav a {
      font-size: 0.9rem;
    }

    .nav-contact {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      text-align: right;
      gap: 2px;
      line-height: 1.2;
    }

    .nav-contact a:first-child {
      display: none;
    }

    .nav-contact a:last-child,
    .nav-contact a:last-child:visited {
      font-size: 0.8rem;
    }

    .hero {
      min-height: auto;
      padding: 118px 0 26px;
      background: linear-gradient(180deg, rgba(28, 28, 28, 0.12) 0%, rgba(255, 255, 255, 0.00) 40%),
      url('images/hero.jpg') no-repeat center center / cover;
    }

    .hero-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .hero-copy {
      padding-top: 0;
    }

    .eyebrow {
      margin-top: 26px;
      margin-bottom: 16px;
      min-height: 32px;
      padding: 0 14px;
      font-size: 0.76rem;
    }

    .hero h1 {
      font-size: 1.7rem;
      line-height: 1.1;
      margin-bottom: 12px;
    }

    .hero p {
      margin-bottom: 14px;
      max-width: 320px;
      font-size: 0.95rem;
      line-height: 1.45;
    }

    .hero-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      margin-top: 14px;
      margin-bottom: 14px;
    }

    .hero-actions .btn {
      width: auto;
      margin-top: 0;
    }

    .hero-actions .btn-primary {
      min-width: 170px;
      height: 42px;
      padding: 0 24px;
      font-size: 1rem;
    }

    .hero-actions .btn-secondary {
      display: none;
    }

    .hero-points {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .point {

      white-space: normal;
      font-size: 0.82rem;
      padding: 9px 12px;
    }

    .hero-media {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 0;
    }

    .product-card {
      display: block;
      width: 100%;
      max-width: 280px;
      margin: 0 auto;
      padding: 12px;
      transform: translateY(-70px);

    }

    .product-card img {
      max-height: 220px;
      margin: 0 auto;

    }

    .section {
      padding: 22px 0;
    }

    .card {
      padding: 18px;
    }

    .section-title {
      min-height: auto;
      font-size: 1.24rem;
    }

    .intro-text {
      font-size: 0.95rem;
      line-height: 1.65;
    }

    .cta-strip {
      flex-direction: column;
      align-items: flex-start;
      padding: 18px 20px;
    }

    .cta-strip h2 {
      font-size: 1.15rem;
    }

    .cta-strip p {
      font-size: 0.92rem;
    }

    .cta-strip .btn-group {
      width: 100%;
    }

    .cta-strip .btn-group .btn {
      width: 100%;
      margin-top: 0;
    }

    .hero .back-home-btn,
    .hero .back-home-btn--glass {
      display: none !important;
    }
  }


  /* =========================================================
   12) DAR TELEFON
========================================================= */

  @media (max-width: 520px) {
    .hero {
      padding: 112px 0 22px;
    }

    .hero h1 {
      font-size: 1.55rem;
    }

    .hero p {
      font-size: 0.92rem;
      max-width: 280px;
    }

    .eyebrow {
      margin-top: 22px;
      font-size: 0.72rem;
    }

    .hero-actions .btn-primary {
      min-width: 160px;
      height: 40px;
      font-size: 0.96rem;
    }

    .point {
      font-size: 0.78rem;
    }

    .product-card {
      max-width: 250px;
      transform: translateY(-55px);
    }

  }


  @media (max-width: 600px) {

    .nav {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 15px;
      /* 🔥 Ana Sayfa - WhatsApp arası */
    }

    .nav-contact {
      margin-top: 12px;
      gap: 6px;
    }

  }


  @media (min-width: 1441px) {
  .hero .container {
    width: min(1160px, calc(100% - 14%));
  }

  .hero-copy {
    max-width: 620px;
  }
}