/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Background image covering entire viewport */
.background-image {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/clear-wine-glass-red-table-cloth.jpg') no-repeat center center/cover;
  filter: brightness(0.7);
  z-index: -1;
  /* subtle animation */
  animation: backgroundFade 20s ease-in-out infinite alternate;
}

@keyframes backgroundFade {
  0% { filter: brightness(0.7); }
  100% { filter: brightness(0.8); }
}

/* Body and container */
body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
}

.container {
  max-width: 1100px;
  width: 100%;
  /* background-color: rgba(255, 255, 255, 0.95); */
  color:white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Heading */
.heading {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 45px;
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.12);
}

.card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  flex-wrap: wrap;
}

.hotel-info {
  max-width: 70%;
}

.hotel-name {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 10px;
}

.location,
.tables,
.timing {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 7px;
}

.tables span {
  color: #0a8d48;
  font-weight: 700;
}

/* Buttons */
.book-btn,
.booked-msg {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 140px;
  text-align: center;
  user-select: none;
  
}

.book-btn {
  background-color: #f53b57;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}

.book-btn:hover {
  background-color: #e98a99;
  box-shadow: 0 6px 20px #eaffde;
  transform: scale(1.05);
}

.booked-msg {
  background-color: #ffffff;
  color:#f53b57 ;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

/* Animation for success message */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */

@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hotel-info {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .book-btn,
  .booked-msg {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .heading {
    font-size: 2rem;
  }
  .hotel-name {
    font-size: 1.5rem;
  }
  .book-btn,
  .booked-msg {
    width: 100%;
    text-align: center;
    min-width: auto;
  }
}
