/*

FONT SIZE SYSTEM (px)

10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98


-Font weights:
Default: 400
Medium:500
SemiBold: 600
Bold: 600


-Line heights:
Default: 1
Small: 1.05
Paragraf default: 1.6
1.2


-Letter spacing
-0.5px
0.75px


------------

02 COLORS

Primary: #710627
-Tints:
-Shades:
-Accents:
-Greys: #6f6f6f #555,#333, 

--------------

05 SHADDOWS


--------------

06 BORDER RADIOUS

Default: 9px
11px

--------------

07 WHITESPACE


SPACING SYSTEM (px)

2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128



*/

/* ********************************* */
/* HEADER */
/* ********************************* */

/* ---------- Header / Navigation ---------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  height: 8rem;
  padding: 0 4.8rem;
  position: relative;
  z-index: 999;
}

.logo-img {
  height: 3.6rem;
}

/* Main nav (desktop) */
.main-nav {
  display: flex;
  align-items: center;
}

.navList {
  display: flex;
  list-style: none;
  gap: 3.2rem;
}

.navLink {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: color 0.3s;
}

.navLink:hover {
  color: #ffce00;
}

/* Mobile nav button (hidden on desktop) */
.btnMobileNav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.iconMobileNav {
  height: 3.6rem;
  width: 3.6rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #710627;

  /* ker hčmo da je sticky */
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  height: 4rem;
}

/* ********************************* */
/* NAVIGATION */
/* ********************************* */

.mainNavList {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.mainNavLink:link,
.mainNavLink:visited {
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.mainNavLink:hover,
.mainNavLink:active {
  color: #710627;
}

.mainNavLink.navCta:link,
.mainNavLink.navCta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  background-color: #710627;
  color: #fff;
}

.mainNavLink.navCta:hover,
.mainNavLink.navCta:active {
  background-color: #710627;
}

/* mobileNav */

.btnMobileNav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.iconMobileNav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.iconMobileNav[name="close-outline"] {
  display: none;
}

/* stickynav */

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}
.sticky .sectionHero {
  margin-top: 9.6rem;
}

/* ********************************* */
/* HERO SECTION */
/* ********************************* */

.sectionHero {
  padding: 4.8rem 0 9.6rem 0;
  background-image: url("/Fumex/img/FumexHero.jpeg");
  background-size: cover;
  background-position: center;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  gap: 9.6rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.heroDescription {
  font-size: 2rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 4.8rem;
}

/* Past Projects */

.sectionPastProjects {
  position: relative;
  overflow: hidden;
  background-color: #000;
  padding: 9.6rem 0;
}

.carousel {
  width: 100%;
  overflow: hidden; /* we handle transforms ourselves */
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y; /* allow vertical scroll, we handle horizontal drag */
  opacity: 0; /* reveal animation (initial) */
  transform: translateY(40px); /* reveal animation (initial) */
  transition: opacity 700ms ease, transform 700ms ease;
}

.carousel.inView {
  opacity: 1;
  transform: translateY(0);
}

.carousel + .carousel {
  margin-top: 6rem;
}

.carouselTrack {
  display: flex;
  align-items: center;
  gap: 4rem;
  will-change: transform;
}

.carouselImg {
  width: 40rem;
  height: 50rem;
  object-fit: cover;
  border-radius: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.95;
}

.carouselImg:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Top row peeks in from the left on load */
#carouselTop .carouselTrack {
  transform: translateX(-150px);
}

/* Nice grab cursor for drag */
.carousel.grabbable {
  cursor: grab;
}
.carousel.dragging {
  cursor: grabbing;
}

/* Ovens */

.centerText {
  margin-bottom: 9.6rem;
}

.sectionOvens {
  position: relative;
  overflow: hidden;
  background-color: #000;
  padding: 9.6rem 0;
}

.ovenSlider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 110rem; /* keeps it centered and elegant */
  display: grid;
  grid-template-columns: 4rem 1fr 4rem; /* arrows | viewport | arrows */
  align-items: center;
  gap: 1.6rem;
}

.ovenViewport {
  overflow: hidden;
  width: 100%;
}

.ovenTrack {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 400ms ease;
}

.ovenSlide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh; /* consistent viewport height */
  max-height: 70rem;
  background: #000;
}

.ovenSlide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 1.2rem;
  display: block;
}

.ovenArrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms ease, transform 120ms ease;
  user-select: none;
}
.ovenArrow:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ovenArrow:active {
  transform: scale(0.96);
}

.ovenArrowLeft {
  grid-column: 1;
}
.ovenViewport {
  grid-column: 2;
}
.ovenArrowRight {
  grid-column: 3;
}

/* Business / Services Section (Light Theme) */

.sectionBusiness {
  background-color: #f8f8f8;
  color: #222;
  padding: 12rem 0;
}

.sectionBusiness h2,
.sectionBusiness h3,
.sectionBusiness h4 {
  color: #111;
}

.sectionBusiness h2 {
  margin-bottom: 3.2rem;
}

.businessTypes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
  gap: 6rem;
  margin: 6rem 0;
}

.businessCard {
  background: #fff;
  border-radius: 1.2rem;
  padding: 3.2rem;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.businessCard:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.12);
}

.businessCard h3 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  color: #111;
}

.businessCard p {
  color: #555;
  font-size: 1.8rem;
  line-height: 1.8;
}

.sectionDivider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 8rem auto;
  width: 80%;
}

.serviceCommitment {
  margin-top: 6rem;
}

.serviceCommitment .subText {
  color: #666;
  margin-bottom: 6rem;
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
  margin-bottom: 6rem;
}

.serviceItem {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.8rem;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.serviceItem:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.1);
}

.serviceItem h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.serviceItem p {
  color: #555;
  font-size: 1.8rem;
  line-height: 1.8;
}

/* --- Service grid: responsive, no orphan rows --- */

/* Desktop / wide: 3 columns; make the 4th full width */
@media (min-width: 1100px) {
  .serviceGrid {
    grid-template-columns: repeat(3, 1fr); /* force 3 cols for consistent row */
  }
  .serviceGrid .serviceItem:nth-child(4) {
    grid-column: 1 / -1; /* stretch across all columns */
  }
}

/* Tablet / medium: 2 columns (2x2) */
@media (min-width: 700px) and (max-width: 1099px) {
  .serviceGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .serviceGrid .serviceItem:nth-child(4) {
    grid-column: auto; /* reset spanning on medium */
  }
}

/* Mobile: 1 column stack */
@media (max-width: 699px) {
  .serviceGrid {
    grid-template-columns: 1fr;
  }
  .serviceGrid .serviceItem:nth-child(4) {
    grid-column: auto; /* reset just in case */
  }
}

/* CTA Button – bold contrast on light background */
.btnPrimary {
  background: #710627;
  color: #fff;
  border: none;
  padding: 1.6rem 3.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.btnPrimary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* Prevent card overflow on narrow phones */
.sectionBusiness .businessTypes {
  /* min() ensures the min width never exceeds 100% of the container */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
  gap: 3.2rem; /* gentler default gap */
}

/* Extra-safe tweaks for very narrow screens */
@media (max-width: 480px) {
  .sectionBusiness .businessTypes {
    grid-template-columns: 1fr; /* single column on small phones */
    gap: 2.4rem;
  }
  .sectionBusiness .container {
    padding-left: 1.6rem; /* reduce side padding so content fits */
    padding-right: 1.6rem;
  }
  .sectionBusiness .businessCard {
    padding: 2.4rem; /* slightly smaller inner padding */
  }
}

/* =========================
   WHY CHOOSE FUMEX SECTION
   ========================= */
.sectionWhy {
  background: #710627; /* brand maroon */
  color: #fff;
  padding: 9.6rem 0 12rem;
}

.sectionWhy .headingSecondary {
  color: #fff;
  margin-bottom: 2.4rem;
}

/* Bullet list with checkmarks */
.whyList {
  list-style: none;
  margin: 2.4rem 0 6.4rem;
  padding-left: 0;
  display: grid;
  gap: 1.6rem;
}

.whyList li {
  position: relative;
  padding-left: 2.8rem;
  line-height: 1.7;
  color: #f5f5f5;
  font-size: 1.8rem;
}

.whyList li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #ffffff;
  font-weight: 700;
}

/* Emphasis on the leading label inside each bullet */
.whyList strong {
  color: #fff;
  font-weight: 700;
}

/* CTA block */
.whyCtaBlock {
  margin-top: 4.8rem;
}

.whyCtaHeading {
  color: #fff;
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
}

.whyCtaSub {
  font-size: 1.8rem;
  color: #fff;
  opacity: 0.9;
  max-width: 90rem;
  margin: 0 auto 3.6rem;
  font-weight: 600; /* matches the screenshot’s stronger line */
}

/* Use your existing btnPrimary but restyle to black for this section,
     and make it auto-width & centered like in the screenshot */
.btnPrimary--dark {
  background: #000;
  color: #fff;
  width: auto; /* override your global 100% width */
  padding: 1.6rem 3.2rem;
  border-radius: 1.2rem; /* pill-ish look */
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.25);
}

.btnPrimary--dark:hover {
  background: #111;
  transform: translateY(-2px);
}

/* ================================
   INOX SYSTEM SPECIFICATIONS
   ================================ */
.sectionSpecs {
  background: #000; /* matches your dark sections */
  color: #fff;
  padding: 9.6rem 0 12rem;
}

.sectionSpecs .headingSecondary {
  color: #fff;
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

/* Top image */
.specsMedia {
  margin: 0 0 2.4rem;
}
.specsMedia img {
  display: block;
  width: 100%;
  max-width: 96rem; /* keep it elegant, not full-bleed */
  margin: 0 auto;
  border-radius: 1.2rem;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.35);
}

/* Content */
.specsList {
  max-width: 110rem; /* keeps lines comfortable */
  margin: 0 auto;
  display: grid;
  gap: 2.4rem;
}

.specItemTitle {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
}

.specText {
  color: #e8e8e8;
  font-size: 1.8rem;
  line-height: 1.7;
}

/* Nice breathing on very small screens */
@media (max-width: 600px) {
  .specsMedia img {
    max-width: 100%;
    border-radius: 1rem;
  }
  .specItemTitle {
    font-size: 1.9rem;
  }
  .specText {
    font-size: 1.7rem;
  }
}

/* =========================
   TECHNICAL DATA (LIGHT)
   ========================= */
.sectionTech {
  background: #fff; /* light section for contrast */
  color: #111;
  padding: 9.6rem 0 12rem;
}

.sectionTech .headingSecondary {
  margin-bottom: 3.2rem;
  color: #111;
}

/* Accessible definition list laid out like a table */
.techList {
  display: grid;
  gap: 1.6rem;
  max-width: 110rem;
  margin: 0 auto;
}

/* Each row is its own two-column grid */
.techRow {
  display: grid;
  grid-template-columns: minmax(26rem, 1fr) 1fr;
  align-items: start;
  gap: 2.4rem;
  padding: 1.2rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.techTerm,
.techDef {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.6;
}

.techTerm {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #222;
  font-weight: 600;
}

.techDef {
  color: #444;
}

/* Branded, subtle icon chips */
.techIcon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #710627; /* your maroon */
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.6rem;
  box-shadow: 0 0.2rem 0.6rem rgba(113, 6, 39, 0.35);
}

.techIcon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive: stack dt above dd on small screens */
@media (max-width: 700px) {
  .techRow {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.6rem 0;
  }
  .techDef {
    padding-left: 4rem;
  } /* indent to line up with icon */
}

/* ===============================
   CONTACT + FOOTER (modern)
   =============================== */

/* Maroon contact block */
.sectionFooterContact {
  background: #710627; /* brand maroon */
  color: #fff;
  padding: 8rem 0 6rem;
}

.sectionFooterContact .footerHeading {
  color: #fff;
  margin-bottom: 2.4rem;
}

.contactList {
  list-style: none;
  display: grid;
  gap: 1.6rem;
  margin: 0 auto 3.6rem;
  padding: 0;
  max-width: 52rem; /* keeps lines tidy */
}

.contactLink {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.contactLink:hover {
  opacity: 1;
}
.contactLink:active {
  transform: scale(0.98);
}

/* Map card with subtle frame */
.mapCard {
  margin: 2.4rem auto 0;
  background: #6a0624; /* slightly darker than maroon for frame depth */
  border-radius: 1.2rem;
  padding: 0.8rem; /* thin frame */
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.25);
  max-width: 110rem;
}

.mapFrame {
  display: block;
  width: 100%;
  height: 52rem; /* desktop height */
  border: 0;
  border-radius: 0.8rem;
}

/* Bottom black bar */
.siteFooter {
  background: #000;
  color: #fff;
}

.footerInner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 2.4rem 3.2rem;
  display: flex;
  gap: 2.4rem;
  align-items: center;
  justify-content: space-between;
}

.footerBrand {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  color: #fff;
}

.footerLogo {
  height: 2.4rem;
  width: auto;
}

.footerBrandText {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.8rem;
}

.footerNav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
}

.footerLink {
  color: #cfcfcf;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}
.footerLink:hover {
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .mapFrame {
    height: 44rem;
  }
}

@media (max-width: 600px) {
  .footerInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }
  .mapFrame {
    height: 36rem;
  }
}
