/* Booking Form and Modal Styles */

.book-button {
  background-color: #f0a500;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.book-button:hover {
  background-color: #e09400;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background: white;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  margin: 50px auto;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #254653;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-group.full-width {
  grid-column: span 2;
}

.price-summary {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
  border-left: 4px solid #f0a500;
}

.price-summary p {
  margin: 5px 0;
}

.price-summary .total {
  margin: 10px 0 0 0;
  font-size: 18px;
  font-weight: bold;
  color: #254653;
}

/* Price and booking section styling */
.price-booking {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-booking h3 {
  margin: 0 0 10px 0;
  color: #254653;
}

.price-booking p.price {
  font-size: 24px;
  font-weight: bold;
  color: #f0a500;
  margin: 0;
}

.form-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.button-cart {
  flex: 1;
  padding: 12px;
  background-color: #f0a500;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-primary {
  flex: 1;
  padding: 12px;
  background-color: #254653;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-cart:hover {
  background-color: #e09500;
}

.button-primary:hover {
  background-color: #1b3540;
}

/* Cart styling */
.cart-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #254653;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #f0a500;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.cart-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.cart-item-content {
  flex-grow: 1;
}

.cart-item h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.cart-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.cart-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-buttons {
    flex-direction: column;
  }

  .book-button {
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    padding: 20px;
  }

  .cart-item img {
    width: 60px;
    height: 45px;
  }
}
