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

body {
  padding-left: 20px;
  padding-right: 20px;
  background-color: #ffffff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;

  padding-top: 120px; /* for fixed header */
}



h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

/* ──────────────────────────────────────────────────────────────
   HEADER & SIDEBAR
────────────────────────────────────────────────────────────── */
header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1002;
}

.header-content {
    /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo img {
  height: 70px;
  width: auto;
}

.hamburger {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1003;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  height: 100vh;
  width: 200px;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sidebar.active {
  right: 0;
}
.sidebar ul {
  list-style: none;
  text-align: left;
  padding: 20px;
}
.sidebar li {
  margin: 1rem 0;
}
.sidebar a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}
.sidebar a:hover {
  color: #666;
}

/* ──────────────────────────────────────────────────────────────
   GENERAL CARDS LAYOUT
────────────────────────────────────────────────────────────── */
.cards-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}



.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* top row: title, times, buttons */
.card-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.card-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.3;
}

.card-actions {
  display: flex;
  gap: 10px;
}
.card-actions button {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 2px;
}
.card-actions .info-button {
  background-color: #f5f5f5;
  border: 1px solid #999;
}
.card-actions .info-button:hover {
  background-color: #e0e0e0;
}
.card-actions .book-button {
  background-color: #000;
  color: #fff;
  border: none;
}
.card-actions .book-button:hover {
  background-color: #333;
}

.welcome-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  box-sizing: unset;
  text-align: center;
}


.why-button {
  background: none;
  border: none;
  color: #c74e59;
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}






/* hidden sliding panel */
.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.0s ease, padding 0.0s ease;
  background-color: #fafafa;
  color: #555;
  font-size: 14px;
  line-height: 1.4;
  padding: 0 20px;
}
.card.open .card-details {
  max-height: 500px;     /* adjust if your text is longer */
  padding: 15px 20px;
}


/* special section header */
.special-header {
  font-size: 20px;
  font-weight: bold;
  color: #c74e59;
  margin: 40px 0 20px;
  text-align: center;
}


/* Footer */
.site-footer {
  margin-left: -20px;
  margin-right: -20px;
  margin-top: auto;
  align-self: stretch; 
  bottom: 0;
  left: 0;
  width: calc(100% + 40px);
  background-color: #f1f1f1;
  font-size: 0.8rem;
  padding: 1vh;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
  z-index: 100;
}
.footer-inner {
  display: flex;
  flex-direction: unset;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-left,
.footer-right {
  flex: 1 1 150px;
  margin: 0.25rem;
}
.footer-left p,
.footer-right p {
  margin: 0.15em 0;
  line-height: 1.3;
}
.footer-name {
  font-weight: bold;
  margin-bottom: 0.2em;
}
.footer-left a {
  color: inherit;
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.3em;
}
.footer-nav a {
  text-decoration: none;
  white-space: nowrap;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.7rem;
  color: #888;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: unset;
    align-items: flex-start;
  }
  .footer-right {
    margin-top: 0.5rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 0.25rem;
  }
}



/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .card-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-actions {
    margin-top: 10px;
    align-self: flex-end;
  }
}


.modal {
  display: none; /* hide it by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-content button {
  padding: 10px 20px;
  border: none;
  background-color: #c84e5a;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #cf4250;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.error-message {
  color: red;
  margin-top: 5px;
  font-size: 14px;
  min-height: 20px;
}
