﻿body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #F5F5DC;
  color: #004d3c;
}

/* LAYOUT GENERAL */
.container {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  justify-content: center;
  gap: 40px;
}

.left {
  max-width: 600px;
  flex: 1;
}

.right {
  flex: 1;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.6); /* sau #fffde6 */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* IMAGINE PRINCIPALĂ CU TRANZIȚIE */
.slider-wrapper {
  position: relative;
}

#mainImage {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* SĂGEȚI */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #004d3c;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 1;
  border-radius: 5px;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* THUMBNAILS */
.thumbnails {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}

.thumbnails img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: opacity 0.3s ease;
}

.thumbnails img.active {
  border-color: #004d3c;
  opacity: 1;
}

.thumbnails img:hover {
  opacity: 0.8;
}

/* TEXT & BUTOANE */
.right h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.right p {
  font-size: 24px;
  line-height: 1.6;
}


 .price-box {
  background-color: #F5F5DC; /* galben cald, mai elegant */
  padding: 15px 20px;
  margin-bottom: 20px;
  border-left: 5px solid #004d3c;
  font-weight: bold;
  color: #004d3c;
  font-size: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.optional-price {
  color: #cc0000;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

.description h4 {
  margin-top: 20px;
  color: #004d3c;
}

.description p,
.description ul,
.description ol {
  font-size: 18px;
  line-height: 1.6;
  color: #00382d;
}

.attention {
  color: red;
  font-weight: bold;
}

.price-buttons,
.action-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.price-buttons button,
.action-buttons button {
  background-color: #00724f;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

.action-buttons button:last-child {
  background-color: #ffd700;
  color: #004d3c;
}

/* MOBILE OPTIMIZATION */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
  }

  .left,
  .right {
    max-width: 100%;
  }

  #mainImage {
    height: 250px;
    border-radius: 8px;
  }

  .thumbnails {
    flex-wrap: wrap;
    justify-content: center;
  }

  .thumbnails img {
    width: 22%;
    height: 60px;
  }

  .arrow {
    font-size: 20px;
    padding: 8px;
  }

  .arrow.left {
    left: 5px;
  }

  .arrow.right {
    right: 5px;
  }

  .right h2 {
    font-size: 24px;
    text-align: center;
  }

  .price-box {
    font-size: 18px;
    text-align: center;
  }

  .description h4 {
    font-size: 18px;
  }

  .description p,
  .description ul,
  .description ol {
    font-size: 14px;
  }

  .price-buttons,
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .price-buttons button,
  .action-buttons button {
    width: 100%;
    max-width: 280px;
    padding: 12px;
    font-size: 15px;
  }
}



