:root {
  --primary: #1b4332;       
  --primary-light: #2d6a4f; 
  --accent: #52b788;        
  --accent-soft: #d8f3dc;   
  
  --bg-main: #f8fafc;       
  --bg-card: #ffffff;      
  --text-main: #1f2937;    
  --text-muted: #64748b;    
  --border: #e2e8f0;
  
  --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition: all 0.25s ease-in-out;
}

/* --- SIFIRLAMA (RESET) --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER / NAVBAR --- */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;  
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* --- HERO BÖLÜMÜ --- */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f5 100%);
  border-bottom: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 680px;
}

.badge {
  display: inline-block;
  background-color: var(--accent-soft);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* --- ÖNE ÇIKAN AVANTAJLAR (VALUE PROPOSITION) --- */
.features {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: inline-block;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- ÖRNEK ÜRÜN VİTRİNİ --- */
.preview-catalog {
  padding: 60px 0 80px;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.product-card-banner {
  height: 225px;
  background: url('img/UrunBackground.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}

.product-card:hover .product-main-img {
  transform: scale(1.06);
}

.product-main-img {
  max-height: 100%; /* Kutunun tepesine yapışmasın, ferah dursun */
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2)); /* Tezgâha gölge düşsün */
  transition: transform 0.25s ease-in-out;
}

.product-img-placeholder {
  width: 100%;
  min-height: 200px;
  background-image: url(img/UrunBackground.jpg);
  background-repeat: no-repeat;
  background-position: center; 
  background-size: 400px auto;

  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-variants {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
}

.variant-tag {
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 50px 0 25px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  margin-bottom: 15px;
  color: var(--accent-soft);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #d1d5db;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* --- RESPONSIVE DÜZENLEME --- */
@media (max-width: 768px) {
    
  .hero h1 {
    font-size: 2.1rem;
  }
  .nav-links {
    display: none; 
  }
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.detail-container {
  padding: 50px 0 80px;
}

.breadcrumb {
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.detail-image-box {
  height: 380px;
  background: url('img/UrunBackground.jpg') center/cover no-repeat;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
  border: 1px solid var(--border);
}

.detail-image-box img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-category {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.detail-desc {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 25px;
  line-height: 1.7;
}

.variant-selector-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.variant-options {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.variant-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.variant-btn.selected,
.variant-btn:hover {
  border-color: var(--primary);
  background: var(--accent-soft);
  color: var(--primary);
}

/* Pazaryeri Butonları */
.marketplace-section {
  margin-top: 10px;
}

.marketplace-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 480px;
}

.marketplace-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.marketplace-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mp-logo {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.mp-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mp-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mp-text strong {
  font-size: 0.92rem;
  color: var(--text-main);
}

.btn-trendyol:hover {
  border-color: #f27a1a;
  background-color: #fff9f5;
}

.btn-hepsiburada:hover {
  border-color: #ff6000;
  background-color: #fff8f5;
}

.btn-pttavm:hover {
  border-color: #002b80;
  background-color: #f5f8ff;
}

.btn-kimyadeposu:hover {
  border-color: var(--primary);
  background-color: var(--accent-soft);
}

@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 30px;
  }
  .detail-image-box {
    height: 280px;
  }
  .marketplace-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.marketplace-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(1);  
  cursor: not-allowed;
  box-shadow: none;
  background-color: #f8f9fa;
  border-color: #e9ecef;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 80px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
} 

.site-footer {
  background-color: #173829; /* Görseldeki zengin koyu yeşil tonu */
  color: #ffffff;
  padding: 60px 0 25px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-group-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.footer-group-brand img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Sabit Canlı WhatsApp Butonu */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

.b2b-quote-box {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}

.wholesale-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f4f8f5;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-decoration: none;
  transition: var(--transition);
}

.wholesale-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.wholesale-btn .btn-icon {
  font-size: 1.8rem;
}

.wholesale-btn .btn-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wholesale-btn strong {
  font-size: 1rem;
  color: var(--primary);
  transition: color 0.2s ease;
}

.wholesale-btn small {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  transition: color 0.2s ease;
}

.wholesale-btn .btn-arrow {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}

.wholesale-btn:hover strong,
.wholesale-btn:hover small,
.wholesale-btn:hover .btn-arrow {
  color: #ffffff;
}

.wholesale-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Paylaşım Araçları */
.share-box {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-actions {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.share-btn:hover {
  background: #f8f9fa;
  border-color: #ced4da;
}

.share-btn.wp-share:hover {
  border-color: #25d366;
  color: #128c7e;
  background: #f0faf4;
}

.copy-feedback {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto 25px;
}

.search-box-wrapper input {
  width: 100%;
  padding: 14px 45px 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  background: #ffffff;
  transition: var(--transition);
}

.search-box-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 56, 41, 0.1);
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #e9ecef;
  border: none;
  color: #6c757d;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: none; /* Boşken görünmez */
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.clear-search-btn:hover {
  background: #ced4da;
  color: #212529;
}

.product-image-container {
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border-radius: 8px;
}

.product-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}