:root {
--bg: #f7f7f8;
--card: #333333;
--text: #0f172a;
--muted: #FFFFFF;
--highlight: #ffcc00; 
--radius: 5px;
--gap: 30px;
--shadow: 0 6px 20px rgba(0,0,0,.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/background.png') no-repeat center center fixed;
      background-size: cover;
      font-family: 'Roboto', Arial, sans-serif;
      color: white;
    }

    .outer-container {
      background: #fff;
    }

    .container {
      max-width: 1600px;
      width: 90%;
      margin: 0 auto;
    }

    header {
      background: rgba(0, 0, 0, 0.5);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 1000;
      border-bottom: 1px solid #333;
    }

    header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.3rem 0rem;
    }

    header .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    header .logo img {
      height: auto; 
      max-width: 90%;
      min-width: 200px;
    }

    .menu-toggle {
      cursor: pointer;
      font-size: 24px;
      padding: 5px;
      display: none;
    }

    nav {
      display: flex; 
      gap: 1rem;
      transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    header.menu-open nav {
      max-height: 500px;
      opacity: 1;
    }

    nav a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      transition: color 0.3s;
    }

    nav a:hover { color: var(--highlight); }

    nav a.active {
      color: var(--highlight);
      font-weight: bold;
      text-decoration: underline;
    }

    main {
      padding-top: 88px; 
    }

    .text {
    margin: 0;
    text-align: justify;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
  }

  .button {
      padding: clamp(0.5rem, 1vw + 0.4rem, 0.75rem) clamp(1.2rem, 3vw, 3rem);
      font-size: clamp(0.9rem, 1vw + 0.8rem, 1.2rem);
      border: none;
      border-radius: 30px;
      background: var(--highlight);
      color: #000;
      cursor: pointer;
      transition: transform 0.2s, background 0.3s;
      text-decoration: none;
    }

    .button:hover {
      transform: scale(1.1);
    }

    .image-wrapper { text-align: center; }
    .image-wrapper img { 
      max-width: 100%;
      height: auto;
    }

    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      box-sizing: border-box; 
    }

    section.hero .banner {
      flex: 0 50%;
      display: flex;
    }

    .banner img {
      width: 100%;
      object-fit: cover;   
    }

    section.hero .banner img {
      filter: brightness(75%);
    }

    .cta {
      flex: 0 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 20px 0 0px;
    }

    .hero .grid {
      flex: 1 0 auto; 
      display: grid;
      gap: var(--gap, 20px);
      grid-template-columns: 1fr;
      align-content: start;
      padding: 20px;
    }

    .hero .card {
      background:#333;
      border-radius: var(--radius, 16px);
      padding: 12px;
      box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,.1));
      transition: transform 0.2s, background 0.3s;
    }

    .hero .card:hover {
      transform: scale(1.05);
      background-color: #444;
    }

    .hero .card a {
    display: inline-block;
    margin: 10px 0px;
    transform-origin: left center;
    transition: transform 0.3s ease;
    }

    .hero .card a:hover {
      transform: scale(1.2);
    }


    .brand {
      width: 15%;
      min-width: 150px;
      margin: 8px auto;
    }


    section.columns {
      display: flex;
      gap: 0px;         
      flex-direction: column;
      position: relative;
      transition: transform 0.8s ease;
    }

    .column {
      padding: 0px;
      flex: 1;
    }

    .column.padded { 
      padding: 0; 
    }

    .columns .corner {
      position: absolute;
      top: 0px;
      width: 40%;
      height: 150px;
      display: none;
    }

    .columns:hover {
    transform: scale(1.05);
    }

    .columns .corner.right {
      border-top: 1px solid #bbb;
      border-right: 1px solid #bbb;
      right: 0px;
    }

    .columns .corner.left {
      border-top: 1px solid #bbb;
      border-left: 1px solid #bbb;
      left: 0px;
    }


    .column img { width: 100%; }

    main section.block {
      min-height: 100vh;
      padding: 20px 0;
    }

    section.hero:target, section.block:target, footer:target {
      scroll-margin-top: 88px;
    }

    main section h1 {
      margin-top: 1rem;
    }

    main section a {
      color: white;
    }

    



    #pricelist .title {
    background-color: var(--highlight);
    color: black;
    padding: 0.5rem;
    border-radius: var(--radius) var(--radius) 0 0;
    }

    #pricelist .title h3 {
    margin: 5px 0;
    }

    #pricelist .title p {
    margin: 0px;
    }


    ul.pricelist {
      margin: 0.5rem 0 5rem;
      padding-left: 0;
      list-style: none;
      cursor: default;
    }

    ul.pricelist li {
      position: relative;
      padding: 10px 0px 10px 15px;
      font-size: 1em;
      line-height: 1.5em;
    }

    ul.pricelist li::before {
      content: "•";
      position: absolute;
      left: 0;
      top: 11px;
      color: #fff;
      font-size: 1.5em;
    }

    ul.pricelist.prices li {
      padding: 10px 0;
      border-bottom: 1px dotted #444;
      display: flex;
      justify-content: space-between;
    }

    ul.pricelist.prices li:before {
    content: none;
    }

    ul.pricelist li:hover {
    background-color: rgba(200,200,200,0.1);
    }


    

    /* ESHOP */
    section#offerList {
    margin: 0 auto;
    max-width: 1600px;
    width: 90%;
    color: black;
    }

    section#offerList > h2 {
    background-color: var(--highlight);
    padding: 0.3rem 1rem;
    margin: 0.5rem 0;
    }


    section#offerList .navigator {
    display: flex;
    justify-content: space-between;     
    padding: 0.3rem 1rem;
    }

    section#offerList .navigator > div > p {
    color: #555;
    font-size: 0.8em;
    }

    section.navigator > div > .br_label {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 3px;
    background-color: #ddd;
    border-radius: 3px;
    cursor: default;
    }

    section.navigator > div > .br_label:first-of-type {
    margin-left: 0;
    }

    section.productList {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
      padding: 1rem;
    }

    .product-card {
      background: #FFFFFF;
      overflow: hidden;
      display: flex;
      border: 1px solid #ccc;
      flex-direction: column;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.2s ease-in-out;
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .product-card .image-wrapper {
      width: 100%;    
      height: 250px;   
      display: flex;  
      align-items: center;
      justify-content: center;
      background: #fff;
      overflow: hidden;
      border-bottom: 1px solid gray;
      padding: 0.5rem;
    }

    .product-card .image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }


    .product-card .image-wrapper .campaign-badge {
      position: absolute;
      top: 7px;
      right: 7px;
      background: var(--highlight);
      color: black;
      padding: 4px 10px;
      font-weight: bold;
      border-radius: 5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    .product-info {
      display: flex;
      flex-direction: column;
      justify-content: space-between;                 
      padding: 0.5rem;
      height: 180px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .bottom {
      margin-top: auto; 
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }



    .product-info h3 {
      font-size: 1.2rem;
      margin: 0 0 0.5rem 0;
      color: #333;
      text-align: center;
    }

    .product-info p {
      margin: 0;
      font-size: 0.9rem;
      color: #555;
    }

    .product-info .footer {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
    }

    .product-info .price {
      font-size: 1.7rem;
      font-weight: bold;
      color: #aaaaaa;
      margin: auto 0;
    }

    
    .btn {
      padding: 0.5rem 1rem;
      border: none;
      background: #1d3557;
      color: #fff;
      font-size: 0.95rem;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
      text-decoration: none;
    }

    .btn:hover {
      background: var(--highlight);
    }
    /* ESHOP END */


    /* PRODUCT ITEM */
    #product-item {
      background: #fff;
      color: #333;
      padding: 20px;
      min-height: calc(100vh - 88px);
    }

    .navigation-links {
      display: block;
      margin-bottom: 20px;
      max-width: 1600px;
      margin: 0 auto 20px;
    }

    .navigation-links a {
      color: #007BFF;
      text-decoration: none;
      font-size: 1rem;
      padding: 5px;
    }

    .product-container {
      width: 100%;
      max-width: 1600px;
      margin: 0 auto;
    }

    .product-wrapper {
      display: flex;
      gap: 50px;
      margin-top: 20px;
      width: 100%;
      max-width: 100%;
    }

    .gallery {
      flex: 0 0 60%; 
      min-width: 0;
      display: flex;
      flex-direction: column;
    }


    .product-container .description {
      flex: 1 1 auto;
      min-width: 0;
    }

   

    .product-container .description h1 {
      margin: 0;
      font-size: clamp(1rem, 2vw + 1rem, 2rem);
    }

    .product-container .description .share a {
      color: gray;
    }

    .product-container .price {
      font-size: 2rem;
      font-weight: bold;
      color: #555;
      margin: 20px 0;
    }

    .product-container ul.params {
      list-style-type: none;
      padding: 0;
      margin-bottom: 20px;
    }

     .product-container ul.params li {
      border-bottom: 1px solid lightgray;
      padding: 10px 0;
     }

    .product-container ul.params li strong {
      display: inline-block;
      min-width: 40%;
    }

    .product-container a {
      color: black;
    }

    .product-container .txt {
      margin: 20px 0;
      line-height: 1.6;
      color: #444;
      font-size: 1rem;
    }


    /* FOOTER */

    footer {
      min-height: 100vh;
      background-color: #FFFFFF;
    }

    footer address {
      text-align: center;
      color: #000000;
      font-style: normal;
      font-weight: bold;
      padding: 30px 0 25px;
      font-size: clamp(0.9rem, 1vw + 0.8rem, 1.8rem);
    }

    section.opening-hours {
      color: #000000;
      text-align: center;
      font-size: clamp(0.7rem, 1vw + 0.6rem, 1.4rem);
      margin: 30px auto 0;
    }

    section.opening-hours ul {
      list-style-type: none;
      margin: 10px auto 0;  
      padding: 0;
    }

    section.opening-hours li { margin: 10px 0;}

    .footer-content {
      max-width: 1600px;
      margin: 70px auto 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      align-content: end;
    }

    .footer-item {
      text-align: center;
      color:#000;
      background-color: var(--highlight);
      border-radius: var(--radius);
    }

    .footer-icon {
      width: 100px;
      height: 100px;
      background-color: #000000;
      background-image: url('../images/contacts-set.jpg');
      background-size: 1400%;
      border-radius: 50px;
      margin: -25px auto 10px;
      box-shadow: 0px 0px 10px #555;
      transform: scale(0.7);
    }

    .footer-icon.person { background-position: -71px -69px; }
    .footer-icon.phone { background-position: -237px -67px; }
    .footer-icon.mail { background-position: -72px -214px; }
    .footer-icon.location { background-position: -570px -65px; }

    .footer-item p {
      margin: 15px 0;
      font-size: clamp(0.3rem, 1vw + 0.8rem, 1.5rem);
    }

    .footer-subitems {
    display: flex;
    gap: 50px;
    }

    .footer-subitems > div {
      flex: 1;
      margin-top: 40px;
      min-width: 50px;
    }

.contact-section {
  display: flex; 
  gap: 20px;
  padding: 30px 0;
  flex-wrap: wrap;
}

.contact-map {
  flex: 1 1 50%;
  min-height: 300px;
  border: 1px solid gray;
}

.contact-form {
  flex: 1 1 40%;
  background: #eee;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
}

.contact-form button {
  background: #0077cc;
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #005fa3;
}
    @media (max-width: 768px) {
      .menu-toggle { display: block; font-size: 2.15rem; padding: 0; font-weight: bold; color: #ddd; cursor: pointer; }
      nav { display: none; }
      .menu-open nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 88px;
        right: 0px;
        left: 0px;
        background: rgba(0,0,0,1);
        padding: 1rem 2rem 1rem 1.5rem;
        border-radius: 3px;
        font-size: 2rem;
      }

      section button {
        padding: 0.6rem 2rem;
        font-size: 1rem;
        display: block;
        margin-left: auto;
        margin-right: auto;
      }

      section.productList { width: 100%; }

      section.navigator > div > .br_label {
      font-size: 0.8em;
      }

      section.navigator > div > .br_label > label {
        position: relative;
        top: -2px;
      }


      /* PRODUCT ITEM */
      .product-wrapper {
        flex-direction: column;
      }

      .product-wrapper .gallery, .product-wrapper .description {
        flex: 0 0 100%; 
      }

      .product-container h1.product-name {
        font-size: clamp(0.8rem, 2vw + 1rem, 2rem);
      }



      .footer-grid { padding: 10px; gap: 30px 10px }

      .footer-icon { 
        transform: scale(0.5); 
        margin: -40px auto -20px;
      }
      .footer-item p { margin: 15px 0; }
      .contact-section { display: block; }
      .contact-map { height: 300px; }
      .contact-form { margin: 30px 0 0;}
    }

    @media (max-width: 480px) {
      section.navigator {
      flex-direction: column;
      justify-content: flex-start;
      gap: 1rem;
      }

      .footer-grid { grid-template-columns: 1fr; }
    }

    @media (min-width: 1024px) {
      nav { gap: 2.5rem; }
      .container { width: 75%; }
      .hero .grid { grid-template-columns: repeat(3, 1fr); }

      .text {
      font-size: 1.2rem;
      line-height: 1.6;
      }

      .hero .cta { margin: 40px 0 20px; }
      .hero .card { padding: 24px; }
      .brand { margin: 30px auto; }

      section.columns { flex-direction: row; }
      section.columns.swapped { flex-direction: row-reverse; }
      section .column {
      flex: 0 0 50%;     
      max-width: 50%; 
      }

      .columns .corner { display: block; }
      .column.padded { padding: 0 20px; }



      ul.pricelist li { font-size: 1em; }

      .footer-grid {
        margin-top: 50px;
        grid-template-columns: repeat(4, 1fr); 
      }

      .footer-icon { transform: scale(0.8); }
      .footer-item p { font-size: clamp(0.4rem, 1vw + 1rem, 1.2rem); }
    }