/* Modern CSS for Maxolen.eu - Refined */
:root {
  --primary-color: #202020;
  --secondary-color: #49ae4e;
  --accent-color: #268d2b;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #777;
  --white: #fff;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

a:active, input {
  outline: none;
}

img, img a {
  border: none;
  max-width: 100%;
  height: auto;
}

.clear {
  clear: both;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

h1 {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  padding: 2rem 0;
  margin: 0;
  color: var(--primary-color);
}

h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-dot {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.list-dot li {
  margin-bottom: 0.75rem;
}

.list-dot li:last-child {
  margin-bottom: 0;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Layout */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 2rem;
}

.scroll-top {
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-speed) ease;
  z-index: 9999;
  box-shadow: var(--box-shadow);
}

.scroll-top .fa-arrow-up {
  font-size: 20px;
}

.scroll-top:hover {
  background-color: var(--accent-color);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}


.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 0.75rem 1.5rem;
  margin: 1rem auto;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn.fixed {
  width: 180px;
}

.stars {
  white-space: nowrap;
}

.stars .checked {
  color: #f39c12;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
}

.wrapper.header {
  padding: 1rem;
  margin-top: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  padding: 0;
  max-width: 200px;
  transition: transform var(--transition-speed) ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  display: block;
  width: 100%;
}

nav {
  margin-top: 0;
}

nav ul {
  display: flex;
  align-items: center;
}

nav li {
  margin-left: 1.5rem;
}

nav li a {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
}

nav li a img {
  transition: transform var(--transition-speed) ease;
}

nav li a:hover img {
  transform: scale(1.1);
}

.mobile-menu {
  display: none;
}

/* Carousel - Full Screen */
.wrapper.carousel {
  padding: 0;
  max-width: 100%;
  width: 100%;
  margin-bottom: 2rem;
}

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

.bxslider img {
  width: 100%;
  display: block;
}

.bx-wrapper {
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 3rem !important;
}

.bx-wrapper .bx-pager {
  bottom: -30px !important;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: var(--medium-gray) !important;
  transition: all var(--transition-speed) ease;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: var(--accent-color) !important;
}

.bx-wrapper .bx-controls-direction a {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.bx-wrapper .bx-controls-direction a:hover {
  background-color: var(--white);
}

/* Products */
.products-container {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.product {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product a {
  display: block;
}

.product img {
  display: block;
  width: 100%;
  transition: transform var(--transition-speed) ease;
}

.product:hover img {
  transform: scale(1.03);
}

.maxolen-text {
    background-color: #f8f9fa;
    border-left: 4px solid #4CAF50;
    padding: 25px 30px;
    margin: 30px 0;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 5px 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.maxolen-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Products */
.product-card {
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: nowrap;
}
.product-card h2 {
  margin: 1rem 0;
}
.product-card .image-container {
  margin: 0;
} 
.product-card img {
  max-width: 300px;
  margin: 20px 40px 20px 0;
}
.products-contacts {
  font-weight: bold;
  padding-top: 30px;
  padding-bottom: 50px;
  text-align: center;
}

/* contact section */
.contact-section {
    margin: 48px 0;
}

.contact-section .wrapper {
    display: grid;
    grid-template-columns: minmax(280px, 430px) 1fr;
    gap: 24px;
    align-items: stretch;
}

.contact-card {
    box-shadow: 0 12px 35px rgba(26, 42, 62, 0.12);
    padding: 28px;
    color: #172534;
}

.contact-card h2 {
    margin: 0 0 14px;
    font-size: 28px;
    letter-spacing: 0.3px;
    color: #0f2a43;
}

.contact-subtitle {
    margin: 0 0 24px;
    color: #566578;
    line-height: 1.55;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.contact-item i {
    width: 18px;
    margin-top: 3px;
    color: #0f2a43;
}

.contact-item strong {
    display: block;
    color: #1a3047;
    margin-bottom: 2px;
}

.contact-item a {
    color: #49ae4e;
    text-decoration: none;
    font-weight: 700;
}

.contact-item a:hover {
    text-decoration: underline;
}

.work-hours {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #d8e1eb;
}

.work-hours h3 {
    margin: 0 0 14px;
    font-size: 20px;
    color: #0f2a43;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed #dde4ec;
}

.hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hours-row span:first-child {
    color: #2d4155;
    font-weight: 600;
}

.hours-row span:last-child {
    color: #0f2a43;
    font-weight: 700;
}

.map {
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(26, 42, 62, 0.16);
    min-height: 420px;
    border: 1px solid #dce4ee;
    background: #d8e0ea;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 920px) {
    .contact-section {
        margin: 40px 0;
    }

    .contact-section .wrapper {
        grid-template-columns: 1fr;
    }

    .map,
    .map iframe {
        min-height: 340px;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .contact-card {
        padding: 22px 18px;
    }

    .contact-card h2 {
        font-size: 24px;
    }

    .hours-row {
        font-size: 14px;
    }
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
}

.allrights {
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .wrapper {
    max-width: 100%;
  }
}

@media screen and (max-width: 992px) {
  .products-container {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  /* .wrapper.header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav {
    width: 100%;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav li {
    margin: 0 0.75rem;
  } */
  
  /* .mobile-menu {
    display: block;
    position: absolute;
    right: 2rem;
    top: 1.5rem;
  } */
  
  /* Mobile menu button transformation */
  /* .mobile-menu-button {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      position: relative;
  }
  
  .mobile-menu-button span {
      display: block;
      height: 3px;
      width: 100%;
      background-color: var(--primary-color);
      border-radius: 3px;
      transition: all var(--transition-speed) ease;
      position: absolute;
      left: 0;
  }
  
  .mobile-menu-button span:nth-child(1) {
      top: 0;
  }
  
  .mobile-menu-button span:nth-child(2) {
      top: 50%;
      transform: translateY(-50%);
  }
  
  .mobile-menu-button span:nth-child(3) {
      bottom: 0;
  } */
  
  /* X transformation when menu is active */
  /* .mobile-menu-button.active span:nth-child(1) {
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
  }
  
  .mobile-menu-button.active span:nth-child(2) {
      opacity: 0;
  }
  
  .mobile-menu-button.active span:nth-child(3) {
      bottom: 50%;
      transform: translateY(50%) rotate(-45deg);
  } */

  
  /* nav {
    display: none;
    margin-top: 1rem;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav li {
    margin: 0.5rem 0;
    width: 100%;
  } */
  
  .mobile-only {
    display: inline-block;
  }
  
  .desktop-only {
    display: none;
  }

  /* Products */
  .product-card {
      display: block;
  }
  .product-card .image-container {
      text-align: center;
  }
  .product-card img {
      margin: 20px auto;
  }
}

@media screen and (max-width: 576px) {
  .logo {
      max-width: 150px;
  }
  nav li {
      margin-left: 10px;
  }
  nav li img {
      width: 25px;
  }
  .products-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .maxolen-text {
      padding: 20px;
      font-size: 1em;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .wrapper {
    padding: 0 1rem;
  }
}
