/* 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: 56px 0 24px;
    padding: 48px 0;
    background:
        linear-gradient(135deg, rgba(73, 174, 78, 0.08), transparent 42%),
        linear-gradient(180deg, #f0f2f4 0%, #e8ecef 100%);
}

.contact-section .wrapper {
    max-width: 920px;
}

.contact-card {
    background: var(--white);
    border: 1px solid rgba(32, 32, 32, 0.06);
    border-radius: var(--border-radius);
    box-shadow: 0 18px 40px rgba(32, 32, 32, 0.1);
    padding: 36px 40px;
    color: #202020;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.contact-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.contact-card h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: 0.2px;
    color: var(--primary-color);
}

.contact-subtitle {
    margin: 0 auto;
    color: var(--dark-gray);
    line-height: 1.55;
    white-space: nowrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.contact-call-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(73, 174, 78, 0.28);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(73, 174, 78, 0.36);
    color: var(--white) !important;
    text-decoration: none !important;
}

.contact-call-btn i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-call-btn strong,
.contact-call-btn em {
    display: block;
    font-style: normal;
}

.contact-call-btn strong {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 2px;
}

.contact-call-btn em {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    background: var(--light-gray);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-speed) ease, border-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.contact-social a:hover {
    background: var(--white);
    border-color: var(--secondary-color);
    color: var(--accent-color);
    text-decoration: none;
}

.contact-social i {
    font-size: 18px;
}

.work-hours {
    background: linear-gradient(180deg, #f7faf7 0%, #f3f6f3 100%);
    border: 1px solid rgba(73, 174, 78, 0.16);
    border-radius: var(--border-radius);
    padding: 22px 20px;
}

.work-hours h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.work-hours h3 i {
    color: var(--secondary-color);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(32, 32, 32, 0.12);
}

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

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

.hours-row span:last-child {
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .contact-section {
        margin: 40px 0 16px;
        padding: 36px 0;
    }

    .contact-card {
        padding: 28px 22px;
    }

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

    .contact-subtitle {
        white-space: normal;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-hours {
        order: 1;
    }

    .contact-actions {
        order: 2;
    }

    .contact-call-btn em {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .contact-social {
        flex-direction: column;
    }

    .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;
  }
}
