/*=============================
1) VARIABLES
=============================*/
:root {
  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Poppins', var(--font-base);

  /* Font boyutları */
  --nav-link-size: 16px;
  --slider-p-size: 1.35rem;
  --footer-font-size: 14px;
  --hero-h3-size: 28px;
  --hero-p-size: 20px;
  --hero-h3-size-mobile: 22px;
  --hero-p-size-mobile: 16px;
  
  /* Spacing & padding */
  --footer-pad-v: 16px;
  --footer-gap: 30px;

  /* Mobil optimizasyon */
  --mobile-blur: 6px;
  
  /* Layout */
  --max-width: 1200px;
  --gap-lg: 40px;
  --nav-height: 80px;
  --pad-lg-v: 60px;
  --pad-lg-h: 20px;

  /* Cards */
  --card-radius: 8px;
  --card-border: rgba(0, 0, 0, 0.1);
  --card-border-hover: rgba(0, 0, 0, 0.2);
  --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);

  /* Colors & Transitions */
  --c-light: #fff;
  --c-dark: #333;
  --c-mid-gray: #667;
  --brand-green: #25d366;
  --brand-green-hover: #1ebe5d;
  --gradient-underline: linear-gradient(to right, #ff0000, #000000);
  --transition: 0.3s ease;

  /* Slider */
  --slider-height: 90vh;
  --slider-transition: 0.5s ease-in-out;
  --slider-overlay: rgba(0, 0, 0, 0.2);
  --dot-size: 12px;
  --dot-gap: 10px;
  --dot-color: #fff;
  --dot-opacity: 0.7;
  --dot-opacity-active: 1;

}

/*=============================
2) RESET & BASE
=============================*/
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  -webkit-font-smoothing: antialiased; /* mobil ve webkit tabanlı tarayıcılarda netlik */
  -moz-osx-font-smoothing: grayscale;  /* macOS için font netliği */
  text-rendering: optimizeLegibility;  /* kerning/ligature iyileştirme */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-base);
}

main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--pad-lg-v) var(--pad-lg-h);
}

@media (max-width: 768px) {
  /* Genel sayfa düzeni ve boşlukları */
  main {
    padding: var(--pad-lg-v) 16px; /* Yan boşlukları küçült */
  }
}
/*=============================
3) LOGO & TYPOGRAPHY
=============================*/
.logo {
  font-family: var(--font-heading);
  text-transform: lowercase;
  font-weight: 600;
  letter-spacing: -0.5px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
}

/*=============================
4) NAVBAR
=============================*/

/* Desktop */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  padding: 0 var(--pad-lg-h);
}

/* Links & Underline */
.nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  margin: 0 16px;
  color: inherit;
  transition: color var(--transition);
  font-size: var(--nav-link-size);
  line-height: var(--nav-height); /* Dikey tıklama alanı */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 0;
  height: 2px;
  background: var(--gradient-underline);
  transition: width var(--transition);
}

.nav-link.active::after {
  width: 100%;
}

.nav-container .logo,
.nav-container .logo * {
  display: inline-flex;
  align-items: center;
}

.nav-container .logo img {
  display: block;
  max-height: calc(var(--nav-height) - 20px); /* Üst-alt 10px nefes */
}

/* Color variants & scroll */
body.index .nav-link,
body.index .logo {
  color: var(--c-light);
  background-color: transparent;
}

body.index:not(.scrolled) .navbar {
  backdrop-filter: none;
  box-shadow: none;
}

body.index:not(.scrolled) .navbar .nav-link {
  color: var(--c-light);
}

@media (max-width: 768px) {
  body.index .nav-menu .nav-link { color: var(--c-dark); }
    .nav-menu .nav-link:hover { color: var(--c-dark);}
    .nav-menu li a:hover {
      background: rgba(0, 0, 0, 0.05);
    }

  body.index:not(.scrolled) .navbar .nav-link {
  color: var(--c-dark);
}
}

.nav-link,
.logo {
  color: var(--c-dark);
}
  
.navbar .nav-link,
.navbar .logo {
  color: var(--c-dark);
}

@media (max-width: 768px) {
  .nav-menu .nav-link { color: var(--c-dark); }
  .nav-menu .nav-link:hover { color: var(--c-dark); }
  .nav-menu li a:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

.navbar {
  backdrop-filter: blur(var(--mobile-blur));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0);
}

.navbar .nav-link,
.navbar .logo {
  color: var(--c-dark);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.navbar.scrolled .nav-link,
.navbar.scrolled .logo {
  color: var(--c-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  transition: color var(--transition);
}

.hamburger svg rect {
  fill: currentColor;
  transition: fill var(--transition);
}

/* Desktop menu */
@media (min-width: 769px) {
  .nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    background: transparent;
    box-shadow: none;
    position: static;
    transform: none;
  }
  .hamburger {
    display: none;
  }
}

/* Mobile menu */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-height: 36px;
    transition: max-height 0.2s ease;
  }

  .navbar {
    display: flex;
    align-items: center; /* dikey ortalama */
    justify-content: center; /* yatayda ortalama (isteğe bağlı) */
    height: var(--nav-height); /* örneğin 64px veya 72px */
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 60%;
    max-width: 220px;
    max-height: calc(100vh - var(--nav-height) - 16px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    border-radius: var(--card-radius);
    padding-top: 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-menu li a {
    display: block;
    padding: 12px 0;
    font-size: 20px;
    text-align: center;
    color: var(--c-dark);
    text-decoration: none;
    transition: background 0.2s ease;
  }
}

/*=============================
5) HERO & TAGLINE – Refactored
=============================*/
.hero-text{
  max-width: 800px;
  margin: 40px auto auto auto;
  background-color: #eee;
  
  text-align: center;
  border-top: 1px solid #a0a0a0;
  border-bottom: 1px solid #a0a0a0;
}

.hero-text h3 {
  padding: var(--pad-lg-h) var(--pad-lg-v);
  font-size: var(--hero-h3-size); /* ≈28px */
  margin-bottom: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--c-dark);
}

.hero-text p{
  padding: var(--pad-lg-h) var(--pad-lg-v);
  font-size: var(--hero-p-size); /* ≈20px */
  margin-bottom: 8px;
  color: #444;
  font-family: var(--font-base);
}

.hero-images {
  display: flex;
  justify-content: space-between; /* Biri sola, biri sağa */
  align-items: center;
  padding: 2vh; /* İsteğe bağlı iç boşluk */
}

.hero-images img {
  width: 15vw;
  height: auto;
  max-height: 10vh;
}
@media (max-width: 768px) {
  .hero-text h3 {
    font-size: var(--hero-h3-size-mobile); /* ≈22px */
  }

  .hero-text p{
    font-size: var(--hero-p-size-mobile); /* ≈16px */
  }

  .hero-images img {
    width: 36vw;
  }
}

/*==============================================
 6) ÜRÜN KATALOĞU BÖLÜMÜ (ANA SAYFA)
 ==============================================*/

.product-catalog-section {
  background-color: #eee;
  padding: var(--pad-lg-v) var(--pad-lg-h);
  text-align: center;
  border-top: 1px solid #a0a0a0;
  border-bottom: 1px solid #a0a0a0;
}

.product-catalog-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px; /* Açıklama metniyle arasına boşluk ekler */
}

/* Mevcut .section-description stilini tekrar kullanıyoruz, bu yüzden ek koda gerek yok */

.catalog-button {
  display: inline-block;
  margin-top: 24px; /* Açıklama metni ile buton arasına boşluk koyar */
  padding: 12px 28px;
  background-color: #0066a1;
  color: var(--c-light); /* Beyaz yazı */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--card-radius); /* Sitedeki diğer yuvarlak köşelerle uyumlu */
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.catalog-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  background-color: #015585; /* Yeşil rengin biraz daha koyu tonu */
}

/* Mobil cihazlar için küçük ayarlamalar */
@media (max-width: 768px) {
  .product-catalog-section h2 {
    font-size: 1.6rem;
  }

  .catalog-button {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/*=============================
 7) AYTPLAST RAKAMLARLA
 =============================*/
.numbers-section {
  margin-top: 60px;
  padding: var(--pad-lg-v) var(--pad-lg-h);
  text-align: center;
  background-color: #f3f3f3;
}

.numbers-section h2 {
  font-size: 2.5rem;
  margin-bottom: var(--gap-lg);
  color: var(--c-dark);
}

.numbers-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.number-item {
  text-align: center;
}

.number-item .number {
  font-size: 4rem;
  font-weight: 700;
  color: #0d6b4f;
  display: block;
}

.number-item p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--c-dark);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .numbers-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/*=============================
8) SLIDER
=============================*/
.slider {
  position: relative;
  overflow: hidden;
  height: var(--slider-height);
}

.slides {
  display: flex;
  width: 400vw;
  transition: var(--slider-transition);
}

.slide {
  position: relative;
  width: 100vw;
  height: var(--slider-height);
  flex-shrink: 0;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slider-overlay); /* daha hoş bir overlay */
}

.slide img {
  width: 100vw;
  height: var(--slider-height);
  object-fit: cover;
}

.slider-text {
  position: absolute;
  top: 35%;
  left: 5%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  z-index: 10;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.slider-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
.slider-text p {
  font-size: var(--slider-p-size);
  color: #fff;
  font-family: var(--font-base);
  margin: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slider – Mobile */
@media (max-width: 768px) {
  .slider,
  .slide {
    height: 100vh; /* görsel kadrajı düzgün dursun */
  }
  .slide img {
    height: 100vh;
    object-fit: cover;
  }

  .slider-text {
    top: 25%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 520px;
    text-align: center;
  }

  .slider-text h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .slider-text p {
    font-size: 1.1rem;
    margin-top: 8px;
  }

  .dots {
    bottom: 16px;
  }
}
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  opacity: 0.7;
}

.dot.active {
  opacity: 1;
}



.animated-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 120px 40px 60px;
  align-items: center;
}

.product-info {
  flex: 1;
  min-width: 300px;
  animation: fadeInLeft 1s ease-out forwards;
}

.product-info h1 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #222;
}

.product-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #444;
}

.features {
  list-style: disc;
  padding-left: 20px;
  font-size: 15px;
  color: #444;
  display: grid;
  gap: 6px;
}

.product-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-in-image {
  max-width: 100%;
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInRight 1.2s ease-out forwards;
}

/* Animasyonlar */
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .animated-layout {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px 40px;
  }

  .product-visual {
    margin-top: 20px;
  }

  .product-info h1 {
    font-size: 22px;
  }

  .product-description {
    font-size: 15px;
  }

  .features {
    font-size: 14px;
    padding-left: 0;
    list-style: none;
  }
}

.card-box {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  max-width: 300px;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-box:hover {
  transform: scale(1.02);
}

.card-box img {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
}

.animated-image {
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInRight 1.2s ease-out forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/*=============================
9 PRODUCTS & CARDS
=============================*/
.products {
  display: flex;
  justify-content: center;
  padding: var(--pad-lg-v) var(--pad-lg-h);
  padding-top: 0px;
  text-align: center;
  gap: 40px;
  flex-wrap: wrap;
}

.products h2 {
  font-size: 1.8rem;
  margin-bottom: 0px;
}

.products .section-description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0px;
  max-width: 800px;
  margin-left: 0px;
  margin-right: auto;
  padding-top: 6px;
}

.products .product-grid {
  display: flex;
  justify-content: center;
  gap: var(--gap-lg);
}

.products .product-card {
  text-decoration: none;
  color: #333;
  width: 480px;
  height: 200px;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 24px;
}

.products .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.products .product-card img {
  width: 160px;
  max-height: 180px;
  height: auto;
}

.products .product-card .card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.products .product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.products .product-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.product-box {
  width: 300px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border: 2px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 6px;
}
.product-box img {
  width: 100%;
  height: 250px;
  object-fit: scale-down;
}
.product-box:hover {
  transform: scale(1.05);
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Ürün kartı arka plan renkleri */
.card-one {
  background-color: #EA5B6F;
}
.card-one p,
.card-one h3 {
  color: #ffffff;
}
.card-two {
  background-color: #6EFBA1; /* Açık mavi ton */
}

.card-two p,
.card-two h3 {
  color: #363636;
}
/* Mobil için responsive düzenlemeler */
@media (max-width: 768px) {
  .products .product-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .products .product-card {
    width: 100%;
    max-width: 400px;
    height: auto;
    flex-direction: column;
    text-align: center;
  }

  .products .product-card img {
    margin: auto auto 20px auto;
  }

}

.product-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.product-card img {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.product-card p {
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  .product-card img {
    max-width: 100px;
  }

  .product-card h3 {
    font-size: 1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }
}

/*=============================
10) Hakkımızda Sayfası
=============================*/
.contact-page {
  padding: var(--pad-lg-v) var(--pad-lg-h) 60px;
  padding-top: calc(var(--nav-height) + 30px);
  max-width: var(--max-width);
  margin: 0 auto;
  margin-bottom: 60px;
}

.contact-page h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--c-dark);
  font-family: var(--font-heading);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 20px;
}

/* Kart yapısı */
.contact-card {
  background: var(--c-light);
  border: 1px solid var(--c-mid-gray);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition);
}

.contact-card:hover {
  box-shadow: var(--card-shadow-hover);
}

/* Başlıklar */
.contact-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 12px;
}

/* Paragraflar */
.contact-card p {
  font-size: 1rem;
  color: #131313;
  line-height: 1.5;
  margin: 0 0 12px;
}

/* Liste */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: #131313;
  line-height: 1.5;
}

.contact-list strong {
  color: #101010;
  font-weight: 600;
  margin-right: 6px;
}

.contact-list a {
  color: #6d8dd0;
  text-decoration: none;
  border-bottom: 1px ridge transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-list a:hover {
  color: #588eeb;
  border-color: #588eeb;
}

/* WhatsApp butonu */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #588eeb;
  color: var(--c-light);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 16px rgba(88, 142, 235, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-link:hover {
  background: #3780ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(88, 142, 235, 0.32);
}

/* Harita */
#map {
  width: 100%;
  height: 300px;
  border-radius: var(--card-radius);
  margin-top: 24px;
  box-shadow: var(--card-shadow);
}

@media (max-width: 768px) {
  .contact-page {
    padding: 80px 16px 40px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-page h1 {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card h2 {
    font-size: 1rem;
  }

  .contact-card p,
  .contact-list {
    font-size: 0.9rem;
  }

  #map {
    height: 240px;
  }
}

/*=============================
11) FOOTER
=============================*/
.site-footer {
  margin-top: auto;
  background: #292e37;
  color: var(--c-light);
  padding: var(--footer-pad-v) var(--pad-lg-h) 8px;
  font-size: var(--footer-font-size);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* İçerik genişliğini sınırlayan merkezleyici */
.site-footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Sütunlar */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* center → space-between */
  align-items: flex-start;
  gap: var(--footer-gap);
  text-align: left;
  padding-top: 8px;
  width: 100%;
}

/* Sütun genişlikleri (kompakt) */
.footer-columns > div {
  flex: 1 1 220px;   /* min 220px, üstü büyüsün */
  max-width: 360px;
  min-width: 180px;
}

/* Başlıklar */
.footer-columns h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--c-light);
}

/* Liste ve içerik */
.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns li {
  margin-bottom: 6px;
}

.footer-columns p,
.footer-columns a {
  color: var(--c-light);
  text-decoration: none;
  font-size: 0.95rem;
  margin: 0 0 6px;
  transition: color var(--transition);
}

.footer-columns a:hover {
  color: #8aaaef;
}

/* WhatsApp butonu */
.footer-contact a.whatsapp {
  display: inline-block;
  background: none;
  color: #8aaaef;
  padding: 8px;
  border-radius: 6px;
  border-style: solid;
  font-weight: 500;
  margin-top: 6px;
}

/* Alt şerit (kompakt ve ortalı) */
.footer-bottom {
  max-width: var(--max-width);
  margin: 16px auto 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #bebebe;
  font-size: 11px;
  text-align: center;
  
}

.footer-bottom img {
    width: 8%;
}

@media (max-width: 768px) {
  /* Footer içindeki sütunları (columns) tek sütunlu düzene geçir */
  .site-footer .footer-columns {
    flex-direction: column;
    align-items: center;
    gap: var(--footer-gap);
    text-align: center;
  }

  /* Her bir footer kartı (contact, kurumsal vs.) için */
  .site-footer .footer-columns > div {
    flex: 1 1;
    max-width: 100%; /* Mobil ekranda daha dar bir alana sığar */
    min-width: 0;
  }

  /* Sosyal medya/WhatsApp butonu için merkezleme */
  .footer-contact a.whatsapp {
    margin: 16px auto 0;
    display: block;
    width: fit-content;
  }

  .footer-bottom {
    font-size: 10px;
    padding-top: 6px;
  }
  .footer-bottom img {
    width: 40%;
  }
}
/*=============================
12) SCROLL TO TOP – Refactored (Glassmorphism)
=============================*/
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(var(--mobile-blur));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease,
              transform 0.25s ease,
              visibility 0.25s,
              background 0.25s ease;
  z-index: 1002;
}

.to-top svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: transform 0.2s ease;
}

.to-top:hover {
  background: rgba(255, 255, 255, 0.12);
}

.to-top:hover svg {
  transform: translateY(-1px);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*=============================
 13) Üretimlerimiz Sayfası
 =============================*/
/* Genel bölüm stili */
.our-product-section {
  margin: var(--gap-lg) 0;
}

/* Ürün öğelerinin kapsayıcısı */
.our-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-lg);
  padding: 50px 30px; /* Dikey padding artırıldı */
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, #047857, #015585);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ürün görseli */
.our-product-image {
  flex: 1;
  min-width: 50%;
  max-width: 50%;
}

.our-product-image img {
  width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  object-fit: cover;
}

/* Ürün açıklaması */
.our-product-description {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.our-product-description h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.our-product-description ul {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}
.our-product-description p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #eee;
}
/* Yüksek çözünürlüklü ekranlar için düzen */
@media (min-width: 992px) {
  .our-product-item {
    flex-direction: row;
  }

  /* İlk ürün: görsel solda, yazı solda */
  .our-product-item-image-left .our-product-image {
    order: 0;
  }
  .our-product-item-image-left .our-product-description {
    order: 1;
    text-align: left;
  }

  /* İkinci ürün: görsel sağda, yazı solda */
  .our-product-item-image-right .our-product-image {
    order: 1;
  }
  .our-product-item-image-right .our-product-description {
    order: 0;
    text-align: left;
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .our-product-item {
    padding: 30px 20px; /* Dikey padding mobil için de artırıldı */
  }

  .our-product-image,
  .our-product-description {
    min-width: 100%;
    max-width: 100%;
  }

  .our-product-description {
    padding: 10px;
  }

  .our-product-description h2 {
    font-size: 1.5rem;
  }
}

/*==============================================
  14) ÜRÜNLERİMİZ SAYFASI
==============================================*/

/* Genel 'main' etiketinin limitlerini kaldırmak için */
main.main-products {
  flex: 1;
  max-width: none;
  margin: 0;
  padding: var(--pad-lg-v) var(--pad-lg-h);
}

/* Kendi konteyner yapımız */
.pp-container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--pad-lg-v) 30px 60px 30px;
}

@media (max-width: 768px) {/*bu kısım yeni. 1404teki ayar bozuyor normalde*/
 main.main-products {
    max-width: 100%;
    min-width: 0;
  }

  .pp-container {
   padding: 60px 0 0 0;
  }
}

/* --- Başlık Stili --- */
.pp-header-title {
    font-size: 42px;
    font-weight: 800;
    color: #05441d;
    margin-bottom: var(--gap-lg);
    text-align: center;
}

.pp-header-title::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background-color: #3b8c3b;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- GÜNCELLEME: Esnek ve Otomatik Grid Yapısı --- */
.pp-product-list {
    display: grid;
    gap: 30px;
    padding: 0;
    list-style: none;
    /* Bu kod, ekrana sığabildiği kadar ürün kartı yerleştirir.
      Her kart en az 324px olacak (300px resim + 24px padding), 
      kalan boşlukları ise eşit olarak paylaşacaktır (1fr).
      Bu sayede mobil, tablet ve desktop için ayrı kod yazmaya gerek kalmaz.
    */
    grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
}


/* --- GÜNCELLEME: Ürün Kartı Stilleri --- */
.pp-product-card {
    /* Sabit yüksekliği kaldırdık, içeriğe göre uzayacak */
    display: flex;
    flex-direction: column;
    background-color: var(--c-light);
    border-radius: var(--card-radius); 
    box-shadow: var(--card-shadow); 
    border: 1px solid var(--card-border); 
    transition: all var(--transition); 
    cursor: pointer;
    text-align: center;
    padding: 12px;
}

.pp-product-card:hover,
.pp-product-card.active {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
    transform: translateY(-4px) scale(1.03); 
    background-color: #f7fff5; 
    z-index: 10;
    position: relative;
}

/* GÜNCELLEME: Görsel Boyutları (300x360 Oranı) */
.pp-product-card-image {
    width: 100%;
    /* Yüksekliği otomatik olarak 300/360 oranına göre ayarlar */
    aspect-ratio: 300 / 360; 
    object-fit: cover; 
    border-radius: var(--card-radius);
    margin-bottom: 15px; /* Boşluğu biraz artırdık */
}

/* GÜNCELLEME: Ürün Adı (2 Satır Sorunu Çözüldü) */
.pp-product-name {
    font-family: var(--font-heading);
    font-size: 16px; 
    font-weight: 600;
    color: #05441d;
    /* Satır aralığı artırılarak 2 satırın rahatça sığması sağlandı */
    line-height: 1.5; 
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

/* Kaydırılabilir ürün açıklaması stilleri */
.pp-product-desc {
    flex-grow: 1;
    min-height: 5em; /* Açıklama alanının minimum yüksekliği */
    font-size: 14px;
    font-family: var(--font-base);
    color: var(--c-dark);
    line-height: 1.6; /* Açıklama metni okunabilirliği artırıldı */
    text-align: left;
    margin: 0;
    padding-right: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Kaydırma çubuğu stilleri */
.pp-product-desc::-webkit-scrollbar {
  width: 6px;
}
.pp-product-desc::-webkit-scrollbar-track {
  background: transparent;
}
.pp-product-desc::-webkit-scrollbar-thumb {
  background: #05441d;
  border-radius: 3px;
}
