/* === Reset and Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.4s ease, color 0.4s ease;
}


img {
  image-rendering: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Light Mode Colors === */
:root {
  --bg: #f4f3ff;
  --text: #2a2a2a;
  --accent: #fb923c;
  --primary: #7e7dfc;
  --secondary: #45a3ff;
  --highlight: #60e9e5;
  --hero-text: #1f1f1f;
  --menu-bg: rgba(255, 255, 255, 0.95);
  --menu-text: #1f1f1f;
}

/* === Dark Mode Colors === */
html.dark {
  --bg: #120e20;
  --text: #e4e1f7;
  --accent: #fb923c;
  --primary: #6b5afc;
  --secondary: #359eff;
  --highlight: #34d6cf;
  --hero-text: #ffffff;
  --menu-bg: rgba(0, 0, 0, 0.85);
  --menu-text: #ffffff;
}

/* === Hero Header === */
.hero-header {
  position: relative;
  height: 480px;
  overflow: hidden;
  color: var(--hero-text);
  background-color: #1a1a1a;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.hero-img-light {
  background-image: url('/images/hero-graphic-lm.png');
}

.hero-img-dark {
  background-image: url('/images/hero-graphic-dm.png');
}

html:not(.dark) .hero-img-light {
  opacity: 1;
}

html.dark .hero-img-dark {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 2rem;
}

/* === Top Bar Layout === */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  min-width: 120px;
}

.logo-img {
  height: 32px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hero-text);
  line-height: 1;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
}

.main-nav a {
  color: var(--hero-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  min-width: 120px;
}

.hamburger {
  display: none;
  background: none;
  color: var(--hero-text);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin: 0;
}

/* === Hero Text === */
.center-text {
  text-align: center;
  margin-top: 3rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--hero-text);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: #f97316;
  box-shadow: 0 4px 15px rgba(251, 146, 60, 0.4);
}

.hero-text-overlay {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
  width: 100%;
  max-width: 960px;
  padding: 0 1rem;
}


/* === Category Layout === */
.categories {
  padding: 3rem 2rem;
}

.category-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category {
  text-align: center;
  flex: 1;
  min-width: 280px;
}

.category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.circle-group.overlap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.circle-group.overlap .circle-img {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.circle-group.overlap .circle-img:nth-child(1) {
  top: 0;
  left: 0;
}

.circle-group.overlap .circle-img:nth-child(2) {
  top: 0;
  right: 0;
}

.circle-group.overlap .circle-img:nth-child(3) {
  bottom: 0;
  left: 0;
}

.circle-group.overlap .circle-img:nth-child(4) {
  bottom: 0;
  right: 0;
}

.circle-img:hover {
  transform: scale(1.05);
  z-index: 1;
}

/* === Footer === */
footer {
  background-color: var(--primary);
  color: var(--text);
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  font-size: 0.9rem;
  margin-top: 4rem;
}


/* === Mobile === */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .header-left {
    flex: 1;
    justify-content: flex-start;
  }

  .header-right {
    flex: 1;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--menu-bg);
    color: var(--menu-text);
    position: absolute;
    top: 80px;
    right: 1rem;
    padding: 1rem;
    border-radius: 10px;
    z-index: 999;
  }

  .main-nav a {
    color: var(--menu-text);
  }

  .main-nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .circle-img {
    width: 90px;
    height: 90px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .circle-group.overlap {
    width: 200px;
    height: 200px;
  }

  .circle-group.overlap .circle-img {
    width: 90px;
    height: 90px;
  }
} 


/* === Stacked Carousel Style === */
.glide__slide {
  transform: scale(0.85);
  opacity: 0.5;
  transition: all 0.4s ease;
  filter: blur(1px);
  z-index: 0;
}

.glide__slide--active {
  transform: scale(1);
  opacity: 1;
  filter: none;
  z-index: 2;
}

.glide__slides {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
}

.glide__slide img.framed {
  border: 6px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  max-height: 400px;
  width: auto;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .glide__slides {
    justify-content: center;
  }

  .glide__slide {
    margin: 0 auto;
    text-align: center;
  }

  .glide__slide img.framed {
    display: block;
    margin: 0 auto;
    max-height: 250px;
  }
}

.glide__slide.glide__slide--active img.framed {
  opacity: 1 !important;
  transform: scale(1.05);
  z-index: 2;
}

.glide__slide img.framed {
  opacity: 0.3;
  transition: opacity 0.4s ease, transform 0.4s ease;
}


/* === Pricing Card Style === */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: -2rem auto;
  padding: 0 1.5rem;
}

.tier-card {
  background: var(--menu-bg);
  color: var(--menu-text);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex: 1 1 260px;
  max-width: 300px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tier-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.tier-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tier-card .price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--text);
}

.tier-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.tier-card .disclaimer {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 1rem;
}


/* === Theme-aware Variables === */
:root {
  --bg: #f4f3ff;
  --text: #2a2a2a;
  --accent: #fb923c;
  --primary: #7e7dfc;
  --secondary: #45a3ff;
  --highlight: #60e9e5;

  --card-bg: #ffffff;
  --card-text: #1e1e1e;
}

html.dark {
  --bg: #120e20;
  --text: #e4e1f7;
  --accent: #fb923c;
  --primary: #6b5afc;
  --secondary: #359eff;
  --highlight: #34d6cf;

  --card-bg: #0c0c1b;
  --card-text: var(--text);
}

/* === Ensure footer sticks to bottom === */
html, body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
	
}

main {
  flex: 1;
}

/* === Pricing Gradient Background === */
.pricing-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  position: relative;
  z-index: 1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Cards Overlapping Hero === */
.overlap-hero {
  margin-top: -60px;
  padding-bottom: 6rem;
  position: relative;
  z-index: 10;
}

/* === Modern Tier Cards === */
.modern-tier {
  background-color: var(--card-bg);
  color: var(--card-text);
  border: 2px solid var(--accent); /* Orange border */
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  min-height: 300px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.tier-icon.dark-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: -3.5rem auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* === Modal Fix === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--bg);
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid var(--accent);
  border-radius: 1rem;
  max-width: 500px;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.close {
  color: var(--text);
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.book-now-btn {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.book-now-btn:hover {
  background-color: #f97316;
}

.modern-tier h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modern-tier .price {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.modern-tier .price span {
  font-size: 1rem;
  font-weight: normal;
  color: inherit;
}

/* === Page Layout Wrapper === */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === Booking Form Container === */
.form-container {
  display: flex;
  flex: 1;
  background-color: var(--bg);
  align-items: stretch;
  min-height: calc(100vh - 160px);
}

/* === Left Side (Hero Section) === */
.form-left {
  width: 42%;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  color: white;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.form-left-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-tagline {
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: center;
  color: white;
  max-width: 280px;
}

/* === Right Side (Form Section) === */
.form-right {
  width: 58%;
  padding: 5rem 4rem;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-right h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: left;
}

.form-right p {
  max-width: 460px;
  margin-bottom: 2rem;
  color: var(--text);
  font-size: 1rem;
}

/* === Booking Form Styles === */
.booking-form {
  max-width: 480px;
  width: 100%;
  margin: 0;
}

.booking-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
  color: var(--text);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: var(--card-bg);
  color: var(--text);
  transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.booking-form textarea {
  resize: vertical;
  font-family: inherit;
}

.booking-form textarea::placeholder {
  color: #888;
  opacity: 1;
  font-family: inherit;
}

.booking-form button {
  display: block;
  margin-top: 2rem;
  background-color: var(--accent);
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-form button:hover {
  background-color: #f97316;
  box-shadow: 0 4px 15px rgba(251, 146, 60, 0.4);
}

/* === Dark mode calendar fix === */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0);
  background-color: transparent;
  appearance: none;
}

html.dark input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2) contrast(1.2);
  background-color: transparent;
  appearance: none;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }

  .form-left,
  .form-right {
    width: 100%;
    padding: 2rem 1.5rem;
    position: static;
  }

  .form-right h2 {
    text-align: center;
  }

  .booking-form {
    max-width: 100%;
  }

  .form-left {
    text-align: center;
  }

  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .logo-img {
    height: 22px;
  }

  .brand-name {
    font-size: 1rem;
    font-weight: 700;
  }

  .header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
  }

  .hamburger {
    display: block;
    font-size: 1.1rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.25rem;
    padding: 0.75rem 0;
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    margin: 0.35rem 0;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
  }
}

/* === Top Bar Header === */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background-color: var(--nav-bg);
  position: relative;
  z-index: 10;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 32px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  margin: 0 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

.main-nav a.active {
  font-weight: 700;
  color: var(--primary);
}

.main-nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.form-container {
  display: flex;
  flex: 1;
  align-items: stretch;
}


/* === Top Bar Header === */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background-color: var(--nav-bg);
  position: relative;
  z-index: 10;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 32px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  margin: 0 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

.main-nav a.active {
  font-weight: 700;
  color: var(--primary);
}

.main-nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.form-container {
  display: flex;
  flex: 1;
  align-items: stretch;
}


/* === Responsive Header Fixes for Mobile === */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 1.3rem;
    font-weight: 700;
  }

  .header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }

  .hamburger {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    margin-top: 0.25rem;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    margin: 0.5rem 0;
  }
}

/* === Custom Left Graphic for Booking Page === */
.form-left .custom-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-graphic {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .left-graphic {
    max-height: 300px;
    margin-bottom: 2rem;
  }
}

