/* fonts loaded in HTML */
:root {
  --primary: #1f795c;
  --accent1: #6a1b9ade;
  --accent2: #ade96a;
  --accent3: #1f795c;
  --bg: #c2d1c8;
  --text: #333;
  --max-width: 1100px;

  /* FONTS */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Comfortaa", sans-serif;
}

/* BASE */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
.faq-summary {
  -webkit-tap-highlight-color: transparent;
}

p {
  line-height: 1.2;
  /* word-break: break-word;  */
  /* hyphens: auto; */
}

section {
  scroll-margin-top: 75px;
}

@media (max-width: 700px) {
  section {
    scroll-margin-top: 60px;
  }
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 120;
}

.nav-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 8px 12px;
}

.burger-and-logo {
  justify-content: space-between;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  height: 56px;
  width: auto;
  border-radius: 6px;
}

/* LINKS */
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 15px;
  padding: 8px;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--accent1);
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LANGUAGE */
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 8px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  font-family: var(--font-heading);
  color: var(--text);
}

.lang-btn.active {
  background: var(--accent1);
  color: #fff;
  border-color: var(--accent1);
}

/* BURGER MENU */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
}

/* HERO */
.hero {
  padding-top: 95px;
  padding-bottom: 50px;
}

.hero-figure-mobile {
  display: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  min-width: 260px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.hero-text h2 {
  color: var(--accent3);
  font-weight: 600;
  margin: 0 0 12px;
  font-family: var(--font-heading);
}

.hero-text p {
  margin: 0 0 18px;
  font-family: var(--font-body);
}

.hero-figure {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* BUTTONS */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.cta {
  background: var(--accent1);
  color: #fff;
  border: 0;
}

.cta:hover {
  background: var(--accent3);
  color: #fff;
}

/* ABOUT */
.about {
  padding: 28px 18px;
  background-color: #fff;
}

.about h2 {
  max-width: var(--max-width);
  margin: 0 auto 5px;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.5px;
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 0px 18px;
}

.about-inner figure {
  flex: 0 0 420px;
}

.about-inner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-text {
  flex: 1;
  font-family: var(--font-body);
}

.about-text ul {
  list-style: none;
  margin-top: 12px;
  padding: 0px 22px;
}

.about-text li {
  list-style: disc;
  position: relative;
  margin-bottom: 10px;
}

.about-text li::marker {
  color: var(--accent1);
}

/* IMAGE BREAK */
.image-break {
  display: flex;
  justify-content: center;
  padding: 28px 18px;
}

.image-break img {
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  display: block;
}

/* FAQ */
.faq {
  padding: 28px 18px;
  background: #fff;
  font-family: var(--font-body);
}

.faq h2 {
  max-width: var(--max-width);
  margin: 0 auto 18px;
  font-family: var(--font-heading);
  color: var(--primary, #333);
  text-align: center;
  letter-spacing: 0.5px;
}

.faq-item {
  max-width: 800px;
  margin: 10px auto;
  padding: 10px 14px;
}

.faq-summary {
  cursor: pointer;
  font-weight: 700;
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  font-family: var(--font-heading);
}

.faq-summary::before {
  color: var(--accent1, #007bff);
  font-family: "Font Awesome 6 Free";
  content: "\f0da";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-weight: 900;
  transition: transform 0.3s ease;
  font-size: 1.1em;
}

.faq-item.open .faq-summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #333;
}

/* SERVICES */
.services {
  padding: 28px 18px;
  font-family: var(--font-body);
}

.services ul {
  padding: 0px 22px;
}

.services li {
  margin-bottom: 10px;
}

.services li::marker {
  color: var(--accent1);
}

.services h2 {
  max-width: var(--max-width);
  margin: 0 auto 25px;
  font-family: var(--font-heading);
  color: var(--primary);
  text-align: center;
  letter-spacing: 0.5px;
}

.services-grid {
  max-width: var(--max-width);
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service h3 {
  color: var(--accent3);
  font-family: var(--font-heading);
  text-align: center;
}

/* CONTACT */
.contact {
  padding: 28px 18px;
  background: #fff;
}

.contact h2 {
  max-width: var(--max-width);
  margin: 0 auto 5px;
  font-family: var(--font-heading);
  color: var(--primary);
  text-align: center;
  letter-spacing: 0.5px;
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 5px;
  align-items: flex-start;
  font-family: var(--font-body);
}

.contact-card {
  flex: 1;
  min-width: 220px;
}

.contact-card ul {
  list-style: none;
  padding: 0px;
}

.contact-card ul li {
  margin-bottom: 10px;
}

.contact-card ul li a {
  text-decoration: none;
  color: var(--accent3);
}

li.envelope .fa-envelope,
li.phone .fa-phone,
li.location .fa-location-dot {
  color: var(--text);
}

li.envelope:hover .fa-envelope,
li.phone:hover .fa-phone,
li.location:hover .fa-location-dot {
  color: var(--accent1);
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 22px 18px;
  font-family: var(--font-body);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer .socials a {
  color: #fff;
  margin-right: 10px;
  font-size: 20px;
  text-decoration: none;
}

.footer .socials a:hover {
  color: var(--accent2);
}

.footer-links {
  margin: 10px 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-size: smaller;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent2);
}

.copyright:hover {
  color: var(--accent2);
}

/* RESPONSIVE MAX */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 22px;
  }

  .hero-figure {
    flex: 0 0 360px;
  }

  .hero-img {
    max-width: 360px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE: PHONE / TABLET */
@media (max-width: 1000px) {
  .nav-inner {
    padding: 8px 12px;
  }

  .hero {
    padding-top: 75px;
  }

  .about-inner {
    gap: 10px;
  }

  .about-inner figure {
    max-width: 500px;
    margin-bottom: 10px;
  }

  .burger-and-logo {
    gap: 5px;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    flex-direction: column;
    padding: 12px;
    min-width: 180px;
    transform: translateX(-200%);
    opacity: 0;
    transition: transform 1.25s ease, opacity 0.5s ease;
    pointer-events: none;
  }

  .nav-links.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger {
    display: block;
  }

  .brand-logo {
    height: 46px;
  }

  .hero {
    padding-bottom: 10px;
  }

  .about {
    padding-bottom: 10px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    padding: 18px;
  }

  .hero-figure {
    display: none;
  }

  .hero-figure-mobile {
    display: flex;
    justify-content: center;
  }

  .about-inner figure {
    flex: 0 0 0;
  }

  .hero-text {
    text-align: center;
  }

  .about-inner {
    flex-direction: column;
  }

  .image-break img {
    width: 92%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* SCROLLED NAV */
.nav.scrolled {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  background: #fff;
}

/* PAGES*/
.pages ul li::marker {
  padding-top: 95px;
  color: var(--accent1);
}

.pages main {
  margin: 0 auto;
  padding: 95px 18px 18px 18px;
  max-width: var(--max-width);
  margin-bottom: 10px;
}

.pages main a {
  text-decoration: none;
  color: var(--accent3);
}

.pages .page-section {
  max-width: var(--max-width);
}

.pages h1 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.pages h2 {
  color: var(--accent3);
  font-weight: 600;
  margin: 0 0 12px;
  font-family: var(--font-heading);
}

.pages p {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
}

.pages .controls {
  visibility: hidden;
  pointer-events: none;
}
