
/* Base Styles */
:root {
  --primary-color: #9EBF44;
  --secondary-color: #F8F5FF;
  --light-background-color: #fcf5f0;
  --mid-background-color: #51a19d;
  --dark-background-color: #fcf5f0;
  --accent-color: #51a19d;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --gray-light: #F1F1F1;
  --gray-medium: #E5E5E5;
  --gray-dark: #808080;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --success-background-color: #E6F7ED;
  --success-background-border: #85E0A3;
  --success-foreground: #2D6A4F;
  --error-background-color: #FEF2F2;
  --error-background-border: #FECACA;
  --error-foreground: #991B1B;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6, q {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3, q {
  font-size: 1.5rem;
}

q.smallquote {
  font-size: 1rem;
  max-width: 200px;
  margin: 0 auto;
}

em.smallquote {
  font-size: 12px;
}

p:has(> q.smallquote) {
  margin: 0 4rem;
}

p {
  margin-bottom: 1rem;
}

q {
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

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

.btn-light:hover {
  background-color: var(--gray-light);
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 140px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  font-family: 'Alegreya Sans', sans-serif;
}

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

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: var(--white);
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 1;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  list-style: none;
}

.submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
}

.submenu a:hover {
  background-color: var(--gray-light);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  transition: all 0.3s;
}

/* Hero Section */
.hero, .page-header {
  background-color: var(--light-background-color);
  background-image: url('images/shiatsu.jpg');
  background-repeat: no-repeat;
  background-position: center;
  padding: 5rem 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content,
.page-header {
  flex: 1;
  color: var(--light-background-color);
}

.shaded {
  text-shadow: 1px 1px 5px black;
}

.hero-image {
  flex: 1;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}



/* Services Section */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.appointment  {
  background-color: var(--light-background-color);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100px;
  height: 100px;
  display: block;
  margin: auto;
  /* object-fit: cover; */
  
}

.service-content {
  padding: 1.5rem;
}

.service-content h3,
.service-content h4 {
  text-align: center;
}


.read-more {
  font-weight: 500;
}

/* About Section */
.about {
  background-color: var(--light-background-color);
}

.about .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about h3 {
  width: 100%;
  /* max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; */
}

.about-content {
  flex: 1.25;
}

.about-content h4 {
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.about-image {
  flex: 0.75;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.logo {
   margin: auto;
   
}

.logo img {
  height: 100px;
  border-radius: none;
  box-shadow: none;
  padding: 0 20px;
}

.about li, .content li {
  margin-left: 16px;
}

section + section {
  padding: 2rem 0 1rem;
}

.accent {
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 1rem;
}

.testimonial-name h4 {
  margin-bottom: 0.25rem;
}

.testimonial-name p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background-color: var(--mid-background-color);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta a img {
  height: 100px;
  padding: 0 10px;
}

/* Footer */
footer {
  background-color: #333;
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--gray-medium);
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--gray-medium);
}

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

footer hr {
  margin: 2rem 0;
  border: none;
  height: 1px;
  background-color: var(--gray-dark);
}

.copyright {
  text-align: center;
  color: var(--gray-medium);
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero .container,
  .about .container {
    flex-direction: column;
  }
  
  .hero-content,
  .about-content {
    order: 1;
  }
  
  .hero-image,
  .about-image {
    order: 0;
    margin-bottom: 2rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }

  .has-submenu {
    width: 100%;
  }

  .has-submenu > a {
    width: 100%;
    display: block;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s;
  }

  .submenu-active .submenu {
    max-height: 500px;
  }

  .mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
