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

html,
body {
   height: 100%;
   width: 100%;
}

body {
   font-family: "EB Garamond", serif;
   font-weight: 300;
   background-color: #ebebee;
   color: black;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
   color: #999;
   font-family: "EB Garamond", serif;
   font-weight: 300;
}

p {
   font-size: 18px;
}

a,
input,
textarea,
select,
button {
   transition: background-color 0.8s ease;
   -webkit-appearance: none;
   appearance: none;
   font-family: "EB Garamond", serif;
}

.inner {
   max-width: 1400px;
   width: 100%;
   display: block;
   margin: 0 auto;
   box-shadow: 0 5px 8px 0 rgb(0 0 0 / 45%);
}

/* --- Main styles --- */

:root {
   --main-color: #153D30;
   --main-color-hov: #0d241d;
   --main-text: #CDDDD0;
   --accent: #C1CFBA;
   --accent-text: #253E34;
}

body {
   background-color: var(--main-color-hov);
}

.site-header {
   background-color: var(--main-color);
   color: var(--main-text);
   box-shadow: 0 12px 24px rgb(0 0 0 / 18%);
}

.site-header .brand-bar {
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 28px 50px 18px;
}

.site-header .logo img {
   max-height: 120px;
   width: auto;
   object-fit: contain;
}

.nav-bar {
   background: var(--accent);
   padding: 12px 50px 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 24px;
}

.nav-toggle {
   display: none;
   align-items: center;
   gap: 10px;
   background: transparent;
   border: 1px solid rgba(37, 62, 52, 0.3);
   color: var(--accent-text);
   padding: 10px 12px;
   border-radius: 10px;
   cursor: pointer;
   font-size: 16px;
}

.nav-toggle__line {
   display: block;
   width: 18px;
   height: 2px;
   background: currentColor;
}

.nav-toggle__text {
   font-weight: 600;
}

.nav-bar .links {
   display: flex;
   gap: 22px;
   align-items: center;
   justify-content: center;
   flex-wrap: nowrap;
}

.nav-bar .links a {
   color: var(--accent-text);
   font-size: 18px;
   font-weight: 500;
   text-decoration: none;
   padding: 6px 10px;
   border-radius: 8px;
   background: transparent;
   border-bottom: 2px solid transparent;
   transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-bar .links a:hover {
   color: #0f2d24;
   background-color: rgba(255, 255, 255, 0.5);
   border-bottom-color: currentColor;
}

@media (max-width: 900px) {
   .site-header .brand-bar {
      padding: 22px 24px 14px;
   }

   .nav-bar {
      padding: 10px 18px 14px;
      flex-direction: column;
      align-items: stretch;
      gap: 6px;
   }

   .nav-toggle {
      display: inline-flex;
      justify-content: space-between;
      width: 100%;
   }

   .nav-bar .links {
      display: none;
      flex-direction: column;
      align-items: stretch;
      gap: 6px;
      width: 100%;
      padding: 4px 0;
      flex-wrap: nowrap;
   }

   .nav-bar.is-open .links {
      display: flex;
   }

   .nav-bar .links a {
      width: 100%;
      padding: 10px 14px;
      line-height: 1.3;
      text-align: left;
   }
}


.hero {
   background-image: url(assets/leaves.png);
   background-size: cover;
   color: var(--main-text);
}

.hero .cover {
   background-color: rgba(0, 0, 0, 0.7);
   padding: 150px 0;
   text-align: center;
}

.hero .cover h1 {
   font-size: calc(20px + 2vw);
   max-width: 800px;
   text-wrap: balance;
   display: inline-block;
}

.hero .cover p {
   font-size: 20px;
   margin: 30px 0;
}

.button {
   padding: 15px 30px;
   font-size: 18px;
   background-color: var(--main-color);
   color: var(--main-text);
   display: inline-block;
   font-size: 22px;
   font-weight: bold;
   border-radius: 10px;
   text-decoration: none;
   margin-top: 30px;
}

.button:hover {
   background-color: var(--main-color-hov);
   color: var(--main-text);
}

.hero .button {
   border: solid 1px var(--main-text);
}

.about {
   background-color: var(--accent);
   color: var(--accent-text);
   padding: 100px 50px;
   text-align: left;
}

.about__grid {
   display: grid;
   grid-template-columns: minmax(300px, 0.9fr) 1.1fr;
   gap: 50px;
   align-items: center;
   max-width: 1100px;
   margin: 0 auto;
}

.about h2 {
   font-size: calc(20px + 1vw);
   margin-bottom: 14px;
}

.about .eyebrow {
   letter-spacing: 2px;
   text-transform: uppercase;
   font-size: 14px;
   font-weight: 700;
   color: #0f2d24;
   margin-bottom: 10px;
   display: inline-block;
}

.about__intro {
   font-size: 22px;
   line-height: 1.5;
   margin-top: 10px;
   color: #2b463b;
}

.about__media {
   display: grid;
   gap: 16px;
   justify-items: start;
}

.about__portrait {
   position: relative;
   width: 100%;
   max-width: 420px;
   aspect-ratio: 4 / 5;
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 20px 45px rgb(21 61 48 / 25%);
   background: linear-gradient(160deg, #e8f0ea, #d5e0d8);
}

.about__portrait img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   filter: saturate(1.05);
}

.about__portrait--placeholder {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
   text-align: center;
   color: #1f3b30;
   font-weight: 700;
   letter-spacing: 0.5px;
   border: 1px dashed rgba(21, 61, 48, 0.25);
}

.about__portrait--placeholder span {
   background: rgba(255, 255, 255, 0.75);
   padding: 10px 14px;
   border-radius: 12px;
   box-shadow: 0 10px 24px rgb(0 0 0 / 10%);
}

.about__badges {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

.badge {
   background: rgba(21, 61, 48, 0.12);
   color: #0f2d24;
   padding: 8px 12px;
   border-radius: 999px;
   font-size: 15px;
   font-weight: 600;
   border: 1px solid rgba(21, 61, 48, 0.18);
}

.about__highlights {
   list-style: none;
   padding: 0;
   margin: 32px 0 0;
   display: grid;
   gap: 14px;
}

.about__highlights li {
   display: grid;
   grid-template-columns: auto 1fr;
   gap: 12px;
   align-items: flex-start;
   padding: 14px 16px;
   background: rgba(255, 255, 255, 0.75);
   border-radius: 12px;
   box-shadow: 0 8px 18px rgb(0 0 0 / 6%);
}

.about__highlights i {
   color: var(--main-color);
   font-size: 24px;
   margin-top: 3px;
}

.about__highlights strong {
   display: block;
   font-size: 18px;
   margin-bottom: 4px;
}

.about__highlights span {
   color: #365444;
   font-size: 16px;
   line-height: 1.5;
}

.services {
   background-color: var(--main-color);
   color: var(--main-text);
   padding: 100px 50px;
   text-align: center;
}

.services h2 {
   font-size: calc(20px + 1vw);
   max-width: 800px;
   text-wrap: balance;
   display: inline-block;
}

.services .cards {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 2rem;
   margin-top: 30px;
}

.services article {
   background-color: var(--accent);
   color: var(--accent-text);
   padding: 30px;
   border-radius: 10px;
}

.services article i {
   font-size: 100px;
}

.services article h3 {
   font-size: 26px;
   margin-bottom: 5px;
   margin-top: 15px;
}

.cta {
   background-color: var(--accent);
   color: var(--accent-text);
   text-align: center;
   padding: 100px 50px;
}

.cta h2 {
   font-size: calc(20px + 1vw);
   max-width: 800px;
   text-wrap: balance;
   display: inline-block;
}

.cta p {
   font-size: 22px;
}

.testimonials {
   background-color: var(--main-color);
   color: var(--main-text);
   padding: 100px 50px;
   text-align: center;
}

.testimonials h2 {
   font-size: calc(20px + 1vw);
   max-width: 800px;
   text-wrap: balance;
   display: inline-block;
}

.testimonials .testimonial-slider {
   max-width: 800px;
   margin: 0 auto;
   margin-top: 30px;
}

.testimonial-slider .testimonial {
   padding: 2rem;
   background: white;
   border-radius: 8px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
   font-size: 1.1rem;
   color: #333;
}

.testimonial strong {
   display: block;
   margin-top: 1rem;
   font-weight: 600;
   color: var(--main-color);
}



.book {
   background-color: var(--accent);
   color: var(--accent-text);
   padding: 100px 50px;
   text-align: center;
}

.book h2 {
   font-size: calc(20px + 1vw);
   max-width: 800px;
   text-wrap: balance;
   display: inline-block;
}

.book p {
   font-size: 22px;
}

.book #contactForm {
   margin-top: 30px;
}

.book #contactForm input[type="text"], .book #contactForm input[type="email"], .book #contactForm textarea {
   border: solid 1px var(--accent-text);
   padding: 15px;
   border-radius: 3px;
   font-size: 18px;
   outline: none;
   width: 100%;
   max-width: 600px;
}

.book #contactForm textarea {
   min-height: 250px;
}

.book #contactForm .g-recaptcha {
   display: inline-block;
}

.book #contactForm input[type="submit"] {
   padding: 15px 30px;
   font-size: 18px;
   background-color: var(--main-color);
   color: var(--main-text);
   display: inline-block;
   font-size: 22px;
   font-weight: bold;
   border-radius: 10px;
   text-decoration: none;
   margin-top: 30px;
   border: none;
   outline: none;
}

.book #contactForm input[type="submit"]:hover {
   background-color: var(--main-color-hov);
   color: var(--main-text);
}

/* --- Footer --- */

.site-footer {
   background-color: var(--main-color);
   color: var(--main-text);
   padding: 30px;
   font-size: 0.9rem;
}

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

.footer-logo img {
   max-width: 150px;
   margin-bottom: 1rem;
}

.footer-logo p {
   font-size: 16px;
   line-height: 1.6;
}

.footer-nav h3,
.footer-contact h3,
.footer-social h3 {
   font-size: 1rem;
   margin-bottom: 1rem;
   color: #fff;
}

.footer-nav ul,
.footer-contact ul {
   list-style: none;
   padding: 0;
}

.footer-nav a,
.footer-contact a {
   text-decoration: none;
   color: var(--main-text);
   transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
   color: var(--accent);
}

.footer-contact i {
   margin-right: 0.5rem;
   width: 1.2em;
   text-align: center;
}

.footer-social a {
   display: inline-block;
   margin-right: 1rem;
   font-size: 1.2rem;
   color: var(--main-text);
   transition: color 0.3s ease;
}

.footer-social a:hover {
   color: var(--accent);
}

.footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   padding-top: 1.5rem;
   text-align: center;
   margin-top: 2rem;
}

.footer-bottom a {
   color: var(--main-text);
   text-decoration: none;
}

.footer-bottom a:hover {
   color: var(--accent);
}

.footer-nav {
   flex-direction: column !important;
   padding: 0 !important;
   justify-content: flex-start !important;
}



/* Small desktop sizing issues --- */
@media only screen and (max-width: 1410px) {
   .inner {
      width: 85%;
   }
}

/* --- Mobile styles --- */
@media only screen and (max-width: 800px) {
   .inner {
      width: 100%;
      padding: 20px;
   }

   .about__grid {
      grid-template-columns: 1fr;
      gap: 32px;
   }

   .about {
      padding: 70px 30px;
   }

   .about__media {
      justify-items: center;
      text-align: center;
   }

   .services .cards {
      grid-template-columns: 1fr;
   }
}
