*[hidden] {
  display: none !important;
}

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


.cta__grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 1.5rem;
}
header {
  background-color: #003459;
  color: #fff;
  padding: 2.5rem 1.5rem;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.header__logo {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header__logo .notice {
  margin: 0;
  background-color: rgba(0, 0, 0, 0.55);
  color: #f5fbff;
  border-color: rgba(245, 251, 255, 0.35);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.3;
}

.header__copy {
  display: grid;
  gap: 0.75rem;
}

.header__copy h1 {
  margin: 0;
  font-size: 2.2rem;
}

.header__copy p {
  margin: 0;
  font-size: 1.05rem;
  max-width: 420px;
}

.calendar {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #003459 0%, #005da0 100%);
  color: #f5fbff;
  box-shadow: 0 10px 30px rgba(0, 52, 89, 0.35);
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar__title {
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.calendar__nav {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.calendar__nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar__nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}

.calendar__weekdays {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.calendar__cell {
  position: relative;
  padding: 0.75rem;
  min-height: 80px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.calendar__cell--empty {
  background: transparent;
  box-shadow: none;
}

.calendar__cell--booked {
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.calendar__date {
  font-size: 1.1rem;
  font-weight: 600;
}

.calendar__status {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.calendar__legend {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.calendar__focus {
  margin-top: 1.5rem;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}

.calendar__focus-content {
  max-width: 360px;
  display: grid;
  gap: 1rem;
}

.calendar__focus-content h4 {
  margin: 0;
  font-size: 1.5rem;
}

.calendar__focus-back {
  justify-self: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.calendar__focus-back:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.calendar--focused .calendar__legend {
  display: none;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero--unavailable {
  border: 1px dashed rgba(255, 255, 255, 0.6);
  padding: 1rem;
}

.cta__form {
  flex: 1 1 320px;
  min-width: 280px;
}

@media (max-width: 700px) {
  .header__inner {
    flex-direction: column;
    text-align: center;
  }

  .header__copy {
    text-align: center;
  }

  .header__copy p {
    max-width: none;
  }

  .cta__grid {
    flex-direction: column;
  }

  .hero,
  .cta__form {
    width: 100%;
  }
}

.admin {
  max-width: 420px;
  margin: 4rem auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.admin__form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin__form button {
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  border: none;
  background-color: #0066cc;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.admin__form button:hover {
  background-color: #0052a3;
}

.admin__form--secondary button {
  background-color: #f0f0f0;
  color: #222;
}

.admin__form--secondary button:hover {
  background-color: #dedede;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}
.cta {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #003459 0%, #005da0 100%);
  border: 1px solid #bcd8f8;
}

.cta button {
  background-color: #0066cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.cta button:hover {
  background-color: #0052a3;
}

form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  gap: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.cta__form select {
  background-color: #fff;
  appearance: none;
}

.notice {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  background-color: #e6f4ea;
  color: #215732;
  border: 1px solid #b6e0c1;
}

.error {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  background-color: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}
