/* ═══════════════════════════════════════════
   Viessmann Türkiye — Özel Stil Dosyası
   Bootstrap 5 üzerine ek stiller
═══════════════════════════════════════════ */

:root {
  --vic-red:   #007dc4;
  --vic-dark:  #1a1a1a;
  --vic-gray:  #f5f5f5;
  --vic-text:  #333;
  --vic-muted: #666;
}

* { box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--vic-text);
  margin: 0;
}

/* ────────────────────────────────────────
   TOP BAR
──────────────────────────────────────── */
.top-bar {
  background: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  padding: 6px 0;
  font-size: 13px;
}
.top-bar a {
  color: var(--vic-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar a:hover { color: var(--vic-red); }

/* ────────────────────────────────────────
   NAVBAR
──────────────────────────────────────── */
.main-navbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.vic-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--vic-red);
  text-decoration: none;
  letter-spacing: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Ana nav linkleri */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 4px;
}
.nav-links li a {
  color: #333;
  text-decoration: none;
  font-size: 13.5px;
  padding: 22px 10px;
  display: block;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links li a:hover {
  color: var(--vic-red);
  border-bottom-color: var(--vic-red);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.navbar-right a {
  color: #333;
  font-size: 20px;
  text-decoration: none;
  transition: color .2s;
}
.navbar-right a:hover { color: var(--vic-red); }

/* ────────────────────────────────────────
   HERO CAROUSEL (slider.php)
──────────────────────────────────────── */
.hero-carousel .carousel-item {
  height: 520px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 40%, rgba(0,0,0,.1));
}
.carousel-caption-custom {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10% 0 7%;
  max-width: 680px;
}
.carousel-caption-custom h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.carousel-caption-custom p {
  color: rgba(255,255,255,.88);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
@media (max-width: 767px) {
  .hero-carousel .carousel-item { height: 320px; }
  .carousel-caption-custom { padding: 0 20px; }
  .carousel-caption-custom h1 { font-size: 1.5rem; }
  .carousel-caption-custom p { font-size: 13px; margin-bottom: 16px; }
}

/* ────────────────────────────────────────
   HERO (statik sayfalar için)
──────────────────────────────────────── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 600px;
}
.hero-content h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
}

/* ────────────────────────────────────────
   BUTONLAR
──────────────────────────────────────── */
.btn-vic {
  background: var(--vic-red);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .1s;
  cursor: pointer;
	width: 120px;
}
.btn-vic:hover {
  background: #e03212;
  color: #fff;
  transform: translateY(-1px);
}

.link-red {
  color: var(--vic-red);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-red:hover { color: #c02900; }

/* ────────────────────────────────────────
   FEATURES
──────────────────────────────────────── */
.features-section {
  padding: 60px 0 50px;
  background: #fff;
}
.features-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.features-section .lead-text {
  font-size: 15px;
  color: var(--vic-muted);
  max-width: 680px;
  line-height: 1.7;
}
.feature-icon-box {
  text-align: center;
  padding: 16px;
}
.icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  color: var(--vic-red);
}
.feature-icon-box p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

/* ────────────────────────────────────────
   PRODUCTS CAROUSEL (slider.php — öne çıkan)
──────────────────────────────────────── */
.products-carousel-section { background: #f9f9f9; }
.section-title { font-size: clamp(1.3rem,2.5vw,1.75rem); font-weight: 800; color: #1a1a1a; }
.btn-vic-outline {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--vic-red); color: var(--vic-red);
  padding: 10px 22px; font-size: 14px; font-weight: 600;
  border-radius: 3px; text-decoration: none; transition: all .2s;
}
.btn-vic-outline:hover { background: var(--vic-red); color: #fff; }
.product-name { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 6px 0 8px; }
.product-category { font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--vic-red); font-weight: 700; }
.product-desc { font-size: 13px; color: #555; line-height: 1.6; flex: 1; margin: 0; }
.product-link { font-size: 13px; color: var(--vic-red); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }

/* ────────────────────────────────────────
   FEATURES BAR (index.php)
──────────────────────────────────────── */
.features-bar { background: #fff; border-bottom: 1px solid #e0e0e0; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 28px 24px;
}
.feature-item i { font-size: 28px; color: var(--vic-red); flex-shrink: 0; margin-top: 2px; }
.feature-item h3 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 0 0 4px; }
.feature-item p  { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }
.border-end-feature { border-right: 1px solid #e0e0e0; }
@media (max-width: 991px) { .border-end-feature { border-right: none; } }

/* ────────────────────────────────────────
   SOLUTION BUTTONS (index.php)
──────────────────────────────────────── */
.solution-btn {
  display: inline-flex; align-items: center;
  border: 1px solid #ccc; border-radius: 50px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; color: #333; text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.solution-btn:hover { border-color: var(--vic-red); color: var(--vic-red); background: rgba(255,62,23,.05); }

/* ────────────────────────────────────────
   XL TEASERLAR (index.php)
──────────────────────────────────────── */
.xl-teaser { display: flex; min-height: 380px; overflow: hidden; }
.xl-teaser-reverse { flex-direction: row-reverse; }
.xl-teaser-img { flex: 0 0 55%; overflow: hidden; }
.xl-teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.xl-teaser-body {
  flex: 1; background: #fff; padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.xl-teaser-body h2 { font-size: clamp(1.3rem,2vw,1.7rem); font-weight: 800; margin-bottom: 16px; color: #1a1a1a; }
.xl-teaser-body p  { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 24px; }
@media (max-width: 767px) {
  .xl-teaser, .xl-teaser-reverse { flex-direction: column; }
  .xl-teaser-img { flex: 0 0 220px; }
  .xl-teaser-body { padding: 28px 20px; }
}

/* ────────────────────────────────────────
   PRODUCTS SLIDER
──────────────────────────────────────── */
.products-section {
  background: var(--vic-gray);
  padding: 50px 0 60px;
}
.products-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
}

.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.product-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 20px;
  background: #fafafa;
}
.product-card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.product-card-body h5 {
  font-size: 13px;
  font-weight: 400;
  color: var(--vic-muted);
  margin-bottom: 12px;
}
.benefit-tag {
  font-size: 12.5px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}
.benefit-tag i {
  color: var(--vic-red);
  margin-top: 1px;
  flex-shrink: 0;
}

/* Slider ok butonları */
.slider-wrapper { position: relative; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
}
.slider-btn:hover { background: var(--vic-gray); }
.slider-btn-prev { left: -22px; }
.slider-btn-next { right: -22px; }

/* ────────────────────────────────────────
   SİZİN İÇİN
──────────────────────────────────────── */
.sizin-icin {
  padding: 40px 0 50px;
  background: #fff;
  text-align: center;
}
.sizin-icin h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
}
.btn-group-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ────────────────────────────────────────
   TEASER M (geniş banner)
──────────────────────────────────────── */
.teaser-m {
  display: flex;
  min-height: 340px;
  overflow: hidden;
}
.teaser-m-img {
  flex: 0 0 65%;
  overflow: hidden;
}
.teaser-m-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teaser-m-content {
  flex: 1;
  background: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.teaser-m-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.teaser-m-content p {
  font-size: 14.5px;
  color: var(--vic-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ────────────────────────────────────────
   SECTION TEXT
──────────────────────────────────────── */
.section-text {
  padding: 50px 0 40px;
  background: #fff;
}
.section-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-text p {
  font-size: 14.5px;
  color: var(--vic-muted);
  line-height: 1.8;
  max-width: 820px;
}

/* ────────────────────────────────────────
   SMALL TEASER KARTLAR
──────────────────────────────────────── */
.teasers-small {
  background: var(--vic-gray);
  padding: 50px 0 60px;
}

.teaser-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.teaser-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.teaser-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.teaser-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.teaser-card-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.teaser-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.teaser-card-body p {
  font-size: 13.5px;
  color: var(--vic-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

/* ────────────────────────────────────────
   XL TEASERLAR
──────────────────────────────────────── */
.teasers-xl {
  padding: 50px 0 60px;
  background: #fff;
}
.teaser-xl {
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
  border: 1px solid #eee;
}
.teaser-xl img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.teaser-xl-content {
  padding: 28px 24px 30px;
}
.teaser-xl-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.teaser-xl-content p {
  font-size: 13.5px;
  color: var(--vic-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ────────────────────────────────────────
   TİCARİ ORTAKLAR
──────────────────────────────────────── */
.ticari-section {
  background: var(--vic-gray);
  padding: 50px 0 60px;
}
.ticari-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* ────────────────────────────────────────
   FOOTER ABOUT (koyu arka plan)
──────────────────────────────────────── */
.footer-content-section {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  min-height: 200px;
}
.footer-content-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 200px;
}
.footer-about {
  max-width: 520px;
  padding: 48px 60px 48px 0;
}
.footer-about h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-about p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
}
.footer-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

/* ────────────────────────────────────────
   RECOMMENDED TOPICS
──────────────────────────────────────── */
.recommended-topics {
  background: #f9f9f9;
  padding: 40px 0;
  border-top: 1px solid #e5e5e5;
}
.recommended-topics h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}
.rec-links {
  columns: 3;
  column-gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rec-links li { margin-bottom: 6px; break-inside: avoid; }
.rec-links li a {
  font-size: 13px;
  color: var(--vic-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rec-links li a:hover { text-decoration: underline; }

/* ────────────────────────────────────────
   SITEMAP
──────────────────────────────────────── */
.sitemap-section {
  background: #fff;
  padding: 48px 0 40px;
  border-top: 1px solid #e5e5e5;
}
.sitemap-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sitemap-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-col ul li { margin-bottom: 7px; }
.sitemap-col ul li a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sitemap-col ul li a:hover { color: var(--vic-red); }

/* Sosyal medya ikonları */
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #444;
  text-decoration: none;
  transition: all .2s;
}
.social-icon:hover {
  background: var(--vic-red);
  border-color: var(--vic-red);
  color: #fff;
}

/* ────────────────────────────────────────
   FOOTER BOTTOM
──────────────────────────────────────── */
.footer-bottom {
  background: #111;
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--vic-red);
  text-decoration: none;
  letter-spacing: -1px;
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
.footer-legal a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-content { padding: 0 24px; }
  .hero-content h1 { font-size: 28px; }
  .teaser-m { flex-direction: column; }
  .teaser-m-img { flex: 0 0 240px; }
  .footer-about { padding: 32px 0; }
  .footer-bg-img { display: none; }
  .rec-links { columns: 2; }
}
@media (max-width: 767px) {
  .hero { height: 340px; }
  .btn-group-wrap { flex-direction: column; align-items: center; }
  .rec-links { columns: 1; }
}
