body {
  font-family: Arial, sans-serif;
  background: #111;
  color: #eee;
  margin: 0;
  padding: 0;
}

header {
  padding: 20px;
  background: #1a1a1a;
  border-bottom: 1px solid #333;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
}

.subline {
  color: #bbb;
  margin: 0.5rem 0 1rem;
}

.tagline {
  color: #ffcc66;
  font-style: italic;
  margin-top: 1rem;
}

.image-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.image-strip img {
  height: 80px;
  border-radius: 6px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 1rem 0;
}

.buttons button {
  background-color: #222;
  color: #eee;
  border: 1px solid #444;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  background-color: #181818;
  padding: 10px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.tab {
  background: none;
  border: none;
  color: #bbb;
  font-size: 1rem;
  cursor: pointer;
}

.tab.active {
  color: white;
  border-bottom: 2px solid yellow;
}

.tab:hover {
  color: #facc15;
  text-shadow: 0 0 4px #facc15;
}

.tab-content {
  display: none;
  padding: 20px;
  transition: opacity 0.2s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* Overview stars & bars */
.review-summary h3 {
  margin-bottom: 1rem;
}

.review-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.stars {
  color: gold;
  min-width: 70px;
  font-size: 1.1rem;
}

.review-bar {
  height: 10px;
  background-color: #facc15;
  border-radius: 5px;
  flex-grow: 1;
  max-width: 300px;
}

.note {
  color: #999;
  font-style: italic;
  margin-top: 1rem;
}

/* Review form */
#reviewForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
  max-width: 400px;
}

#reviewForm input,
#reviewForm textarea {
  padding: 10px;
  background: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 5px;
}

#reviewForm button {
  background: #facc15;
  border: none;
  padding: 10px;
  color: #111;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* Review list */
#reviewList {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-item {
  background: #1a1a1a;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  animation: fadeInUp 0.3s ease-in-out;
}

.review-item h4 {
  margin: 0 0 5px;
  color: #facc15;
}

.review-item .stars {
  font-size: 1.1rem;
  color: gold;
}

.review-item p {
  margin: 0.5rem 0 0;
}

/* Photos */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.photo-gallery img {
  width: 250px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 5px #000;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.photo-gallery img:hover {
  transform: scale(1.03);
}

/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  position: relative;
}

.modal-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

.modal-content .close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #facc15;
  color: #111;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50%;
  cursor: pointer;
}

/* Star Rating */
#ratingStars {
  display: flex;
  gap: 5px;
  cursor: pointer;
}

#ratingStars .star {
  font-size: 1.5rem;
  color: #555;
  transition: color 0.2s;
}

#ratingStars .star.filled {
  color: gold;
}

#ratingStars .star:hover,
#ratingStars .star:hover ~ .star {
  color: #888;
}

/* Select Dropdowns */
select,
#filter-reviews,
#overview-filter {
  background: #222;
  color: #eee;
  border: 1px solid #444;
  padding: 6px 10px;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Load More Buttons */
#loadMoreBtn,
#overviewLoadMoreBtn {
  background: #222;
  color: #facc15;
  border: 1px solid #444;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s;
  margin: 1rem auto 0;
  display: block;
}

#loadMoreBtn:hover,
#overviewLoadMoreBtn:hover {
  background: #333;
  transform: scale(1.03);
  box-shadow: 0 0 10px #facc15;
}

#loadMoreBtn:active,
#overviewLoadMoreBtn:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* File Upload */
input[type="file"] {
  display: inline-block;
  padding: 10px;
  background: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  width: fit-content;
  max-width: 100%;
  transition: background 0.2s, box-shadow 0.2s;
}

input[type="file"]::file-selector-button {
  background-color: #facc15;
  color: #111;
  border: none;
  padding: 8px 14px;
  margin-right: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
  background-color: #ffe066;
  box-shadow: 0 0 5px #facc15;
}



/* Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  .image-strip img,
  .photo-gallery img,
  #photo-gallery img {
    width: 100px;
    height: auto;
  }

  #reviewForm,
  .buttons,
  .tabs {
    flex-direction: column;
    align-items: center;
  }

  .buttons button {
    width: 90%;
  }

  #reviewList,
  .overview-reviews {
    gap: 5px;
  }
}


/* Like Button */
.like-button {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background-color: #222;
  border: 1px solid #444;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  color: #ccc;
}

.like-button:hover {
  background-color: #333;
  transform: scale(1.05);
}

.like-button.liked {
  color: #facc15;
  font-weight: bold;
  box-shadow: 0 0 6px #facc15;
}

.like-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

