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

/* BODY */
body{
  font-family:"Playfair Display", serif;
  background: #fffbe9;
  color:#4b0c0c;
}

/* SECTION */
.section{
  padding:80px 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
}

/* CONTAINER */
.container{
  max-width: 360px;
  width:100%;
  text-align:center;
}

/* TITLE */
h2{
  font-size:34px;
  margin-bottom:8px;
  font-weight:600;
  color:#8b0000;
}

p{
  color:#5a1a1a;
  margin-bottom:35px;
  font-size:14px;
  opacity:0.8;
}

/* GRID */
.table-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-items: center;
}

/* TABLE CARD BASE */
.table-card {
  width: 110px;
  height: 110px;

  border-radius: 50%;
  text-decoration: none;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 22px;
  transition: 0.3s ease;
  cursor: pointer;
}

/* AVAILABLE */
.table-card.available {
  background: #680c0c;
  border: 1px solid #ffefa8;
  color: #fff;
}

.table-card.available:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* TAKEN  */
.table-card.taken {
  background: #0f294b;
  color: #f1ffa4;
  opacity: 0.75;
  cursor: not-allowed;
}

/*RESERVED */
.table-card.reserved {
  background: #d4af37;
  color: #4b0c0c;
}


/* STATUS */
.status {
  font-size: 12px;
  margin-top: 5px;
}

/* AVAILABLE TEXT */
.status.green {
  color: #ffffff;
}

/* TAKEN TEXT */
.status.red {
  color: #ffffff;
}
.status.yellow {
  color: #4b0c0c;
}


/* TAKEOUT BUTTON */
.table-card.takeout {
  grid-column: span 2;

  width: 100%;
  max-width: 260px;
  margin-top: 10px;

  border-radius: 16px;
  height: auto;

  padding: 16px;

  background: #d4af37;
  color: #4b0c0c;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* TAKEOUT HOVER */
.table-card.takeout:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}