/* Root variables for colors */
:root {
    --primary-color: #6d59a1;     /* Lavender/Purple */
    --secondary-color: #f6e6c2;   /* Pastel Gold */
    --text-color: #333333;        /* Dark text for readability */
    --light-bg: #faf5ff;          /* Soft background */
    --white: #ffffff;
    --button-hover: #54407a;
}

/* Global base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    padding: 0.5rem 1rem;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

main {
    padding-top: 0;
}

footer {
    background-color: var(--white);
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color);
    border-top: 1px solid #e5e5e5;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-image: url('../images/hero_background.png');
  background-size: cover;
  background-position: 50% 40%; /* nudge the light arc behind the heading */
  position: relative;

  color: var(--white);
  text-align: center;

  /* Scale vertical padding with viewport height, but cap it */
  padding-inline: 1.5rem;
  padding-block: clamp(2.5rem, 6vh, 4rem);

  /* Remove fixed height so it can shrink on large monitors */
  min-height: unset;
}

/* On very large screens, keep it from getting tall */
@media (min-width: 1200px) {
  .hero {
    max-height: 520px;    /* hard cap */
    overflow: hidden;     /* neat crop of the background */
  }
}

/* Tighten internal spacing (these often add extra height) */
.hero h1 { margin-bottom: 0.75rem; }
.hero p  { margin-bottom: 1.25rem; }



.hero::after {
    /* Overlay to improve text contrast */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--button-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Section styling */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.about-section {
    background-color: var(--white);
    color: var(--text-color);
}

.about-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
}

/* Form styling */
.form-section {
    background-color: var(--white);
    color: var(--text-color);
}

.form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(109, 89, 161, 0.2);
}

button[type="submit"] {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--button-hover);
}

/* Thank you section */
.thank-you-section {
    background-color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
}

.thank-you-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Bookings table */
.bookings-section {
    background-color: var(--white);
    color: var(--text-color);
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.bookings-table th,
.bookings-table td {
    border: 1px solid #e0e0e0;
    padding: 0.5rem;
    text-align: left;
}

.bookings-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.bookings-table tr:nth-child(even) {
    background-color: #f9f5ff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .bookings-table th,
    .bookings-table td {
        font-size: 0.8rem;
    }
}

/* ================================
   Slot-based Booking UI (add-on)
   ================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
}
.form-row label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.5rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(109, 89, 161, 0.2);
}

.alert {
  background: #fff4e5;
  border: 1px solid #ffd6a8;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.date-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin: 0.25rem 0 0.75rem;
}
.date-btn {
  border: 1px solid #e6e0f2;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  min-width: 9rem;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.date-btn .weekday {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.1;
}
.date-btn .date {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.9;
}
.date-btn:hover {
  border-color: var(--primary-color);
}
.date-btn.active {
  background: var(--secondary-color);
  border-color: var(--primary-color);
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.slot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e6e0f2;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.slot input[type="radio"] {
  appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slot:has(input[type="radio"]:checked) {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}
.slot input[type="radio"]:focus-visible + span {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
.slot.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.slot-picker h3 {
  margin: 0.75rem 0 0.25rem;
  color: var(--primary-color);
}

.form-actions {
  margin-top: 0.75rem;
}
select {
  padding: 0.5rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
}
/* ======================================
   About Page Hero Banner
   ====================================== */

.hero-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image: url('../images/hero_background.png');
    background-size: cover;
    background-position: 50% 40%; /* nudge the light arc behind the heading */
    position: relative;

    color: var(--white);
    text-align: center;

    /* Scale vertical padding with viewport height, but cap it */
    padding-inline: 1.5rem;
    padding-block: clamp(2.5rem, 6vh, 4rem);

    /* Remove fixed height so it can shrink on large monitors */
    min-height: unset;
}

/* On very large screens, keep it from getting tall */
@media (min-width: 1200px) {
  .hero {
    max-height: 520px;    /* hard cap */
    overflow: hidden;     /* neat crop of the background */
  }
}

/* Tighten internal spacing (these often add extra height) */
.hero h1 { margin-bottom: 0.75rem; }
.hero p  { margin-bottom: 1.25rem; }

.hero-about::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width:100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* lighter overlay */
  z-index: 1;;
}


.hero-about .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-about h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero-about p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-about {
    height: 40vh;
    padding: 2rem 1rem;
  }

  .hero-about h1 {
    font-size: 2rem;
  }

  .hero-about p {
    font-size: 1rem;
  }
}
/* ======================================
   About Page Profile Section
   ====================================== */

.about-profile {
  background-color: var(--white);
  color: var(--text-color);
  padding: 4rem 1rem;
}

.profile-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.profile-photo {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(109, 89, 161, 0.2);
  border: 4px solid var(--primary-color);
}

.profile-text {
  flex: 1;
  min-width: 250px;
}

.profile-text h2 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.profile-text h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.profile-text p {
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    width: 200px;
    height: 200px;
  }
}

