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

html {
  font-size: 100%; /* 1rem = 16px */
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background-color: #fff;
}

a {
  color: #678569; /* brand accent */
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #b67300;
}

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

/* ===============================
   Typography
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #222;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }

p {
  margin-bottom: 1.2rem;
  color: #444;
  font-size: 1rem;
}

ul, ol {
  margin: 1rem 0 1.5rem 2rem;
  padding: 0;
}
li { margin-bottom: 0.5rem; }

/* ===============================
   Navigation / Header
   =============================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: transparent;
  z-index: 10;
  line-height: 1;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  position: relative;
  top: -4px; /* adjust baseline */
}

.logo i {
  margin-right: 0.5rem;
  font-size: 1.4rem;
  line-height: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.1rem;
}

.nav-links a {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #ebe8e8;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ===============================
   Hero Section
   =============================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.btn {
  display: inline-block;
  width: 10rem;
  border: none;
  background: #86b888;
  color: #333;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover {
  background: #86b888;
  color: #fff;
}

/* ===============================
   Page Header
   =============================== */
.page-header {
  background: #86b888;
  color: #333;
  text-align: center;
  padding: 2rem 1rem;
}
.page-header h1 { font-size: 2rem; }

/* ===============================
   Home Page
   =============================== */
.intro {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.home-services,
.home-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.service-block,
.case {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-block:hover,
.case:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.service-block i,
.case i {
  font-size: 2.5rem;
  color: #86b888;
  margin-bottom: 1rem;
}

.home-process {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.home-process h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.home-process ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
}
.home-process li {
  margin: 1rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}
.home-process li i {
  color: #86b888;
  margin-right: 0.5rem;
}

.home-closing {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
  line-height: 1.6;
  border-top: 3px solid #86b888;
}

/* ===============================
   About Page
   =============================== */
.about, .content {
  padding: 3rem 2rem;
  text-align: center;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  font-style: italic;
  text-align: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.highlight {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.highlight img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.highlight h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.highlight:hover img {
  transform: scale(1.05);
}

/* ===============================
   Services Page
   =============================== */
.services-grid {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.service-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.service-card i {
  font-size: 3rem;
  color: #86b888;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* ===============================
   Gallery Page
   =============================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem;
}
.gallery img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* ===============================
   Testimonials Page
   =============================== */
.testimonials {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 4em auto 0;
}
.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.testimonial p {
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}
.testimonial footer {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  text-align: right;
  margin-top: 1rem;
}

/* ===============================
   FAQ Page
   =============================== */
.faq {
  max-width: 900px;
  margin: 4em auto 0;
  display: grid;
  gap: 1.8rem;
}
.faq-item {
  padding: 1.8rem 2rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.faq-item h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  position: relative;
}
.faq-item h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  background: #86b888;
  margin-top: 0.5rem;
}
.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* ===============================
   Contact Page
   =============================== */
form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
form label {
  margin: 0.5rem 0 0.25rem;
  font-weight: bold;
}
form input,
form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
form .btn {
  align-self: flex-start;
}

.content .contact-text {
  display: block;
  max-width: 600px;     /* limit the paragraph width */
  margin: 2rem auto 0;  /* centre the block itself */
  text-align: left;     /* override the .content centre text */
  padding: 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* ===============================
   Footer
   =============================== */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  z-index: 2;
}

footer a {
  color: #bbb; /* off-white */
  text-decoration: underline;
}

footer a:hover {
  color: #86b888; /* brand green on hover */
}

.foot {
    color: #fff;
}

.testimonial footer {
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ===============================
   Responsive Styles
   =============================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.25);
    position: absolute;
    top: 2.5rem;
    right: 0;
    padding: 1rem;
    width: 9rem;
  }
  .nav-links.active { display: flex; }
  .hamburger { display: block; }
  .overlay { padding-bottom: 3rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}