/* ==========================================================================
   WEISS ANLAGENTECHNIK - Static Stylesheet
   Pure CSS - Responsive, High Performance, True to Original Avada/WAT Style
   Typography: PT Sans (Headings in #3683c0) & Open Sans (Body)
   Header: Solid White Background (#ffffff) with crisp WA Logo
   Title Bar: Dark Navy (#063152) with Title & Subtitle + Breadcrumbs
   Content: Authentic Layout, NO artificial cards/boxes around images
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;1,400&family=PT+Sans:wght@300;400;700&display=swap');

:root {
  /* Corporate Colors */
  --company-blue: #3683c0;
  --company-blue-dark: #276595;
  --company-blue-light: #529bd4;
  --company-blue-bg: #f4f8fb;
  
  --primary-navy: #063152;
  --primary-dark: #124e7d;
  --primary-border: #e2e8f0;
  
  --text-main: #363636;
  --text-muted: #666666;
  --text-light: #888888;
  
  --bg-body: #ffffff;
  --border-color: #e5e5e5;
  --border-sep: #f0f0f0;
  
  --max-width: 1140px;
  --transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #444444;
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Headings in PT Sans & Corporate Blue #3683c0 (Original Avada Font-Weight 300) */
h1, h2, h3, h4, h5, h6 {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  color: var(--company-blue);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
}

h1 {
  font-size: 26px;
  font-weight: 300;
}

h2 {
  font-size: 24px;
  font-weight: 300;
  color: var(--company-blue);
  margin-top: 10px;
  margin-bottom: 18px;
}

h3 {
  font-size: 18px;
  font-weight: 300;
  color: var(--company-blue);
  margin-top: 15px;
  margin-bottom: 12px;
}

h4 {
  font-size: 15px;
  font-weight: 300;
  color: var(--company-blue);
}

a {
  color: var(--company-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--company-blue-dark);
  text-decoration: underline;
}

p {
  margin-bottom: 15px;
  color: #444444;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==========================================================================
   ORIGINAL AVADA CUSTOM CLASSES (True-to-Original Specs)
   ========================================================================== */
.h2greaterHome {
  font-family: "PT Sans", Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
  font-size: 26px !important;
  line-height: 35px !important;
  margin-top: 30px !important;
  margin-bottom: 25px !important;
  color: #3683c0 !important;
}

.hometitle {
  font-family: "PT Sans", Arial, Helvetica, sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #3683c0 !important;
  margin-bottom: 15px !important;
}

.pInfoTitleImage,
.pInfoTitleImage a {
  font-family: "PT Sans", Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  color: #3683c0 !important;
  font-weight: 300 !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  display: block;
  text-decoration: none;
}

.pInfoTitleImage a:hover {
  color: var(--company-blue-dark) !important;
  text-decoration: underline !important;
}

.pInfoTitlehome,
.pInfoTitlehome a {
  font-family: "PT Sans", Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  color: #3683c0 !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}

.pInfoTitlehome a:hover {
  text-decoration: underline;
}

.pInfoTexthome {
  font-size: 14px !important;
  color: #444444 !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
  margin-bottom: 10px !important;
}

.pInfoMorehome a {
  font-size: 13px !important;
  color: #3683c0 !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.pInfoMorehome a:hover {
  text-decoration: underline;
}

.aExtraLink {
  color: #3683c0 !important;
}

/* ==========================================================================
   HEADER & NAVIGATION
   Solid white background, crisp logo rendering, browser compatible
   ========================================================================== */
.site-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  transition: var(--transition);
  text-decoration: none;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--company-blue);
  text-decoration: none;
}

/* Dropdown Menu */
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 270px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  border: 1px solid #e0e0e0;
  list-style: none;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
  z-index: 1100;
}

.dropdown-link {
  display: block;
  padding: 8px 18px;
  font-size: 13.5px;
  color: #333333;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.dropdown-link:hover {
  background-color: var(--company-blue-bg);
  color: var(--company-blue);
  padding-left: 22px;
  text-decoration: none;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid #e0e0e0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #777777;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.lang-btn img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
}

.lang-btn:hover {
  color: var(--company-blue);
  text-decoration: none;
}

.lang-btn.active {
  color: var(--company-blue);
  background-color: #f4f8fb;
  border-color: #d0e2f0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #333333;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333333;
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #333333;
  left: 0;
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.mobile-toggle.is-active .hamburger {
  background-color: transparent;
}
.mobile-toggle.is-active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-toggle.is-active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   PAGE TITLE BAR (Dark Navy #063152 like Original Avada)
   ========================================================================== */
.fusion-page-title-bar {
  background-color: var(--primary-navy);
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 22px 0;
  margin-bottom: 35px;
}

.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title-captions {
  flex: 1 1 auto;
}

.page-title-captions h1 {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #f7f7f7;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.page-title-captions h3 {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #f7f7f7;
  margin: 0;
  line-height: 1.3;
}

.page-title-secondary {
  flex: 0 0 auto;
}

.breadcrumbs {
  font-size: 11px;
  color: #ffffff;
}

.breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--company-blue);
  text-decoration: underline;
}

.breadcrumbs .sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs span.current {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   MAIN CONTENT & SUBPAGE LAYOUT
   Content Left (73%), Sidebar Right (24%) - Exact Avada Proportions
   ========================================================================== */
.main-layout-container {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 2.2rem;
  margin-bottom: 45px;
  align-items: start;
}

.main-content-full {
  width: 100%;
  margin-bottom: 45px;
}

.subpage-content {
  min-width: 0;
}

.subpage-content p {
  text-align: justify;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #444444;
}

.subpage-content h2 {
  font-weight: 300;
  font-size: 24px;
  color: var(--company-blue);
  margin-top: 10px;
  margin-bottom: 18px;
}

.subpage-content h3 {
  font-weight: 300;
  font-size: 18px;
  color: var(--company-blue);
  margin-top: 15px;
  margin-bottom: 12px;
}

.subpage-content h4 {
  font-weight: 300;
  font-size: 15px;
  color: var(--company-blue);
}

/* Floating Images (Original Avada Alignments) */
.alignright, .img-alignright {
  float: right;
  max-width: 50%;
  margin: 0 0 16px 24px;
}

.alignleft, .img-alignleft {
  float: left;
  max-width: 50%;
  margin: 0 24px 16px 0;
}

.caption-text {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* ==========================================================================
   PRODUCTS & MACHINES GRID (NO ARTIFICIAL BOXES/CARDS/SHADOWS)
   ========================================================================== */
.machine-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  margin: 1.75rem 0;
}

.machine-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.product-item {
  display: block;
  margin-bottom: 1.5rem;
}

.product-item img,
.machine-grid-2col img,
.machine-grid-3col img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.product-item img:hover,
.machine-grid-2col img:hover,
.machine-grid-3col img:hover {
  opacity: 0.93;
}

.machine-caption-title {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--company-blue);
  margin-bottom: 6px;
  line-height: 1.3;
}

/* ==========================================================================
   ORIGINAL AVADA SIDEBAR (Authentic Bullet Points & Delicately Styled Menu)
   ========================================================================== */
.sidebar-right {
  position: sticky;
  top: 95px;
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-widget .heading {
  margin-bottom: 12px;
}

.sidebar-widget .widget-title {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  color: var(--company-blue);
  font-size: 18px;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.3;
}

/* Bullet list matching original Avada / WordPress style */
.sidebar-menu {
  list-style-type: disc;
  margin: 0;
  padding-left: 18px;
}

.sidebar-menu > li {
  margin-bottom: 5px;
  padding: 0;
  border-bottom: none;
  color: #474747;
}

.sidebar-menu li a {
  display: inline;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #474747;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-menu li a:hover {
  color: var(--company-blue);
  text-decoration: underline;
}

.sidebar-menu li.active > a,
.sidebar-menu li.parent-active > a {
  color: var(--company-blue);
  font-weight: 400;
}

/* Submenu inside sidebar (Hollow circle bullets matching original) */
.sidebar-menu .sub-menu {
  list-style-type: circle;
  padding-left: 20px;
  margin: 4px 0 6px 0;
}

.sidebar-menu .sub-menu li {
  margin-bottom: 4px;
  padding: 0;
  border-bottom: none;
  color: #555555;
}

.sidebar-menu .sub-menu li a {
  font-size: 12px;
  padding: 0;
  line-height: 1.4;
  color: #474747;
}

.sidebar-menu .sub-menu li a:hover {
  color: var(--company-blue);
  text-decoration: underline;
}

.sidebar-menu .sub-menu li.active > a {
  color: var(--company-blue);
  font-weight: 400;
}

/* Reports Widget */
.sidebar-reports-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-reports-list li {
  margin-bottom: 8px;
  padding: 0;
}

.sidebar-reports-list a {
  font-size: 13px;
  color: var(--company-blue);
  text-decoration: none;
  display: block;
  line-height: 1.4;
  transition: var(--transition);
}

.sidebar-reports-list a:hover {
  text-decoration: underline;
  color: var(--company-blue-dark);
}

.sidebar-reports-list .bookmark-icon {
  display: none;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC (Authentic Layout with 4 Rows)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background-color: #124e7d;
  overflow: hidden;
  color: #ffffff;
  min-height: 380px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 380px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-content-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  height: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.slide-image-col {
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
  background-color: #0d3b66;
}

.slide-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-text-col {
  padding-left: 0.5rem;
}

.slide-title {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 31px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.slide-desc {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  line-height: 1.55;
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
}

.btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* Authentic 4 Rows on Homepage */
.home-product-rows {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.home-product-row {
  display: grid;
  grid-template-columns: 33% 64%;
  gap: 3%;
  align-items: center;
}

.home-product-col-img img {
  width: 100%;
  height: auto;
  display: block;
  border: 5px solid #ececec;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease;
}

.home-product-col-img img:hover {
  opacity: 0.95;
}

.home-product-col-desc {
  padding-left: 0.5rem;
}

/* ==========================================================================
   PRODUCTS OVERVIEW PAGE (2 Columns)
   ========================================================================== */
.products-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin: 2.5rem 0 3.5rem 0;
}

.products-overview-item {
  display: flex;
  flex-direction: column;
}

.products-overview-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 5px solid #ececec;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.contact-form-box {
  background-color: #ffffff;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #333333;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--company-blue);
  box-shadow: 0 0 0 3px rgba(54, 131, 192, 0.15);
}

.btn-send {
  background-color: var(--company-blue);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-send:hover {
  background-color: var(--company-blue-dark);
}

.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--company-blue);
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-info-item .info-icon {
  color: var(--company-blue);
  font-size: 1.1rem;
}

.contact-info-item strong {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 14px;
  color: #333333;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  margin-top: auto;
  border-top: 3px solid var(--company-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.9fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.5rem;
}

.footer-col p {
  color: #d0dbe5;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d0dbe5;
  font-size: 13px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #0b3454;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  font-size: 12px;
  color: #9cb1c4;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: #9cb1c4;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL & ZOOM
   ========================================================================== */
.image-lightbox,
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  cursor: zoom-out;
  padding: 2rem;
  box-sizing: border-box;
}

.image-lightbox.active,
.lightbox-modal.active {
  display: flex !important;
}

.image-lightbox img,
.lightbox-modal img,
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  cursor: default;
  border-radius: 2px;
  background-color: #ffffff;
  padding: 3px;
}

.image-lightbox-close,
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  z-index: 1000000;
  transition: transform 0.15s ease, color 0.15s ease;
}

.image-lightbox-close:hover,
.lightbox-close:hover {
  transform: scale(1.15);
  color: #3683c0;
}

/* Clickable image indicators */
.clickable-image,
.product-item img,
.subpage-content img,
.machine-grid-2col img,
.machine-grid-3col img {
  cursor: zoom-in;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-item img:hover,
.clickable-image:hover,
.subpage-content img:hover {
  opacity: 0.92;
}

/* Subpage feature lists / checklists styling */
.subpage-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.5rem 0;
}

.subpage-content ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.subpage-content ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: #1e73be;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
  .main-layout-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sidebar-right {
    position: static;
    order: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .home-product-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .products-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    display: none;
  }
  
  .main-nav.is-open {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--company-blue);
    margin-left: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  
  .has-dropdown.is-open .dropdown-menu {
    display: block;
  }
  
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e0e0e0;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
  
  .slide-content-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .slide-image-col {
    height: 180px;
  }
  
  .slide-text-col {
    padding: 0;
  }
  
  .slide-desc {
    display: none;
  }
  
  .machine-grid-2col,
  .machine-grid-3col {
    grid-template-columns: 1fr;
  }
  
  .alignright, .alignleft {
    float: none;
    max-width: 100%;
    margin: 1rem 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
