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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #fff; /* Default to white text */
  background-color: #fafafa;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

h1, h2, h3 {
  margin-bottom: 15px;
  font-weight: 600;
}

/* Header */
.header {
  background: #222; /* Dark header */
  color: #fff;
  padding: 15px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: #00c060; /* Green accent */
}

.logo-img {
  width: 40px;
  height: 40px;
}

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: #00c060; /* Green hover highlight */
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

/* Hero */
.hero {
  background: url('../assets/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* overlay for readability */
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  background: #00c060;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #00994a;
}

/* Sections */
.section {
  padding: 60px 0;
  text-align: center;
}

.about.section {
  background: #00843D; /* Green */
  color: #fff;
}

.services.section {
  background: #222; /* Dark grey */
  color: #fff;
}

.projects.section {
  background: #00843D;
  color: #fff;
}

.contact.section {
  background: #222;
  color: #fff;
}

/* Cards inside dark sections */
.card,
.project-card {
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.project-card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.services .grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.projects .grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Contact form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact input,
.contact textarea {
  background: #fff;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 12px;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    display: none;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    color: #fff;
  }
}
