/* ==========================================================================
   MAXFIRE PELLET - Modern Lüks Endüstriyel Tema Stilleri
   PHP, HTML5, Bootstrap 5.3 & %100 Mobil Uyumlu Tasarım
   ========================================================================== */

:root {
  --mf-bg-dark: #0d0e10;
  --mf-bg-card: #15171a;
  --mf-bg-card-hover: #1c1f24;
  --mf-primary: #dc2626;
  --mf-primary-dark: #b91c1c;
  --mf-primary-glow: rgba(220, 38, 38, 0.35);
  --mf-text-light: #f3f4f6;
  --mf-text-muted: #9ca3af;
  --mf-border: rgba(255, 255, 255, 0.08);
  --mf-border-hover: rgba(220, 38, 38, 0.5);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--mf-bg-dark);
  color: var(--mf-text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Serif Başlıklar */
h1, h2, h3, .font-serif, .navbar-brand {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Metin Vurguları */
.text-danger, .text-primary-mf {
  color: var(--mf-primary) !important;
}

.bg-primary-mf {
  background-color: var(--mf-primary) !important;
}

.border-primary-mf {
  border-color: var(--mf-primary) !important;
}

/* --------------------------------------------------------------------------
   NAVBAR & HEADER
   -------------------------------------------------------------------------- */
.navbar-custom {
  background-color: rgba(13, 14, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mf-border);
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(220, 38, 38, 0.2);
}

.navbar-brand {
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: #fff !important;
}

.navbar-brand span {
  color: var(--mf-primary);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--mf-primary) !important;
}

.dropdown-menu-dark-mf {
  background-color: #17191d;
  border: 1px solid var(--mf-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-menu-dark-mf .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  transition: all 0.2s ease;
}

.dropdown-menu-dark-mf .dropdown-item:hover {
  background-color: rgba(220, 38, 38, 0.12);
  color: var(--mf-primary);
  padding-left: 1.5rem;
}

/* Dil Seçici */
.lang-selector .btn {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-color: var(--mf-border);
  color: #fff;
}

.lang-selector .btn:hover {
  border-color: var(--mf-primary);
  color: var(--mf-primary);
}

/* Offcanvas Mobil Menü */
.offcanvas-dark {
  background-color: #101214;
  color: #fff;
  border-left: 1px solid var(--mf-border);
}

.offcanvas-dark .nav-link {
  font-size: 1rem;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   HERO BÖLÜMÜ
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #08090a;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 9, 10, 0.92) 0%, rgba(13, 14, 16, 0.8) 50%, rgba(8, 9, 10, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero-watermark {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 28vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.badge-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mf-primary);
  background: rgba(220, 38, 38, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.btn-mf-primary {
  background-color: var(--mf-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--mf-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--mf-primary-glow);
}

.btn-mf-primary:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-mf-outline {
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-mf-outline:hover {
  background-color: #fff;
  color: #0d0e10;
  border-color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   MARQUEE ŞERİDİ
   -------------------------------------------------------------------------- */
.marquee-bar {
  background-color: var(--mf-primary);
  color: #fff;
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.marquee-content {
  display: inline-block;
  animation: marqueeAnim 30s linear infinite;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.marquee-content span {
  display: inline-block;
  margin: 0 2rem;
}

.marquee-content i {
  font-size: 0.5rem;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.6;
}

@keyframes marqueeAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   KARTLAR & GENEL BİLEŞENLER
   -------------------------------------------------------------------------- */
.mf-section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--mf-primary);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 35px;
  height: 2px;
  background-color: var(--mf-primary);
}

.mf-card {
  background-color: var(--mf-bg-card);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.mf-card:hover {
  background-color: var(--mf-bg-card-hover);
  border-color: var(--mf-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Ürün Kartı */
.product-card {
  background-color: var(--mf-bg-card);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.product-img-box {
  background: #ffffff;
  padding: 1.5rem;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.08);
}

.product-badge-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--mf-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mf-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.product-title a:hover {
  color: var(--mf-primary);
}

/* İstatistik Sayaç Kutuları */
.stat-box {
  padding: 1.5rem;
  border-left: 2px solid var(--mf-primary);
  background: rgba(255, 255, 255, 0.02);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mf-text-muted);
  margin-top: 0.5rem;
}

/* Teknik Değerler / Özellikler Tablosu */
.specs-table {
  width: 100%;
  color: var(--mf-text-light);
}

.specs-table tr {
  border-bottom: 1px solid var(--mf-border);
}

.specs-table td {
  padding: 0.85rem 0.5rem;
  font-size: 0.92rem;
}

.specs-table td:first-child {
  color: var(--mf-text-muted);
  font-weight: 600;
  width: 40%;
}

.specs-table td:last-child {
  font-weight: 700;
  color: #fff;
}

/* Accordion SSS */
.accordion-mf .accordion-item {
  background-color: var(--mf-bg-card);
  border: 1px solid var(--mf-border);
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-mf .accordion-button {
  background-color: var(--mf-bg-card);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}

.accordion-mf .accordion-button:not(.collapsed) {
  color: var(--mf-primary);
  background-color: rgba(220, 38, 38, 0.05);
}

.accordion-mf .accordion-button::after {
  filter: invert(1);
}

.accordion-mf .accordion-body {
  background-color: var(--mf-bg-card);
  color: var(--mf-text-muted);
  line-height: 1.7;
  padding: 1.5rem;
  border-top: 1px solid var(--mf-border);
}

/* Filtre Butonları */
.filter-btn-group .btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mf-border);
  padding: 0.6rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 30px;
  transition: all 0.25s ease;
  margin: 0.25rem;
}

.filter-btn-group .btn:hover, .filter-btn-group .btn.active {
  background: var(--mf-primary);
  border-color: var(--mf-primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--mf-primary-glow);
}

/* Form Elemanları */
.form-control-mf {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mf-border);
  color: #fff;
  border-radius: 6px;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control-mf:focus {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--mf-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.form-control-mf::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Sabit WhatsApp Butonu */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  color: #fff;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer-custom {
  background-color: #090a0c;
  border-top: 1px solid var(--mf-border);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  color: var(--mf-text-muted);
}

.footer-custom h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: var(--mf-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--mf-primary);
  padding-left: 4px;
}

/* Responsive Düzenlemeler */
@media (max-width: 991.98px) {
  .hero-content {
    padding-top: 7rem;
    text-align: center;
  }
  .hero-content .d-flex {
    justify-content: center;
  }
  .stat-box {
    margin-bottom: 1.5rem;
  }
}
