/* =========================================================
   SERVI JENERATÖR SANAYİ A.Ş. — Site Stylesheet
   Design direction: heavy-industrial. Graphite foundation,
   safety-orange accent, condensed Oswald headings, sharp
   2px corners, tight information-dense rhythm.
   ========================================================= */

:root {
  --primary-color:   #E85D04;
  --primary-light:   #FF8C2B;
  --secondary-color: #1A1E23;
  --secondary-light: #2C333B;
  --accent-color:    #FFB703;
  --accent-dark:     #C24C02;

  --body-color:      #4B535C;
  --heading-color:   #14181C;
  --soft-bg:         #F3F4F6;
  --line:            #E1E4E8;

  --head-font: 'Oswald', sans-serif;
  --body-font: 'Barlow', sans-serif;

  --radius: 2px;
}

/* ---------- Base ---------- */
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--body-font);
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--head-font);
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.18;
}

a { text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; }
p:last-child { margin-bottom: 0; }

.section-padding { padding: 84px 0; }

.bg-light-soft { background: var(--soft-bg); }

/* Dark treatment modifier — used on the Why Choose Us band */
.bg-light-soft.is-dark { background: var(--secondary-color); }
.bg-light-soft.is-dark .section-title,
.bg-light-soft.is-dark h5 { color: #fff; }
.bg-light-soft.is-dark p { color: #A9B2BC; }

.section-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--head-font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  margin-right: 12px;
}
.text-center .section-tag::after {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  margin-left: 12px;
}
.text-center .section-tag { justify-content: center; }

.section-title {
  font-size: 2.35rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: .015em;
}
.text-center .section-title { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn-brand,
.btn-brand-outline,
.btn-brand-secondary {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 12px 30px;
  border: 2px solid transparent;
  transition: all .25s ease;
  display: inline-block;
}
.btn-brand {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.btn-brand:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn-brand-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-brand-outline:hover { background: #fff; border-color: #fff; color: var(--secondary-color); }

.btn-brand-secondary {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}
.btn-brand-secondary:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

.btn-lg { padding: 14px 34px; font-size: 1rem; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--secondary-color);
  color: #A9B2BC;
  font-size: .86rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.top-bar a { color: #A9B2BC; }
.top-bar a:hover { color: var(--primary-light); }
.top-bar i { color: var(--primary-color); margin-right: 8px; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: box-shadow .25s ease, padding .25s ease;
  z-index: 1030;
}
.main-navbar.scrolled {
  box-shadow: 0 6px 22px rgba(20,24,28,.10);
  padding: 8px 0;
}

/* Logo slot — intentionally blank until client artwork is supplied */
.main-navbar .navbar-brand {
  display: block;
  height: 52px;
  width: 168px;
  padding: 0;
  margin: 0;
}
.main-navbar .navbar-brand img { height: 52px; width: auto; }

.main-navbar .nav-link {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: .96rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--heading-color);
  padding: 10px 16px !important;
  position: relative;
}
.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--primary-color); }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }

.main-navbar .btn-brand { padding: 10px 22px; font-size: .84rem; letter-spacing: .08em; }

.navbar-toggler { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }

.nav-products-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-cat-toggle {
  background: transparent;
  border: 0;
  color: var(--heading-color);
  padding: 6px 12px;
  transition: transform .25s ease;
}
.mobile-cat-toggle.open { transform: rotate(180deg); color: var(--primary-color); }

.main-navbar .dropdown-menu {
  border: 0;
  border-top: 3px solid var(--primary-color);
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(20,24,28,.14);
  padding: 8px 0;
  margin-top: 0;
}
.main-navbar .dropdown-item {
  font-family: var(--body-font);
  font-weight: 500;
  padding: 10px 22px;
  color: var(--heading-color);
}
.main-navbar .dropdown-item:hover { background: var(--soft-bg); color: var(--primary-color); }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; }
.hero-slide {
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(20,24,28,.95) 0%,
              rgba(20,24,28,.86) 38%,
              rgba(20,24,28,.42) 78%,
              rgba(20,24,28,.28) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-family: var(--head-font);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.hero-slide h1 {
  color: #fff;
  font-size: 3.7rem;
  text-transform: uppercase;
  max-width: 15ch;
  margin-bottom: 18px;
}
.hero-slide p {
  color: #C4CBD3;
  font-size: 1.12rem;
  max-width: 54ch;
  margin-bottom: 32px;
}

.hero-slider .carousel-indicators {
  justify-content: flex-start;
  margin-left: 12%;
  margin-bottom: 42px;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 42px;
  height: 4px;
  border-radius: 0;
  border: 0;
  background: rgba(255,255,255,.35);
  opacity: 1;
}
.hero-slider .carousel-indicators .active { background: var(--primary-color); }

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 62px; opacity: .6; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { opacity: 1; }

/* ---------- Page hero ---------- */
.page-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 118px 0 86px;
  border-bottom: 4px solid var(--primary-color);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,24,28,.93) 0%, rgba(20,24,28,.74) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.breadcrumb-custom {
  font-family: var(--head-font);
  font-size: .88rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9BA4AE;
}
.breadcrumb-custom a { color: var(--primary-light); }
.breadcrumb-custom a:hover { color: #fff; }

/* ---------- About blocks ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  position: relative;
  z-index: 2;
}
.about-img-wrap::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 62%;
  height: 100%;
  border: 3px solid var(--primary-color);
  z-index: 1;
}

.badge-float {
  position: absolute;
  right: -14px;
  bottom: -24px;
  z-index: 3;
  background: var(--primary-color);
  color: #fff;
  padding: 18px 26px;
  border-radius: var(--radius);
  font-family: var(--head-font);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 190px;
}
.badge-float .num {
  display: block;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: 4px;
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--heading-color);
}
.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: var(--primary-color);
  color: #fff;
  font-size: .82rem;
  line-height: 22px;
  text-align: center;
  border-radius: var(--radius);
}

/* ---------- Feature cards (Why Choose Us) ---------- */
.feature-card {
  background: var(--secondary-light);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 34px 30px;
  height: 100%;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.feature-card:hover {
  border-left-color: var(--primary-color);
  background: #333B45;
  transform: translateY(-4px);
}
.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(232,93,4,.14);
  color: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 22px;
  transition: background .25s ease, color .25s ease;
}
.feature-card:hover .icon-wrap { background: var(--primary-color); color: #fff; }
.feature-card h5 {
  color: #fff;
  font-size: 1.16rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.feature-card p { color: #A9B2BC; font-size: .96rem; margin: 0; }

/* ---------- Mission / Vision ---------- */
.mv-card {
  background: var(--secondary-color);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius);
  padding: 42px 38px;
  height: 100%;
}
.mv-card i {
  font-size: 2.3rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 18px;
}
.mv-card h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.mv-card p { color: #A9B2BC; margin: 0; }

/* ---------- Core values ---------- */
.value-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--radius);
  padding: 34px 26px;
  height: 100%;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.value-pill:hover { box-shadow: 0 16px 34px rgba(20,24,28,.10); transform: translateY(-4px); }
.value-pill i { font-size: 2rem; color: var(--primary-color); display: block; margin-bottom: 16px; }
.value-pill h6 {
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.value-pill p { font-size: .94rem; margin: 0; }

/* ---------- Product / item cards ---------- */
.category-card-link { display: block; color: inherit; }

.product-card,
.item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.product-card:hover,
.item-card:hover {
  box-shadow: 0 18px 38px rgba(20,24,28,.13);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}
.product-img,
.item-img { overflow: hidden; background: var(--secondary-color); }
.product-img img,
.item-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}
.product-card:hover .product-img img,
.item-card:hover .item-img img { transform: scale(1.07); opacity: .88; }

.product-body,
.item-body {
  padding: 22px 24px;
  border-top: 3px solid transparent;
  transition: border-color .25s ease;
}
.product-card:hover .product-body,
.item-card:hover .item-body { border-top-color: var(--primary-color); }

.product-body h5,
.item-body h5 {
  font-size: 1.14rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

/* Unused on this build (flat product list) but defined for completeness */
.category-count,
.browse-link,
.item-list { display: none; }

/* ---------- CTA ---------- */
.cta-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,24,28,.94) 0%, rgba(20,24,28,.78) 100%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta-section p { color: #B6BEC7; font-size: 1.08rem; max-width: 62ch; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-info-card {
  background: var(--secondary-color);
  border-radius: var(--radius);
  padding: 38px 32px;
  height: 100%;
}
.contact-info-card h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 1.35rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: rgba(232,93,4,.16);
  color: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.ci-text small {
  display: block;
  font-family: var(--head-font);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 3px;
}
.ci-text span, .ci-text a { color: #C4CBD3; font-weight: 500; }
.ci-text a:hover { color: #fff; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--radius);
  padding: 38px 34px;
  height: 100%;
}
.contact-form-wrap h4 { text-transform: uppercase; letter-spacing: .07em; font-size: 1.35rem; }

#contactForm > [class*="col-"] { padding: 0 10px 18px; }
#contactForm { margin: 0 -10px; }

.form-control {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: .98rem;
  background: #FAFBFC;
}
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(232,93,4,.12);
  background: #fff;
}
.form-label { font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--heading-color); }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary-color); color: #97A0AA; }
.footer-top { padding: 70px 0 54px; }
.footer-brand,
.footer-brand-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--head-font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand-text img { height: 40px; width: auto; }
.site-footer p { font-size: .96rem; color: #97A0AA; }

.site-footer h5 {
  color: #fff;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; font-size: .96rem; display: flex; align-items: flex-start; }
.site-footer ul li i { color: var(--primary-color); margin-top: 5px; }
.site-footer a { color: #97A0AA; }
.site-footer a:hover { color: var(--primary-light); }

.footer-social { display: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .9rem;
  color: #7C858F;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); color: #fff; }

/* Not used on this build */
.map-frame, .preloader-fade { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero-slide h1 { font-size: 3.1rem; }
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse { flex-basis: 100%; }
  .main-navbar .navbar-nav { padding-top: 12px; }
  .main-navbar .nav-link { padding: 10px 0 !important; }
  .main-navbar .nav-link::after { left: 0; right: auto; width: 34px; }
  .main-navbar .dropdown-menu { box-shadow: none; border-top: 0; border-left: 2px solid var(--primary-color); padding-left: 6px; }
  .main-navbar .dropdown-menu.show { display: block; }
  .main-navbar .btn-brand { display: inline-block; }

  .section-padding { padding: 62px 0; }
  .section-title { font-size: 1.95rem; }
  .hero-slide { min-height: 74vh; }
  .hero-slide h1 { font-size: 2.6rem; max-width: 100%; }
  .hero-slider .carousel-indicators { margin-left: 8%; }
  .cta-section { background-attachment: scroll; }
  .cta-section h2 { font-size: 2rem; }
  .page-hero { padding: 84px 0 62px; }
  .page-hero h1 { font-size: 2.3rem; }
  .about-img-wrap::after { display: none; }
  .badge-float { right: 12px; bottom: -18px; }
}

@media (max-width: 767.98px) {
  .top-bar { display: none; }
  .hero-slide h1 { font-size: 2.05rem; }
  .hero-slide p { font-size: 1rem; }
  .hero-slide .btn-lg { padding: 11px 22px; font-size: .88rem; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { display: none; }
  .section-title { font-size: 1.72rem; }
  .contact-form-wrap, .contact-info-card { padding: 28px 22px; }
  .mv-card { padding: 32px 26px; }
  .product-img img, .item-img img { height: 210px; }
}
