/* ==========================================================================
   DENİZ ÖRME - ELDİVEN & BERE İMALATI (GLOVEX & DNZ)
   Modern, Temiz Beyaz Tema & E-Ticaret Katalog Stilleri
   ========================================================================== */

:root {
  --primary-color: #0f172a;
  --primary-dark: #020617;
  --secondary-color: #2563eb;
  --secondary-hover: #1d4ed8;
  --accent-color: #0284c7;
  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 30px -5px rgba(0, 0, 0, 0.12), 0 8px 12px -6px rgba(0, 0, 0, 0.05);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Top Announcement / Info Bar */
.top-bar {
  background-color: #090d16;
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
  color: #f1f5f9;
  text-decoration: none;
  transition: var(--transition);
}
.top-bar a:hover {
  color: #38bdf8;
}
.top-bar .divider {
  opacity: 0.3;
  margin: 0 8px;
}

/* Main Navigation */
.navbar-custom {
  background-color: var(--bg-white) !important;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.navbar-brand-logo {
  height: 52px;
  width: auto;
  transition: var(--transition);
}
.nav-link-custom {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--secondary-color) !important;
  background-color: var(--bg-light);
}

/* WhatsApp Nav Button */
.btn-whatsapp-nav {
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp-nav:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  color: #fff !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 60px 0 50px 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #eff6ff;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid #dbeafe;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-title span {
  color: var(--secondary-color);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 18px 0 28px 0;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2px;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quick Category Cards */
.category-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-main);
  display: block;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}
.category-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.category-card:hover .category-icon-wrapper {
  background: #eff6ff;
  transform: scale(1.1);
}
.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.category-card span.count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Product Cards */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}
.product-image-container {
  background: var(--bg-light);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-container img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image-container img {
  transform: scale(1.08);
}
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge-quality-1 {
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.badge-quality-2 {
  background: #475569;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}
.badge-quality-3 {
  background: #94a3b8;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}
.badge-special {
  background: #d97706;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}

.product-body {
  padding: 18px 18px 14px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-series {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.35;
}
.product-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.product-title a:hover {
  color: var(--secondary-color);
}
.product-specs {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.product-specs-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #f1f5f9;
  padding-bottom: 2px;
}

.product-footer {
  padding: 12px 18px 18px 18px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* WhatsApp Direct Order Button */
.btn-whatsapp-order {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
  width: 100%;
}
.btn-whatsapp-order:hover {
  background-color: var(--whatsapp-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}
.btn-detail-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-detail-outline:hover {
  background-color: var(--bg-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Filter Controls in Catalog */
.catalog-filter-bar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.nav-pills-custom .nav-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  margin-right: 6px;
  margin-bottom: 6px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.nav-pills-custom .nav-link:hover {
  background: #e2e8f0;
  color: var(--primary-color);
}
.nav-pills-custom .nav-link.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}
.search-input-wrapper {
  position: relative;
}
.search-input-wrapper input {
  padding-left: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  height: 44px;
}
.search-input-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Feature Banners & Advantages */
.feature-box {
  padding: 30px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}
.feature-box .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px auto;
}
.feature-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* How to Order Steps (Nasıl Sipariş Verilir) */
.step-card {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

/* Product Detail Page */
.product-detail-gallery {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}
.product-detail-gallery img {
  max-height: 380px;
  max-width: 100%;
  object-fit: contain;
}
.detail-price-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
}
.quantity-btn {
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
}
.quantity-input {
  width: 55px;
  height: 38px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* WhatsApp Sticky Floating Button & Popup */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  text-decoration: none;
  transition: var(--transition);
}
.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-dark);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

/* Floating Cart / Order Summary Indicator */
.cart-floating-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
  z-index: 1045;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.cart-floating-btn:hover {
  transform: scale(1.08);
  background-color: var(--primary-dark);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Footer Styling */
.footer-main {
  background-color: #0b1120;
  color: #cbd5e1;
  padding: 60px 0 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--secondary-color);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.footer-contact-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}
.footer-bottom {
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

/* Breadcrumbs */
.breadcrumb-custom {
  background: transparent;
  padding: 12px 0;
  margin-bottom: 20px;
  font-size: 0.88rem;
}
.breadcrumb-custom a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb-custom a:hover {
  color: var(--secondary-color);
}
.breadcrumb-custom .active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Toast Notification for adding to list */
.custom-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1090;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.custom-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
