/*
Theme Name: My Landing Theme
Theme URI: https://demo.duzceuniversite.com
Author: Bahadır Çetin
Author URI: https://demo.duzceuniversite.com
Description: Tek sayfalık modern yazılım tanıtım + blog sistemi teması
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: my-landing-theme
*/

/* =========================
   Ürün Detay Sayfası
========================= */
.product-detail h1 {
  font-size: 1.8rem;
  color: #222;
}

.product-detail h3 {
  font-size: 1.3rem;
  color: #444;
}

/* Sidebar Kartları */
aside .card {
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
aside .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}
aside .card-title {
  font-size: 0.95rem;
  color: #333;
}

/* =========================
   Ürün Kartları (Anasayfa)
========================= */
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  height: 100%; /* Kartların eşit olması için */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Ürün Görseli */
.product-image {
  position: relative;
}
.product-image img {
  width: 100%;
  height: 180px;       /* 📌 Görseller aynı hizada */
  object-fit: cover;   /* Orantılı kırpma */
  display: block;
}

/* Rozet */
.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #22c55e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
}

/* Fiyat Kutusu */
.price-box {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px;
  background: #f9fafb;
  display: inline-block;
}

/* İçerik hizalama */
.product-card .p-3 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* =========================
   Butonlar
========================= */

/* Detaylı Bilgi Butonu */
.showcase-cart-btn2 {
  flex: 1;
  border-radius: 10px;
  padding: 7px;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-align: center;
  transition-duration: 0.1s;
  transition-timing-function: linear;
  text-decoration: none;
}
.showcase-cart-btn2:hover {
  color: #fff;
  text-decoration: none;
}

/* Sepet Butonu (küçük ikonlu) */
.btn-outline-secondary {
  border-radius: 6px;
  font-size: 1rem;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Header & Offcanvas Menü
========================= */

/* Hamburger buton stili */
header .btn {
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
header .btn:hover {
  background: #f3f4f6;
}

/* Offcanvas Menü */
.offcanvas .navbar-nav li {
  margin-bottom: 10px;
}
.offcanvas .navbar-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}
.offcanvas .navbar-nav a:hover {
  color: #94c355; /* Tema ayarlarından gelen buton rengi ile de bağlanabilir */
}

/* =========================
   Masaüstü Menü (Animasyonlu)
========================= */
.navbar-nav {
  display: flex;
  gap: 20px; /* menü öğeleri arası boşluk */
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* Header menü: renk ve alt-çizgi kontrolü (sadece header) */
header.navbar .navbar-nav .nav-link,
header .navbar .navbar-nav .nav-link {
  color: #333 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

header.navbar .navbar-nav .nav-link:hover,
header .navbar .navbar-nav .current-menu-item > .nav-link,
header .navbar .navbar-nav .nav-link.active {
  color: #94c355 !important;
  text-decoration: none !important;
}


/* =========================
   Mobil Menü (Daha Zarif & Modern)
========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2a0d5e, #14102e);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Üst Kısım */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu-header .menu-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.mobile-menu-header .close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

/* Menü Linkleri */
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav li {
  margin: 5px 0;
}
.mobile-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 400;
  color: #eee !important;
  text-decoration: none !important;
  border-radius: 6px;
  transition: all 0.25s ease;
}
.mobile-nav a:hover,
.mobile-nav .current-menu-item > a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

/* Hamburger Buton */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Slider Css */

/* Slider img responsive */
/* Görsel slider yüksekliği */
.slider-img {
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}
@media (max-width: 991px){
  .slider-img { height: 260px; }
}
@media (max-width: 576px){
  .slider-img { height: 200px; }
}


