/* ========== Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f4f9f4;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== Container ========== */
.container {
  max-width: auto;
  margin: 0 auto;
  padding: 0 20px;
}

.centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ========== Navbar ========== */
.navbar-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  background-color: #1e3a1e;
  color: white;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 250px;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.logo {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* ========== Hero Section ========== */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: #e6f4e7;
  color: #1e3a1e;
  background: url("assets/images/hero.jpg") no-repeat center top;
  background-size: cover;
  background-position: center 25%; /* Focuses higher part of the image */
  height: 550px; /* Adjust height to show more */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #1e3a1e;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 45px;
  color: #cc5500; /* Burnt orange */
  font-weight: bold;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff,
    -1px -1px 0 #fff; /* Creates white inner shadow illusion */
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  background-color: #2e7d32;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #1e3a1e;
}

/* ========== Section Headings ========== */
section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

/* ========== Services Section ========== */
.services {
  padding: 60px 20px;
  background: #fff;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.service-card {
  max-width: 300px;
  text-align: center;
}

.service-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* ========== About ========== */
.about {
  padding: 60px 20px;
  background-color: #d9fad9;
}

/* ========== Projects ========== */
.projects {
  padding: 60px 20px;
  background: #ffffff;
}

.projects-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.project-tall {
  width: 350px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.project-small {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

/* ========== Testimonials ========== */
.testimonials {
  padding: 60px 20px;
  background-color: #f3f3f3;
}

.testimonials blockquote {
  font-style: italic;
  margin-bottom: 40px;
  border-left: 4px solid #1e3a1e;
  padding-left: 16px;
  color: #201f1f;
}

.testimonial-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 40px auto 0;
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.testimonial-form h3 {
  text-align: center;
  color: #1e3a1e;
  margin-bottom: 10px;
}

/* ========== Contact Section ========== */
.contact {
  padding: 60px 20px;
  background: #d9fad9;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

.star-rating {
  margin: 20px 0;
  font-size: 1.2rem;
  color: #ccc;
}

.stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 5px;
}

.stars input[type="radio"] {
  display: none;
}

.stars label {
  cursor: pointer;
  font-size: 2rem;
  color: #ccc;
  transition: color 0.2s;
}

.stars input[type="radio"]:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
  color: #ff9900;
}

.contact button {
  align-self: flex-start;
  padding: 12px 24px;
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #1e3a1e;
}

/* ========== Footer ========== */
.footer {
  background-color: #1e3a1e;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .navbar-split {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .projects-grid,
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}
