* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Roboto', sans-serif;
    background-color: #fdfaf6;
    color: #222;
    line-height: 1.6;
  }
  
  /* === HERO SEKCIA === */
  header {
    background: url('../img/furniture-microcement-table.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
  }
  
  header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
  }
  
  header p {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }
  
  .btn-primary {
    background-color: #b36940;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .btn-primary:hover {
    background-color: #8d4f2d;
  }
  
  /* === OBSAHOVÉ SEKCIe === */
  section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: auto;
  }
  
  h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  
  p.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
  }
  
  /* === SLIDER KOMPONENT === */
  .slider-wrapper {
    overflow: hidden;
    position: relative;
  }
  
  .subcat-card{   
     display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;}
  .slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
  }
  
  .slider::-webkit-scrollbar {
    display: none;
  }
  

  
 
  .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .card-content p {
    font-size: 1rem;
    color: #555;
  }
  
  /* === TLAČIDLÁ SLIDERA === */
  .slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
  }
  
  .slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
  }
  
  .slider::-webkit-scrollbar {
    display: none;
  }
  
.card {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-image {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 450px;
  transition: transform 0.3s ease;
}

.card-image:hover {
  transform: scale(1.02);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  width: 100%;
  padding: 30px 10px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-image:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay h3 {
  margin: 0;
  font-size: 16px;
}

.card-overlay p {
  margin: 5px 0 0;
  font-size: 13px;
}

  
  .card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
  }
  
  .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .card-content p {
    font-size: 0.95rem;
    color: #555;
  }
  
  /* sipky */
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    padding: 12px 18px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }
  
  .slider-arrow:hover {
    background-color: #b36940;
    color: #fff;
  }
  
  .slider-arrow.left {
    left: 10px;
  }
  
  .slider-arrow.right {
    right: 10px;
  }
  
  @media (max-width: 600px) {
    .card {
      width: 280px;
    }
  
    .slider-arrow {
      padding: 10px 14px;
      font-size: 1.2rem;
    }
  }
  
/*subkategoire*/

.card-sub {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.card-sub img {
  width: 100%;
  display: block;
}


.card-sub .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7); /* tmavý priehľadný podklad */
  color: white;
  padding: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.card-sub:hover .card-content {
  opacity: 1;
  transform: translateY(0);
}

  /*kontakt*/

  .contact-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
      border-radius: 16px;

    background-color: #fff;
  }
  
  .contact-left {
    flex: 1 1 500px;
    padding: 60px;
    background-color: #fff;
    color: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .contact-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  
  .contact-left p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 500px;
  }
  
  .contact-left a {
    color: #b36940;
    text-decoration: underline;
  }
  
  .contact-left form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
  }
  
  .contact-left input,
  .contact-left textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    width: 100%;
  }
  
  .contact-left button {
    padding: 12px;
    background-color: #b36940;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .contact-left button:hover {
    background-color: #8d4f2d;
  }
  
  .contact-right {
    flex: 1 1 500px;
    background: url('../img/IMG-20250512-WA0001.jpg') no-repeat center center/cover;
    min-height: 400px;
  }
  
  /* RESPONSÍVNE */
  @media (max-width: 768px) {
    .contact-section {
      flex-direction: column;
    }
  
    .contact-left,
    .contact-right {
      flex: 1 1 100%;
      padding: 30px;
    }
  
    .contact-right {
      min-height: 300px;
    }
  }
  


  /*questions*/
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    background-color: #777;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .faq-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .faq-item.open .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
  }
  
  .faq-item.open .faq-icon {
    transform: rotate(45deg);
  }
  

/* footers */

.footer {
  background-color: #2e1a0d;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-col select,
.footer-col input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  border: none;
  border-radius: 4px;
}

.footer-col button {
  margin-top: 10px;
  background-color: #fff;
  color: #2e1a0d;
  border: none;
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
}

.footer-col .checkbox {
  font-size: 12px;
  margin-top: 10px;
  display: block;
}

.footer-col .checkbox input {
  margin-right: 5px;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

.footer-brand {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #fff;
}



/* colection */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px;
}

.product-card {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  background-color: white;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.product-card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
}

.product-card p {
  font-weight: bold;
  color: #333;
}

.product-card a {
  display: inline-block;
  margin-top: 10px;
  color: white;
  background-color: #a65e39;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
}

/* top proccts section */
.top-product-section {
  background-color: #fdfaf6;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.top-product-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background-color: #fff;
}

.top-product-image {
  flex: 1 1 50%;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.top-product-content {
  flex: 1 1 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-product-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 20px;
}

.top-product-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.top-product-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.top-product-content ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.btn-primary {
  display: inline-block;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #555;
}


/* ---------------------------*/
/*about us section */
.about-block {
  margin: 80px auto;
  max-width: 1300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.12);
}

.about-image {
  height: 400px;
  background-image: url("../img/IMG-20250512-WA0003.jpg");
  background-size: cover;
  background-position: center;
}

.about-text {
  background-color: #fff;
  padding: 40px;
  text-align: center;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}



/*------------------------*/