body { padding-top: 70px; }

section { padding: 80px 0; }

.hero {
  height: 30vw;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('/images/hero_small.jpg') center/cover no-repeat;
  background-color: #333;
  text-align: center;
  color: white;
}

/* larger screens → load large image */
@media (min-width: 768px) {
  .hero {
    background:
      linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
      url('/images/hero.jpg') center/cover no-repeat;
  }
}

/* Add a bit of contrast around the hero text */
.hero h1,
.hero p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.calendar-table td {
  height: 70px;              /* smaller cells */
  width: 14.28%;             /* equal column width */
  position: relative;
  background: #fff;
  vertical-align: middle;
  text-align: center;
  padding: 0;                /* remove default spacing */
}

.calendar-table th {
  background: #f8f9fa;
  font-weight: 500;
  padding: 6px;
}
.calendar-cell {
  position: relative;
  overflow: hidden;
}

.calendar-cell.reserved {
  background: #0d6efd;
  color: white;
}

/* center day number perfectly */
.day-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* triangles */

.triangle-start {
  position: absolute;
  inset: 0;
  background: #0d6efd;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.triangle-end {
  position: absolute;
  inset: 0;
  background: #0d6efd;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.calendar-cell.today {
  border: 2px solid red;
}

.legend-box {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.legend-box.reserved {
  background: #0d6efd;
  border: none;
}

.legend-box.today {
  background: transparent;
  border: 2px solid red;
}