/* ThriveMeadow Stylesheet
   ========================================================================== */

/* Custom Properties (Variables)
   ========================================================================== */
:root {
  /* Colors */
  --thrivemeadow-white: #ffffff;
  --thrivemeadow-cream: #FFF2D7;
  --thrivemeadow-light-orange: #FFE0B5;
  --thrivemeadow-medium-orange: #F8C794;
  --thrivemeadow-dark-orange: #D8AE7E;
  --thrivemeadow-dark-text: #333333;
  --thrivemeadow-medium-text: #555555;
  --thrivemeadow-light-text: #777777;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-circle: 50%;

  /* Shadow */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

  /* Transition */
  --transition-short: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-long: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--thrivemeadow-dark-text);
  background-color: var(--thrivemeadow-white);
  line-height: 1.6;
}

@font-face {
  font-family: 'Montserrat';
  src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
}

@font-face {
  font-family: 'Playfair Display';
  src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--thrivemeadow-dark-text);
  line-height: 1.3;
  margin-bottom: var(--space-md);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--thrivemeadow-dark-orange);
  text-decoration: none;
  transition: color var(--transition-short);
}

a:hover {
  color: var(--thrivemeadow-medium-orange);
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium);
}

/* Container
   ========================================================================== */
.thrivemeadow-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header
   ========================================================================== */
.thrivemeadow-header {
  background-color: var(--thrivemeadow-white);
  padding: var(--space-md) 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.thrivemeadow-header .thrivemeadow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thrivemeadow-logo {
  display: flex;
  align-items: center;
}

.thrivemeadow-logo a {
  display: block;
}

/* Navigation
   ========================================================================== */
.thrivemeadow-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.thrivemeadow-nav-list li {
  margin-left: var(--space-xs);
}

.thrivemeadow-nav-list a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 15px;
}

.thrivemeadow-nav-list a:not(.thrivemeadow-button)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--thrivemeadow-dark-orange);
  transition: width var(--transition-medium);
}

.thrivemeadow-nav-list a:not(.thrivemeadow-button):hover::after {
  width: 100%;
}

.thrivemeadow-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.thrivemeadow-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--thrivemeadow-dark-orange);
  margin: 5px 0;
  transition: all var(--transition-short);
}

/* Button Styles
   ========================================================================== */
.thrivemeadow-button,
.thrivemeadow-button-large {
  display: inline-block;
  padding: var(--space-sm) var(--space-sm);
  background-color: var(--thrivemeadow-dark-orange);
  color: var(--thrivemeadow-white) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  text-align: center;
  transition: all var(--transition-short);
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.thrivemeadow-button:hover,
.thrivemeadow-button-large:hover {
  background-color: var(--thrivemeadow-medium-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.thrivemeadow-button-large {
  padding: var(--space-md) var(--space-lg);
  font-size: 1.1rem;
}

/* Hero Section
   ========================================================================== */
.thrivemeadow-hero {
  padding: var(--space-xxl) 0;
  background-color: var(--thrivemeadow-cream);
  position: relative;
  overflow: hidden;
}

.thrivemeadow-hero .thrivemeadow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.thrivemeadow-hero-content {
  flex: 1;
}

.thrivemeadow-hero-content h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.thrivemeadow-hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.thrivemeadow-hero-image {
  flex: 1;
  position: relative;
}

.thrivemeadow-hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Services Section
   ========================================================================== */
.thrivemeadow-services {
  padding: var(--space-xxl) 0;
  background-color: var(--thrivemeadow-white);
  text-align: center;
}

.thrivemeadow-section-intro {
  /* max-width: 800px; */
  /* margin: 0 auto var(--space-xl); */
  font-size: 1.2rem;
}

.thrivemeadow-service-cards {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.thrivemeadow-card {
  background-color: var(--thrivemeadow-white);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  flex: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thrivemeadow-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.thrivemeadow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--thrivemeadow-dark-orange);
}

.thrivemeadow-card-icon {
  margin-bottom: var(--space-md);
}

.thrivemeadow-card h3 {
  margin-bottom: var(--space-md);
}

.thrivemeadow-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--thrivemeadow-dark-orange);
  margin: var(--space-md) 0;
}

/* Programs Section
   ========================================================================== */
.thrivemeadow-programs {
  padding: var(--space-xxl) 0;
  background-color: var(--thrivemeadow-cream);
}

.thrivemeadow-program-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.thrivemeadow-program {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background-color: var(--thrivemeadow-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.thrivemeadow-program-image {
  flex: 1;
  min-height: 300px;
  overflow: hidden;
}

.thrivemeadow-program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.thrivemeadow-program:hover .thrivemeadow-program-image img {
  transform: scale(1.05);
}

.thrivemeadow-program-content {
  flex: 1;
  padding: var(--space-lg);
}

/* Stories Section
   ========================================================================== */
.thrivemeadow-stories {
  padding: var(--space-xxl) 0;
  background-color: var(--thrivemeadow-white);
}

.thrivemeadow-story-slider {
  position: relative;
  margin-top: var(--space-xl);
  overflow: hidden;
}

.thrivemeadow-story {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background-color: var(--thrivemeadow-light-orange);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.thrivemeadow-story-content {
  flex: 2;
  position: relative;
}

.thrivemeadow-quote-icon {
  margin-bottom: var(--space-md);
}

.thrivemeadow-story-author {
  font-weight: 600;
  color: var(--thrivemeadow-dark-orange);
  margin-top: var(--space-md);
}

.thrivemeadow-story-image {
  flex: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.thrivemeadow-story-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.thrivemeadow-slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.thrivemeadow-prev,
.thrivemeadow-next {
  background: none;
  border: 2px solid var(--thrivemeadow-dark-orange);
  border-radius: var(--border-radius-circle);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-short);
}

.thrivemeadow-prev:hover,
.thrivemeadow-next:hover {
  background-color: var(--thrivemeadow-dark-orange);
}

.thrivemeadow-prev:hover svg path,
.thrivemeadow-next:hover svg path {
  stroke: var(--thrivemeadow-white);
}

/* About Section
   ========================================================================== */
.thrivemeadow-about {
  padding: var(--space-xxl) 0;
  background-color: var(--thrivemeadow-cream);
}

.thrivemeadow-about .thrivemeadow-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.thrivemeadow-about-content {
  flex: 1;
}

.thrivemeadow-values {
  margin: var(--space-md) 0;
  list-style-type: none;
  padding-left: 0;
}

.thrivemeadow-values li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.thrivemeadow-values li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--thrivemeadow-dark-orange);
  border-radius: var(--border-radius-circle);
}

.thrivemeadow-about-image {
  flex: 1;
}

/* Contact Section
   ========================================================================== */
.thrivemeadow-contact {
  padding: var(--space-xxl) 0;
  background-color: var(--thrivemeadow-white);
}

.thrivemeadow-contact-columns {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.thrivemeadow-contact-info {
  flex: 1;
}

.thrivemeadow-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.thrivemeadow-info-icon {
  flex-shrink: 0;
}

.thrivemeadow-contact-form {
  flex: 1;
}

.thrivemeadow-form {
  background-color: var(--thrivemeadow-cream);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.thrivemeadow-form-group {
  margin-bottom: var(--space-md);
}

.thrivemeadow-form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.thrivemeadow-form-group input,
.thrivemeadow-form-group select,
.thrivemeadow-form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--thrivemeadow-light-orange);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-short);
}

.thrivemeadow-form-group input:focus,
.thrivemeadow-form-group select:focus,
.thrivemeadow-form-group textarea:focus {
  outline: none;
  border-color: var(--thrivemeadow-dark-orange);
}

.thrivemeadow-checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.thrivemeadow-checkbox-group input {
  width: auto;
}

.thrivemeadow-checkbox-group label {
  margin-bottom: 0;
}

/* Footer
   ========================================================================== */
.thrivemeadow-footer {
  background-color: var(--thrivemeadow-dark-orange);
  color: var(--thrivemeadow-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.thrivemeadow-footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.thrivemeadow-footer-logo,
.thrivemeadow-footer-links,
.thrivemeadow-footer-contact {
  flex: 1;
  min-width: 200px;
}

.thrivemeadow-footer-logo p {
  margin-top: var(--space-md);
}

.thrivemeadow-footer h3 {
  color: var(--thrivemeadow-white);
  margin-bottom: var(--space-md);
}

.thrivemeadow-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thrivemeadow-footer-links li {
  margin-bottom: var(--space-sm);
}

.thrivemeadow-footer-links a {
  color: var(--thrivemeadow-cream);
  transition: color var(--transition-short);
}

.thrivemeadow-footer-links a:hover {
  color: var(--thrivemeadow-white);
}

.thrivemeadow-footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Policy Pages
   ========================================================================== */
.thrivemeadow-policy {
  padding: var(--space-xxl) 0;
}

.thrivemeadow-policy-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.thrivemeadow-policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.thrivemeadow-policy-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  overflow-wrap: break-word;
}

.thrivemeadow-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.thrivemeadow-table th,
.thrivemeadow-table td {
  padding: var(--space-sm);
  border: 1px solid var(--thrivemeadow-light-orange);
  text-align: left;
}

.thrivemeadow-table th {
  background-color: var(--thrivemeadow-light-orange);
}

/* Success Page
   ========================================================================== */
.thrivemeadow-success-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--thrivemeadow-cream);
  text-align: center;
}

.thrivemeadow-success-container {
  max-width: 600px;
  padding: var(--space-xl);
  background-color: var(--thrivemeadow-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.thrivemeadow-success-icon {
  margin-bottom: var(--space-lg);
}

/* Image Zoom Effect
   ========================================================================== */
.thrivemeadow-zoom-image {
  transition: transform var(--transition-medium);
}

.thrivemeadow-zoom-image:hover {
  transform: scale(1.05);
}

/* Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
  html {
    font-size: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
    overflow-wrap: break-word;
  }

  h3 {
    font-size: 1.8rem;
    overflow-wrap: break-word;
  }

  .thrivemeadow-container {
    padding: 0;
  }

  .thrivemeadow-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--thrivemeadow-white);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    flex-direction: column;
    align-items: center;
  }

  .thrivemeadow-nav-list.thrivemeadow-active {
    display: flex;
  }

  .thrivemeadow-nav-list li {
    margin: var(--space-sm) 0;
  }

  .thrivemeadow-menu-toggle {
    display: block;
  }

  .thrivemeadow-menu-toggle.thrivemeadow-active .thrivemeadow-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .thrivemeadow-menu-toggle.thrivemeadow-active .thrivemeadow-bar:nth-child(2) {
    opacity: 0;
  }

  .thrivemeadow-menu-toggle.thrivemeadow-active .thrivemeadow-bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .thrivemeadow-hero .thrivemeadow-container,
  .thrivemeadow-about .thrivemeadow-container,
  .thrivemeadow-service-cards,
  .thrivemeadow-program,
  .thrivemeadow-story,
  .thrivemeadow-contact-columns {
    flex-direction: column;
  }

  .thrivemeadow-hero-content,
  .thrivemeadow-hero-image,
  .thrivemeadow-about-content,
  .thrivemeadow-about-image,
  .thrivemeadow-program-image,
  .thrivemeadow-program-content,
  .thrivemeadow-story-content,
  .thrivemeadow-story-image,
  .thrivemeadow-contact-info,
  .thrivemeadow-contact-form {
    width: 100%;
  }

  .thrivemeadow-card {
    margin-bottom: var(--space-lg);
  }

  .thrivemeadow-story {
    padding: 20px;
  }

  .thrivemeadow-footer-content {
    flex-direction: column;
    gap: var(--space-xl);
  }
  .thrivemeadow-story {
    gap: 0;
  }
  .thrivemeadow-slider-controls {
    gap: var(--space-xs);
  }
  .thrivemeadow-stories {
    padding: var(--space-xl) 0;
  }
  .thrivemeadow-footer-content {
    gap: var(--space-md);
  }
  .thrivemeadow-program-content {
    padding: var(--space-sm);
  }
  .thrivemeadow-button-large {
    padding: var(--space-md) var(--space-md);
  }
  .thrivemeadow-contact, .thrivemeadow-about, .thrivemeadow-programs, .thrivemeadow-services, .thrivemeadow-hero {
    padding: var(--space-xl) 0;
  }
  .thrivemeadow-section-intro {
    font-size: 1rem;
  }
  .thrivemeadow-logo svg text {
    font-size: 22px;
}
}

@media (max-width: 767px) {
  .thrivemeadow-service-cards {
    gap: var(--space-md);
  }

  .thrivemeadow-program {
    padding: var(--space-sm);
  }

  .thrivemeadow-program-image {
    display: none;
  }
  .table-cookie{
    overflow: scroll;
  }
  .thrivemeadow-table{
    width: 100%;
  }
  .thrivemeadow-hero-content h1 {
    font-size: 2rem;
  }
  .thrivemeadow-form {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 20px;
  }

  h1 {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .thrivemeadow-container {
    width: 95%;
  }
  .thrivemeadow-hero-content h1 {
    font-size: 1.7rem;
  }
  .thrivemeadow-button,
  .thrivemeadow-button-large {
    width: 100%;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 22px;
  }

  .thrivemeadow-container {
    padding: 0 var(--space-md);
  }

  .thrivemeadow-hero,
  .thrivemeadow-services,
  .thrivemeadow-programs,
  .thrivemeadow-stories,
  .thrivemeadow-about,
  .thrivemeadow-contact,
  .thrivemeadow-policy {
    padding: var(--space-xl) 0;
  }
}
