@font-face {
  font-family: Montserrat;
  src: url(Montserrat-VariableFont_wght.ttf);
}

@font-face {
  font-family: Poppins;
  src: url(Poppins-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;  /* removes underline */
  color: inherit;         /* uses parent text color */
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat';
  overflow: hidden;
  background: #004323;
}

/* TOP HEADER */
.top-bar {
  background: #147002; 
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  color: white;
  text-align: center;
  height: 50px;
  width: 100%;
  position: relative;  /* important */
  padding-right: 20px;
  padding-top: 11px;
  font-size: 22px;
  font-weight: bold;
  z-index: 1;
}

.logo-curve {
  position: absolute;
  top: 0px;        /* lifts it above navbar */
  left: 80px;
  width: 100px;
  height: 120px;
  background: white;

  border-bottom-right-radius: 180px;
  border-bottom-left-radius: 180px;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 2;        /* makes it sit above navbar */
}
.logo-curve img {
  width: 100px;
  top: 10px;
  height: auto;
}

/* SCROLLABLE CONTENT */
.content {
  flex: 1;
  padding: 20px;
  background: #004323;
  z-index: 0;
}

.content::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("pattern3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.2; /* ← CHANGE THIS */
  z-index: -2;
}

/* BOTTOM NAV */
.bottom-nav {
  bottom: -104px;        /* pushes it slightly outside */
  left: 0;
  width: 100%;
  height: 56px;
  background: #147002;  /* light gray */
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  font-weight: bold;
}

.bottom-nav div {
  background: #438e20;
  padding: 5px 60px;
  border-radius: 20px;
  font-family: 'Poppins';
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  transition: 0.3s;
}

.bottom-nav div:hover {
  background: #e1e14c;
  transform: translateY(-3px);
}

.bottom-nav .active {
  background: #5abf2c;
  transition: 0s;
}

.bottom-nav .active:hover {
  background: #5abf2c;
  transform: translateY(0px);
}

.booking-wrapper {
  display: flex;
  gap: 30px;
  padding: 30px;
}

.booking-left {
  flex: 1;
}

.image-placeholder {
  background: linear-gradient(#cfe9ff, #b7d67a);
  border-radius: 20px;
  height: 400px;
}

.booking-right {
  flex: 2;
  background: #f2f2f2;
  border-radius: 20px;
  padding: 20px;
}

.booking-right h1 {
  color: #1b5e20;
  font-size: 40px;
  margin-bottom: 10px;
}

.taken-btn {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.calendar-box {
  background: #2e7d32;
  border-radius: 20px;
  padding: 15px;
  margin-top: 15px;
  width: 260px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.calendar-header button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  background: white;
  padding: 10px;
  border-radius: 15px;
}

.calendar-grid div {
  height: 30px;
  border: 1px solid #a5d6a7;
  cursor: pointer;
}

.calendar-grid div:hover {
  background: #c8e6c9;
}

.form-side {
  position: absolute;
  right: 40px;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-side input,
.form-side textarea {
  border: 3px solid #2e7d32;
  border-radius: 20px;
  padding: 8px 15px;
}

.form-side textarea {
  height: 100px;
  resize: none;
}

/* ============================================================================================================================================================ */

.page-transition {
  position: fixed;
  inset: 0;
  background: #0f5c2e;
  z-index: 9999;

  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

/* Cover screen */
.page-transition.active {
  transform: translateX(0);
}

/* Slide away */
.page-transition.leave {
  transform: translateX(100%);
}