/*
 * general-pages.css güncellendi:
 * - Sadece index.php dışındaki sayfalarda kullanılacak global ve sayfa genel stilleri içerir.
 * - Navbar ile ilgili tüm görsel ve yapısal stiller navbar.css'e taşındı.
 * - Parallax ve sayfa başlığı gibi genel sayfa elementleri burada kalır.
 * - Çakışan veya gereksiz navbar kodları kaldırıldı.
 */

/*==========---PARALLAX---==========*/
.parallax {
  height: 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #3b00a3;
}

.parallax .parallax-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0 !important;
  overflow: hidden;
}

.parallax .parallax-img img {
  width: 100% !important;
  min-width: 100%;
  min-height: 250px !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0 !important;
  height: auto !important;
}

/* Jarallax container override */
.jarallax-container {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0 !important;
  clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 100%);
}

.parallax .parallax-text {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  text-shadow:1px 1px 1px rgba(1, 1, 1, 1);
  padding-left: 40px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.parallax .parallax-text .page {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 36px;
}

.parallax .parallax-text .navigation {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.parallax .parallax-text a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 500;
}

.parallax .parallax-text a:hover {
  color: #f0f4ff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/*==========---TABLET (501px - 991px)---==========*/
@media (min-width: 501px) and (max-width: 991px) {
  .parallax {
      height: 70px;
      position: relative;
      z-index: -1;
      overflow: hidden;
  }
  
  .parallax .parallax-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
  }
  
  .parallax .parallax-img img,
  .parallax .jarallax-img {
      min-height: 300px;
      height: 300px;
      object-position: center 30%;
      top: 0;
      position: absolute;
      z-index: -1;
      width: 100%;
  }
  
  .jarallax-container {
      z-index: -1;
      overflow: hidden;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  
  .parallax .parallax-text {
      padding-left: 20px;
      gap: 12px;
      z-index: 2 !important;
      position: relative;
  }
  
  .parallax .parallax-text .page {
      font-size: 24px;
  }
  
  .parallax .parallax-text .navigation {
      font-size: 14px;
  }
}

/*==========---MOBİL (max-width: 500px)---==========*/
@media (max-width: 500px) {
  .parallax {
      height: 50px;
      position: relative;
      z-index: -1;
      overflow: hidden;
  }
  
  .parallax .parallax-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
  }
  
  .parallax .parallax-img img,
  .parallax .jarallax-img {
      min-height: 250px;
      height: 250px;
      object-position: center 35%;
      top: 0;
      position: absolute;
      z-index: -1;
      width: 100%;
  }
  
  .jarallax-container {
      z-index: -1;
      overflow: hidden;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  
  .parallax .parallax-text {
      padding-left: 12px;
      gap: 8px;
      flex-direction: row !important;
      align-items: center;
      flex-wrap: wrap;
  }
  
  .parallax .parallax-text .page {
      font-size: 18px;
  }
  
  .parallax .parallax-text .navigation {
      font-size: 12px;
  }
  
  .item-header {
    font-size: 0.9rem;
  }
  .alt-bosluk {
    margin-top: 10px;
  }
  .sepete-ekle-inner {
    font-size: 0.85rem !important;
    padding: 6px 20px !important;
    min-width: 120px !important;
    letter-spacing: 1px !important;
  }
}

/* ========== IRIS BUTTON (Reusable Sepete Ekle Button) ========== */
.iris-btn-outer {
display: inline-block;
border-right: 2px solid #ed632b;
border-bottom: 2px solid #ed632b;
padding: 1px;
background: transparent;
border-radius: 0;
}
.iris-btn {
border: 1px solid #ed632b;
border-radius: 0;
background: #ed632b;
color: #fff;
font-family: 'Poppins', sans-serif;
font-size: 1.08rem;
font-weight: 600;
letter-spacing: 2px;
padding: 8px 32px;
margin-left: -5px;
margin-top: -5px;
text-transform: uppercase;
min-width: 170px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
display: block;
position: relative;
overflow: hidden;
box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.iris-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: left 0.5s;
}

.iris-btn:hover {
background: #ed632b;
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(107, 70, 193, 0.4);
}

.iris-btn:hover::before {
left: 100%;
}

/* Ürünlerle ilgili stiller (general.css -> general-pages.css) */

.price,
.item .price {
font-family: 'Poppins', sans-serif;
font-weight: 500;
}
.price strike,
.price .tl {
color: #718096;
font-size: 14px;
text-decoration: line-through;
}
.iris-price-after {
color: #2D3748;
}
.item-header {
font-family: 'Poppins', sans-serif;
font-size: 16px;
font-weight: 600;
color: #2D3748;
margin-bottom: 4px;
}
.alt-bosluk {
margin-top:20px;
display: flex;
justify-content: center;
}

/* Card Elevation Effects */
.card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
}

.card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Page Headers */
.page-header h1,
.page-header h2,
.page-header h3 {
color: #ed632b;
}

/* Button Gradient Effects */
.btn-gradient {
background: #ed632b;
color: #fff;
border: none;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.btn-gradient::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: left 0.5s;
}

.btn-gradient:hover {
background: #ed632b;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(107, 70, 193, 0.4);
}

.btn-gradient:hover::before {
left: 100%;
}

/*==========---SEPETE GIT BUTTON---==========*/
.sepete-ekle-outer {
display: inline-block;
border-right: 2px solid #ed632b;
border-bottom: 2px solid #ed632b;
padding: 1px;
background: transparent;
border-radius: 0;
}

.sepete-ekle-inner {
border: 1px solid #ed632b;
border-radius: 0;
background: #ed632b;
color: #fff;
font-family: 'Poppins', sans-serif;
font-size: 1.08rem;
font-weight: 600;
letter-spacing: 2px;
padding: 8px 32px;
margin-left: -5px;
margin-top: -5px;
text-transform: uppercase;
min-width: 170px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
display: block;
position: relative;
overflow: hidden;
box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.sepete-ekle-inner::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: left 0.5s;
}

.sepete-ekle-inner:hover {
background: #ed632b;
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(107, 70, 193, 0.4);
}

.sepete-ekle-inner:hover::before {
left: 100%;
}