/* ===== CSS VARIABLES (overridden by DB colors via <style> in header) ===== */
:root {
  --color-nav-bg:       #1a2f5e;
  --color-nav-text:     #ffffff;
  --color-topbar-bg:    #0d1f3c;
  --color-accent:       #cc0000;
  --color-accent-hover: #a80000;
  --color-btn:          #1a2f5e;
  --color-btn-hover:    #0d1f3c;
  --color-link:         #1a2f5e;
  --color-footer-bg:    #0d1f3c;
  --color-footer-text:  #ccd5e4;
  --color-hero-bg:      #1a2f5e;
  --color-card-border:  #dee2e6;
  --color-body-bg:      #f8f9fa;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--color-body-bg);
  color: #333;
  margin: 0;
}
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--color-topbar-bg);
  color: #ccd5e4;
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar a { color: #ccd5e4; }
.topbar a:hover { color: #fff; }
.topbar .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; color: #fff; font-size: 0.8rem;
  transition: background 0.2s;
}
.topbar .social-icons a:hover { background: var(--color-accent); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { font-size: 0.82rem; }
.lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px; border-radius: 3px;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
  text-decoration: none !important;
  font-size: 1.3rem;
  line-height: 1;
}
.lang-flag:hover { opacity: 1; color: inherit; }
.lang-flag.active { opacity: 1; border-color: rgba(255,255,255,0.7); }

/* ===== SITE HEADER / LOGO ===== */
.site-header {
  background: #fff;
  padding: 14px 0;
  border-bottom: 2px solid var(--color-card-border);
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo-img   { height: 48px; width: auto; max-width: 180px; }
.footer-logo-img { height: 38px; width: auto; max-width: 140px; }
.about-logo-img  { height: 90px;  width: auto; max-width: 100%; }

/* ===== NAVBAR LOGO ===== */
.navbar-logo-img {
  height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
  display: block;
}

/* ===== NAVBAR ===== */
.site-navbar {
  background: var(--color-nav-bg);
  padding: 0;
  position: sticky; top: 0; z-index: 1030;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.site-navbar .navbar-nav .nav-link {
  color: var(--color-nav-text) !important;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 14px 16px;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}
.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active {
  background: rgba(255,255,255,0.1);
  border-bottom-color: var(--color-accent);
}
.site-navbar .dropdown-menu {
  background: var(--color-nav-bg);
  border: none;
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  min-width: 280px;
}
.site-navbar .dropdown-item {
  color: #dde5f3 !important;
  font-size: 0.88rem;
  padding: 9px 20px;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}
.site-navbar .dropdown-item:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-left-color: var(--color-accent);
}
.site-navbar .navbar-toggler { border-color: rgba(255,255,255,0.4); }
.site-navbar .navbar-toggler-icon { filter: invert(1); }

/* Navbar iletişim linkleri (masaüstü) */
.navbar-contact-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.2s;
}
.navbar-contact-link:hover { color: #fff; }

/* Navbar iletişim linkleri (mobil hamburger içi) */
.navbar-contact-link-mobile {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.88rem;
  padding: 10px 16px !important;
}
.navbar-contact-link-mobile:hover { color: #fff !important; }

/* Navbar dikey ayırıcı */
.navbar-vdivider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* Navbar sosyal ikon linkleri */
.navbar-social-link {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.navbar-social-link:hover { color: #fff; background: var(--color-accent); }

/* ===== HERO SLIDER ===== */
.hero-slider-section { position: relative; }
.slider-img {
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.slider-placeholder {
  height: calc(100vh - 72px);
  min-height: 420px;
  background: linear-gradient(135deg, var(--color-nav-bg), var(--color-accent));
}
.carousel-fade .carousel-item { transition: opacity 0.8s ease-in-out; }

/* Slider Caption */
.slider-caption {
  position: absolute;
  left: 0; right: 0;
  bottom: 0; top: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to right, rgba(13,31,60,0.78) 40%, transparent);
  text-align: left;
  padding: 0 0 80px 0;
}
.slider-caption-inner {
  padding: 0 60px;
  max-width: 600px;
}
.slider-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 14px;
  background: rgba(204,0,0,0.85);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 3px;
}
.slider-subtitle {
  font-size: 1.1rem;
  color: #eef2ff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  background: rgba(26,47,94,0.8);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 3px;
}
/* Slider – 5 metin satırı */
.slider-caption-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.slider-line {
  display: inline-block;
  line-height: 1.25;
  border-radius: 3px;
}
/* Satır 1 – büyük, kırmızı arka plan */
.slider-line-1 {
  font-size: 2.0rem;
  font-weight: 800;
  color: #fff;
  background: rgba(204,0,0,0.88);
  padding: 5px 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
/* Satır 2 & 3 – orta, koyu mavi arka plan */
.slider-line-2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: rgba(204,0,0,0.88);
  padding: 4px 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
/* Satır 4 & 5 – küçük, kırmızı arka plan */
.slider-line-3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: rgba(204,0,0,0.88);
  padding: 4px 14px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@media (max-width: 991px) {
  .slider-line-1 { font-size: 1.4rem; }
  .slider-line-2 { font-size: 1.1rem; }
  .slider-line-3 { font-size: 0.9rem; }
}
@media (max-width: 767px) {
  .slider-line-1 { font-size: 1.1rem; padding: 3px 10px; }
  .slider-line-2 { font-size: 0.9rem; padding: 3px 10px; }
  .slider-line-3 { font-size: 0.8rem; padding: 2px 8px; }
}

.btn-slider {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-slider:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-2px); }

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
}
.carousel-indicators .active { background: var(--color-accent); }

/* Slider empty state */
.slider-empty-state {
  height: calc(100vh - 72px);
  min-height: 420px;
  background: linear-gradient(135deg, var(--color-nav-bg), var(--color-topbar-bg));
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-hero-bg) 0%, #1e3a6e 100%);
  color: #fff;
  padding: 40px 0 30px;
}
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-separator { color: rgba(255,255,255,0.5); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.page-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 4px;
}
.page-subtitle { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; }

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--color-btn);
  color: #fff;
  border: 2px solid var(--color-btn);
  padding: 9px 22px;
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary-custom:hover {
  background: var(--color-btn-hover);
  border-color: var(--color-btn-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,47,94,0.25);
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
  padding: 9px 22px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s;
}
.btn-accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color:#fff; }

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }
.product-card-img { height: 220px; overflow: hidden; background: #f0f4f8; }
.product-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name { font-size: 1.1rem; font-weight: 700; color: var(--color-nav-bg); margin-bottom: 10px; }
.product-short { font-size: 0.9rem; color: #666; line-height: 1.6; flex: 1; margin-bottom: 14px; }

/* ===== PLASMA CARDS ===== */
.plasma-card {
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.plasma-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }
.plasma-card-img { height: 200px; overflow: hidden; background: #f0f4f8; }
.plasma-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }
.plasma-card:hover .plasma-card-img img { transform: scale(1.05); }
.plasma-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.plasma-name { font-size: 1.05rem; font-weight: 700; color: var(--color-nav-bg); margin-bottom: 10px; }
.plasma-preview { font-size: 0.88rem; color: #666; line-height: 1.6; flex: 1; margin-bottom: 14px; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-img img { border-radius: 8px; }
.product-desc { font-size: 1rem; line-height: 1.8; color: #444; }
.features-title { font-size: 1.1rem; font-weight: 700; color: var(--color-nav-bg); margin-bottom: 14px; }
.features-list { list-style: none; padding: 0; margin: 0; }
.features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.93rem;
  color: #444;
  display: flex; align-items: center;
}
.features-list li:last-child { border-bottom: none; }

/* ===== PLASMA DETAIL ===== */
.plasma-content { font-size: 1rem; line-height: 1.8; color: #444; }
.plasma-content h2, .plasma-content h3 { color: var(--color-nav-bg); margin-top: 24px; }
.plasma-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.plasma-content table th, .plasma-content table td {
  border: 1px solid #dee2e6; padding: 8px 12px; font-size: 0.88rem;
}
.plasma-content table th { background: var(--color-nav-bg); color: #fff; }
.plasma-other-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 6px;
  color: var(--color-nav-bg);
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.2s;
}
.plasma-other-link:hover {
  background: var(--color-nav-bg); color: #fff;
  border-color: var(--color-nav-bg); text-decoration: none;
}
.text-accent { color: var(--color-accent) !important; }

/* ===== CONTACT PAGE ===== */
.contact-info-box {
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-box-title {
  font-size: 1.4rem; font-weight: 800;
  color: var(--color-nav-bg);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-accent);
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--color-nav-bg);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label { font-size: 0.75rem; text-transform: uppercase; color: #999; letter-spacing: 0.5px; }
.contact-value { font-size: 0.95rem; font-weight: 500; color: #333; margin: 2px 0 0; }
.contact-value a { color: var(--color-link); }
.contact-value a:hover { color: var(--color-accent); }
.map-container { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.map-container iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ===== ABOUT PAGE ===== */
.about-list { list-style: none; padding: 0; }
.about-list li { padding: 8px 0; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #444; }
.about-list li .bi { color: var(--color-accent); font-size: 1.1rem; }
.section-heading { font-size: 1.7rem; font-weight: 800; color: var(--color-nav-bg); margin-bottom: 16px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 50px 0 0;
}
.footer-desc { font-size: 0.88rem; color: #8899bb; line-height: 1.7; }
.footer-extra-img { max-width: 100%; max-height: 90px; border-radius: 6px; display: block; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%; color: #ccd5e4; font-size: 0.9rem;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--color-accent); color: #fff; }
.footer-heading {
  font-size: 0.9rem; font-weight: 700;
  color: #fff; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #8899bb; font-size: 0.87rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: #8899bb; font-size: 0.87rem; margin-bottom: 10px;
}
.footer-contact-list .bi { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: #8899bb; }
.footer-contact-list a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 36px 0 20px; }
.footer-bottom { padding-bottom: 20px; font-size: 0.82rem; color: #6677aa; }

/* ===== SECTION SPACING ===== */
.section-products, .section-plasma, .section-product-detail,
.section-plasma-detail, .section-contact, .section-about {
  min-height: 400px;
}

/* ===== HAKKIMIZDA İÇERİK ===== */
.about-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
}
.about-content p {
  margin-bottom: 1.2rem;
}
.about-content h2,
.about-content h3,
.about-content h4 {
  color: var(--color-nav-bg);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.about-content ul,
.about-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.about-content li {
  margin-bottom: 0.4rem;
}
.about-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Slider hemen footer'a geçiş — araya boşluk girmesin */
.hero-slider-section + .site-footer { margin-top: 0 !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .slider-img, .slider-placeholder { height: 350px; min-height: unset; }
  .slider-title { font-size: 1.5rem; }
  .slider-caption-inner { padding: 0 30px; }
}
@media (max-width: 1199px) {
  .site-navbar .navbar-nav .nav-link { padding: 10px 16px; }
}
@media (max-width: 767px) {
  .slider-img, .slider-placeholder { height: 260px; min-height: unset; }
  .slider-title { font-size: 1.2rem; }
  .slider-subtitle { font-size: 0.9rem; }
  .slider-caption-inner { padding: 0 20px; }
  .page-title { font-size: 1.5rem; }
  .contact-info-box { padding: 20px; }
  .map-container iframe { height: 300px; }
  .topbar .topbar-contact { flex-direction: column; gap: 4px !important; }
}
@media (max-width: 480px) {
  .slider-img, .slider-placeholder { height: 200px; min-height: unset; }
}


/* ======================================================
   MEGA MENU
   ====================================================== */
.mega-dropdown { position: static !important; }

/* Mega menu paneli navbar'a göre tam genişlik */
.site-navbar .mega-dropdown > .mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border: none;
  border-top: 3px solid var(--color-accent, #cc0000);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #fff;
  padding: 0;
  margin-top: 0;
  z-index: 1050;
}

.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* Kart kolonları */
.mega-menu .row { margin: 0; }
.mega-col {
  padding: 8px;
  flex: 0 0 auto;
}

/* 3 ürün → 4 kolon / 6 bölüm → 3 veya 4 kolon */
.mega-menu .row .mega-col { width: 33.333%; }

@media (min-width: 992px) {
  /* 4 veya daha fazla kart → 25% */
  .mega-menu .row:has(.mega-col:nth-child(4)) .mega-col { width: 25%; }
}

/* Kart tasarımı */
.mega-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
  background: #fff;
}
.mega-card:hover {
  box-shadow: 0 6px 24px rgba(26,47,94,.15);
  transform: translateY(-3px);
  color: inherit;
}

/* Görsel alanı */
.mega-card-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--color-nav-bg, #1a2f5e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mega-card-placeholder {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.35);
}

/* Kart içeriği */
.mega-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mega-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-nav-bg, #1a2f5e);
  margin: 0;
  line-height: 1.3;
}
.mega-card-desc {
  font-size: 0.78rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.mega-card-link {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--color-accent, #cc0000);
  margin-top: 4px;
}
.mega-card:hover .mega-card-link {
  text-decoration: underline;
}

/* Mobilde standart menü */
@media (max-width: 991px) {
  .site-navbar .mega-dropdown > .mega-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e0e0e0;
  }
  .mega-menu-inner { padding: 12px 8px; }
  .mega-menu .row .mega-col { width: 50%; }
  .mega-card-img { height: 100px; }
}
@media (max-width: 480px) {
  .mega-menu .row .mega-col { width: 100%; }
}


/* ===================================================
   ZENGİN HTML İÇERİK - plazma-detay, urun-detay
   =================================================== */
.plasma-content,
.product-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #3a3a3a;
}

.plasma-content h2,
.plasma-content h3,
.plasma-content h4,
.product-content h2,
.product-content h3,
.product-content h4 {
  color: var(--color-nav-bg, #1a2f5e);
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
}

.plasma-content h2,
.product-content h2 {
  font-size: 1.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-accent, #cc0000);
}

.plasma-content h3,
.product-content h3 { font-size: 1.15rem; }

.plasma-content p,
.product-content p  { margin-bottom: 1rem; }

.plasma-content ul,
.plasma-content ol,
.product-content ul,
.product-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.2rem;
}

.plasma-content li,
.product-content li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}

.plasma-content ul li::marker,
.product-content ul li::marker {
  color: var(--color-accent, #cc0000);
}

.plasma-content strong,
.product-content strong {
  font-weight: 600;
}

.plasma-content blockquote,
.product-content blockquote {
  border-left: 4px solid var(--color-accent, #cc0000);
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  color: #555;
  background: #f8f8f8;
  border-radius: 0 6px 6px 0;
}

.plasma-content table,
.product-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.plasma-content table th,
.plasma-content table td,
.product-content table th,
.product-content table td {
  border: 1px solid #dee2e6;
  padding: 0.6rem 1rem;
  text-align: left;
}

.plasma-content table thead th,
.product-content table thead th {
  background: var(--color-nav-bg, #1a2f5e);
  color: #fff;
  font-weight: 600;
}

.plasma-content table tbody tr:nth-child(even),
.product-content table tbody tr:nth-child(even) {
  background: #f5f7fb;
}

.plasma-content hr,
.product-content hr {
  border-color: var(--color-accent, #cc0000);
  opacity: 0.25;
  margin: 1.5rem 0;
}

/* ======================================================
   ANA SAYFA — GENEL BÖLÜM BAŞLIĞI
   ====================================================== */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(204,0,0,0.07);
  padding: 4px 14px;
  border-radius: 20px;
}
.section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-nav-bg);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.section-heading-bar {
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-accent);
  margin-top: 12px;
}

/* ======================================================
   ANA SAYFA — HAKKIMIZDA BÖLÜMİ
   ====================================================== */
.section-home-about { background: #fff; }
.home-about-logo-wrap {
  background: linear-gradient(135deg, var(--color-nav-bg) 0%, var(--color-topbar-bg) 100%);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 40px rgba(26,47,94,.18);
}
.home-about-logo {
  max-height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.home-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.97rem;
  color: #333;
}
.home-about-list li .bi {
  color: var(--color-accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ======================================================
   ANA SAYFA — ÜRÜNLER (bg-light bölüm)
   ====================================================== */
.section-home-products { background: var(--color-body-bg); }

/* ======================================================
   ANA SAYFA — PLAZMA BÖLÜMÜ
   ====================================================== */
.section-home-plasma { background: #fff; }

/* ======================================================
   ANA SAYFA — CTA BÖLÜMÜ
   ====================================================== */
.section-home-cta {
  background: linear-gradient(135deg, var(--color-nav-bg) 0%, #0d2060 100%);
  padding: 70px 0;
}
.cta-inner { color: #fff; }
.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-text {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.btn-cta {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  padding: 14px 36px;
  font-size: 1rem;
  transition: background .2s, transform .2s;
}
.btn-cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline secondary button */
.btn-outline-primary-custom {
  border: 2px solid var(--color-btn);
  color: var(--color-btn);
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 28px;
  transition: background .2s, color .2s;
}
.btn-outline-primary-custom:hover {
  background: var(--color-btn);
  color: #fff;
}

/* ======================================================
   İLETİŞİM FORMU
   ====================================================== */
.contact-form-box {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 36px 36px;
  box-shadow: 0 4px 24px rgba(26,47,94,.07);
  height: 100%;
}
.contact-info-box {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(26,47,94,.07);
}
.contact-box-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-nav-bg);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(204,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1rem;
}
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  display: block;
  margin-bottom: 2px;
}
.contact-value {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}
.contact-value a { color: var(--color-link); }
.contact-value a:hover { color: var(--color-accent); }

/* Form input custom */
.cf-input {
  border: 1.5px solid #d5d9e8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
  background: #fafbff;
}
.cf-input:focus {
  border-color: var(--color-nav-bg);
  box-shadow: 0 0 0 3px rgba(26,47,94,.10);
  background: #fff;
  outline: none;
}
.btn-contact-send {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  min-width: 160px;
}

/* Başarı mesajı */
.contact-success-msg {
  text-align: center;
  padding: 48px 24px;
  background: #f0fdf4;
  border-radius: 12px;
  border: 1.5px solid #bbf7d0;
}
.contact-success-icon {
  font-size: 3.5rem;
  color: #16a34a;
  margin-bottom: 16px;
  line-height: 1;
}
.contact-success-msg h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 8px;
}
.contact-success-msg p {
  color: #166534;
  margin-bottom: 0;
  font-size: 0.97rem;
}

/* Harita container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.map-container iframe { display: block; width: 100%; }

/* İletişim sayfası: sağ kolon haritası tam yüksekliği doldurur */
.section-contact .contact-map.h-100,
.section-contact .contact-map.h-100 .map-container { height: 100%; }
.section-contact .contact-map.h-100 .map-container iframe {
  height: 100%;
  min-height: 450px;
}

/* ======================================================
   RESPONSIVE — YENİ BÖLÜMLER
   ====================================================== */
@media (max-width: 991px) {
  .contact-form-box { padding: 24px 20px; }
  .section-home-cta { padding: 50px 0; }
  .cta-title { font-size: 1.6rem; }
  .home-about-logo-wrap { padding: 36px 28px; }
}
@media (max-width: 767px) {
  .contact-form-box { padding: 20px 16px; }
  .contact-info-box { padding: 20px 16px; }
  .section-heading { font-size: 1.6rem; }
  .cta-title { font-size: 1.4rem; }
  .cta-text { font-size: 1rem; }
  .home-about-logo { max-height: 80px; }
}

/* ======================================================
   SLIDER CAPTION — POZİSYON SINIFLARI (Madde 3)
   ====================================================== */
.slider-caption {
  /* Temel: içeriği konumlandırma için flex kullan */
}
/* Yatay hizalama */
.slider-cap-top-left    { align-items: flex-start;  justify-content: flex-start;  padding: 60px 0 0 0; }
.slider-cap-top-center  { align-items: flex-start;  justify-content: center;      padding: 60px 0 0 0; text-align: center; }
.slider-cap-top-right   { align-items: flex-start;  justify-content: flex-end;    padding: 60px 0 0 0; text-align: right; }
.slider-cap-center-left { align-items: center;       justify-content: flex-start;  padding: 0; }
.slider-cap-center      { align-items: center;       justify-content: center;      padding: 0; text-align: center; }
.slider-cap-center-right{ align-items: center;       justify-content: flex-end;    padding: 0; text-align: right; }
.slider-cap-bottom-left { align-items: flex-end;     justify-content: flex-start;  padding: 0 0 80px 0; }
.slider-cap-bottom-center{ align-items: flex-end;    justify-content: center;      padding: 0 0 80px 0; text-align: center; }
.slider-cap-bottom-right{ align-items: flex-end;     justify-content: flex-end;    padding: 0 0 80px 0; text-align: right; }

/* Sağ ve merkez için iç dolgu */
.slider-cap-top-right .slider-caption-inner,
.slider-cap-center-right .slider-caption-inner,
.slider-cap-bottom-right .slider-caption-inner  { padding: 0 60px; align-items: flex-end; }
.slider-cap-top-center .slider-caption-inner,
.slider-cap-center .slider-caption-inner,
.slider-cap-bottom-center .slider-caption-inner { padding: 0 60px; align-items: center; }

/* Varsayılan (bottom-left) mevcut padding ile çalışır */
.slider-cap-bottom-left .slider-caption-inner,
.slider-cap-center-left .slider-caption-inner,
.slider-cap-top-left .slider-caption-inner      { padding: 0 60px; align-items: flex-start; }

/* Gradyan arka plan — sol/sağ/merkez için uyarla */
.slider-cap-top-right, .slider-cap-center-right, .slider-cap-bottom-right {
  background: linear-gradient(to left, rgba(13,31,60,0.78) 40%, transparent);
}
.slider-cap-top-center, .slider-cap-center, .slider-cap-bottom-center {
  background: rgba(13,31,60,0.45);
}

/* ── Yazı boyutu — küçük ── */
.slider-txt-small .slider-line-1 { font-size: 1.4rem; }
.slider-txt-small .slider-line-2 { font-size: 1.05rem; }
.slider-txt-small .slider-line-3 { font-size: 0.85rem; }

/* ── Yazı boyutu — büyük ── */
.slider-txt-large .slider-line-1 { font-size: 2.8rem; }
.slider-txt-large .slider-line-2 { font-size: 2.0rem; }
.slider-txt-large .slider-line-3 { font-size: 1.4rem; }

/* ======================================================
   MOBİL SLIDER — DİKEY MODDA YAZILARI GÖSTER (Madde 6)
   ====================================================== */
/* Portre modunda (dikey tutma) küçük slider yazıları görünür */
@media (max-width: 575px) and (orientation: portrait) {
  .slider-img, .slider-placeholder { height: 55vw; min-height: 180px; max-height: 280px; }
  .slider-caption {
    display: flex !important;
    padding: 0 0 20px 0;
    background: linear-gradient(to right, rgba(13,31,60,0.72) 60%, transparent);
  }
  .slider-caption-inner { padding: 0 14px !important; gap: 3px; }
  .slider-line-1 { font-size: 0.9rem !important; padding: 3px 8px !important; }
  .slider-line-2 { font-size: 0.78rem !important; padding: 2px 8px !important; }
  .slider-line-3 { font-size: 0.7rem !important;  padding: 2px 6px !important; }
  .btn-slider   { font-size: 0.75rem; padding: 5px 12px; margin-top: 4px !important; }
}
/* Landscape modda yatay telefon için */
@media (max-width: 767px) and (orientation: landscape) {
  .slider-img, .slider-placeholder { height: 45vw; min-height: 140px; }
}

/* ======================================================
   FIRIN SAYFASI — GENEL AÇIKLAMA KUTUSU (Madde 5)
   ====================================================== */
.products-intro-box {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.products-intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* Fırın modeli buton linkleri (sağ panel) */
.btn-product-link {
  display: flex;
  align-items: center;
  text-align: left;
  background: #fff;
  border: 2px solid var(--color-card-border);
  border-radius: 6px;
  color: var(--color-nav-bg);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  transition: all 0.2s;
}
.btn-product-link:hover {
  background: var(--color-nav-bg);
  border-color: var(--color-nav-bg);
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
}
.btn-product-link i { color: var(--color-accent); flex-shrink: 0; }
.btn-product-link:hover i { color: #fff; }

/* ======================================================
   RESİM FLOAT DESTEĞİ (Madde 9 — WYSIWYG içeriği)
   ====================================================== */
/* Summernote editöründe ve frontend içeriğinde kullanılır */
.plasma-content img.float-left,
.about-content img.float-left,
.product-desc img.float-left {
  float: left;
  margin: 0 20px 16px 0;
  max-width: 45%;
  border-radius: 6px;
}
.plasma-content img.float-right,
.about-content img.float-right,
.product-desc img.float-right {
  float: right;
  margin: 0 0 16px 20px;
  max-width: 45%;
  border-radius: 6px;
}
.plasma-content::after,
.about-content::after,
.product-desc::after { content: ''; display: table; clear: both; }

@media (max-width: 576px) {
  .plasma-content img.float-left,
  .plasma-content img.float-right,
  .about-content img.float-left,
  .about-content img.float-right,
  .product-desc img.float-left,
  .product-desc img.float-right {
    float: none; max-width: 100%; margin: 12px 0;
  }
}

/* ======================================================
   SAYFA ARKA PLAN RENKLERİ CSS DEĞİŞKENLERİ (Madde 8)
   ====================================================== */
:root {
  --color-about-bg:    #ffffff;
  --color-products-bg: #f8f9fa;
  --color-plasma-bg:   #f8f9fa;
}
.section-about    { background: var(--color-about-bg)    !important; }
.section-products { background: var(--color-products-bg) !important; }
.section-plasma   { background: var(--color-plasma-bg)   !important; }

/* Eski tarayıcı uyumluluğu — carousel transition (Madde 2) */
.carousel-item {
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}
/* carousel-fade yerine slide kullanıldığı için bu kural yeterli */

/* ======================================================
   METİN KOPYALAMA ENGELİ — GÜVENLİK (müşteri talebi)
   ====================================================== */
body {
  -webkit-user-select: none;
  -moz-user-select:    none;
  -ms-user-select:     none;
  user-select:         none;
}
/* Form elemanları seçilebilir kalmalı */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select:    text;
  user-select:         text;
}

/* ======================================================
   FIRIN SAYFASI — SAYFA YÜKSEKLİĞİ DÜZELTMESİ (Madde 5)
   Sayfa yarım açılıyor şikayeti için min-height artırıldı
   ====================================================== */
.section-products {
  min-height: calc(100vh - 180px) !important;
}
.page-hero {
  /* Sayfa geçişinde kısa içerik bile tam arka planı göstermeli */
  position: relative;
  z-index: 1;
}

/* ======================================================
   FOOTER ÖZEL STILLER
   ====================================================== */
/* Öne Çıkanlar — link olmayan başlıklar */
.footer-highlight-plain {
  color: #8899bb;
  font-size: 0.87rem;
}

/* ======================================================
   TÜM İÇ SAYFA BÖLÜMLERI — MIN-HEIGHT (Madde 5 genişletme)
   Tüm sayfalar görünür viewport'u doldurmalı
   ====================================================== */
.section-plasma,
.section-product-detail,
.section-plasma-detail,
.section-about,
.section-contact {
  min-height: calc(100vh - 180px) !important;
}

/* ======================================================
   ESKİ TARAYICI PERFORMANS İYİLEŞTİRMESİ (Madde 2)
   ====================================================== */
/* İlk slider görüntüsünü hızlı yükle */
.carousel-item:first-child img {
  content-visibility: auto;
}
/* Diğer slider görselleri lazy */
.carousel-item:not(:first-child) img {
  loading: lazy; /* HTML özelliği — CSS yedek */
}
/* Sayfa geçiş flash'ını önle */
html {
  background: #1a2f5e; /* Navbar rengi — sayfa yüklenene kadar görünür */
}
