/* ---------------- Reset & Basics ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  background-color: #F2F2F2; /* light grey background */
  color: #4B4B4B; /* dark grey text */
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
}

/* ---------------- Header / Navbar ---------------- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #008080; /* teal header */
  color: white;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

#nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

#nav-menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#nav-menu ul li a:hover,
#nav-menu ul li a.active {
  color: #ffe082; /* gold hover to match other pages */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* ---------------- Main Content ---------------- */
main {
  flex: 1; /* Ensures footer stays at bottom */
  margin-top: 70px; /* Offset for fixed header */
}

/* ---------------- Hero Section ---------------- */
.hero {
  background: linear-gradient(to right, #008080, #00bfa5); /* teal to lighter teal gradient */
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
  background: rgba(0, 0, 0, 0.15); /* subtle overlay, lighter for consistency */
  padding: 30px;
  border-radius: 15px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
}

/* ---------------- Section Defaults ---------------- */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  color: #008080; /* teal headings */
  margin-bottom: 20px;
}

/* ---------------- Footer ---------------- */
footer {
  background: #008080; /* teal footer */
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* ---------------- Calendar Styling ---------------- */
#calendar {
  max-width: 600px;
  margin: 20px auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
  display: block;           
  background: #ffffff;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fc .fc-toolbar-title {
  font-size: 1.4rem;
  color: #008080; /* teal title */
  text-align: center;
  display: block;
  margin: 0 auto;
}

.fc-daygrid-day.fc-day-today {
  background-color: #E0F2F1 !important; /* light teal for today */
}

.fc-day-disabled {
  background-color: #F5F5F5 !important; /* light grey */
  color: #B1B1B1 !important;
  cursor: not-allowed !important;
}

.fc-day-booked {
  background-color: #FFE0E0 !important;
  color: #BB2727 !important;
  font-weight: bold;
}

.fc button {
  background-color: #008080; /* teal buttons */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.fc button:hover {
  background-color: #004d4d; /* darker teal on hover */
}

/* ---------------- Appointment Form ---------------- */
#appointment-form {
  text-align: center;
  padding: 40px 20px;
  margin-top: -1in; /* move up ~1 inch */
}

#appointment-form h2 {
  color: #008080;
  margin-bottom: 20px;
}

#appointment-form form#appointmentForm {
  max-width: 350px;
  margin: -10px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#appointment-form form#appointmentForm label {
  font-size: 0.9rem;
  color: #4B4B4B; /* dark grey labels */
}

#appointment-form form#appointmentForm input,
#appointment-form form#appointmentForm textarea,
#appointment-form form#appointmentForm select {
  padding: 8px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

#appointment-form form#appointmentForm textarea {
  min-height: 40px;
  resize: vertical;
}

#appointment-form form#appointmentForm button.submit-btn {
  padding: 10px;
  font-size: 0.95rem;
  background: linear-gradient(to right, #008080, #00bfa5); /* teal gradient matching site */
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#appointment-form form#appointmentForm button.submit-btn:hover {
  background: linear-gradient(to right, #004d4d, #009688); /* darker teal hover */
}

/* ---------------- Contact Info ---------------- */
.contact-info {
  text-align: center;
  padding: 50px 20px;
}

.contact-info a {
  color: #008080;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  color: #004d4d; /* darker teal hover */
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  #nav-menu {
    display: none;
    flex-direction: column;
    background: #008080;
    width: 100%;
    padding: 10px 0;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 45vh;
  }

  #calendar,
  form#appointmentForm {
    max-width: 90%;
  }
}