@charset "utf-8";

/* Import Elegant Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Playfair+Display:wght@400;600&display=swap');

/* Header*/

/* Navigation Bar */
nav.horizontal {
    background-color: #dfe7dc;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-top: 2px solid #b9d6b1;
    border-bottom: 2px solid #b9d6b1;
}
nav.horizontal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

nav.horizontal a {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: #2f4f2f;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav.horizontal a:hover {
    color: whitesmoke;
    border-bottom: 2px solid whitesmoke;
}
header h1{
  font-size: 4rem;
  font-weight: 700;
  color: rgb(8, 84, 8);
  display: block;
  background-color: #f8f5ed;;
  text-align: center;
  padding: 1em 0; 
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
    margin: 0;
    font-size: 1.15em;
    font-family: 'Playfair Display', serif;
    background-color: #f8f5ed;
    color: rgb(8, 84, 8);
}

p {
    text-align: center;
    line-height: 1.7;
    font-size: 1.0em;
    color: black;
    max-width: 900px;
    margin: 0px auto;
    margin-top: 30px;
    padding: 0 30px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.review-card {
  background: #dfe7dc;;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.review-card .stars {
  color: gold;
  font-size: 1.2em;
  margin-bottom: 8px;
}

.review-card .quote {
  font-style: italic;
  color: rgb(8, 84, 8);
  margin-bottom: 10px;
}

.review-card .client-name {
  font-weight: bold;
  color: rgb(8, 84, 8);
}

.review-cta {
  text-align: center;
  margin: 40px 0;
}

footer {
    background-color: #b9d6b1;
    color: rgb(8, 84, 8);
    text-align: center;
    padding: 20px;
    font-size: 1em;
    margin-top: 50px;
    border-top: 2px solid #dfe7dc;
}

/* --- CSS hamburger (pure CSS) --- */
/* hide native checkbox visually */
nav.horizontal input#nav-toggle {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* hamburger button */
nav.horizontal .nav-toggle {
  display: none;               /* shown on small screens with media query */
  cursor: pointer;
  padding: 10px;
  user-select: none;
}
nav.horizontal .hamburger,
nav.horizontal .hamburger::before,
nav.horizontal .hamburger::after {
  display: block;
  width: 26px;
  height: 3px;
  background: #2f4f2f;
  border-radius: 3px;
  transition: transform .25s ease, opacity .25s ease;
  position: relative;
}
nav.horizontal .hamburger::before,
nav.horizontal .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
nav.horizontal .hamburger::before { top: -8px; }
nav.horizontal .hamburger::after  { top: 8px; }

/* desktop: show normal nav */
nav.horizontal .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  align-items: center;
}

/* small screens: stack nav + show hamburger */
@media (max-width: 700px) {
  nav.horizontal {
    display: block;
    position: relative;
    padding: 8px 1rem;
  }

  nav.horizontal .nav-toggle {
    display: inline-block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* hide the list by default */
  nav.horizontal .nav-list {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 56px; /* give space for header/hamburger */
    width: 100%;
    background: #dfe7dc;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  /* show the list when checkbox is checked */
  nav.horizontal input#nav-toggle:checked ~ .nav-list {
    display: flex;
  }

  /* animate hamburger to X when open */
  nav.horizontal input#nav-toggle:checked + label .hamburger {
    background: transparent;
  }
  nav.horizontal input#nav-toggle:checked + label .hamburger::before {
    transform: translateY(8px) rotate(45deg);
  }
  nav.horizontal input#nav-toggle:checked + label .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* nav links full width + touch friendly */
  nav.horizontal .nav-list a {
    display: block;
    padding: 12px 18px;
    width: 100%;
    text-align: center;
    border-bottom: none;
  }
}
