/* ------------------- Base resets & global styles ------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: black;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ------------------- Header & Navigation ------------------- */
.site-header {
  background-color: #222;
  color: white;
  position: relative;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: wrap;
}
.site-title {
  font-size: 1.8rem;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-nav a {
  color: white;
  font-weight: 500;
}

/* Logo styling */
.logo {
  height: 150px;
  margin-right: 60px;
  vertical-align: middle;
  max-width: 100%;
}

/* ------------------- Hero background image ------------------- */
.hero {
  background-image: url('IMG_6227.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.hero-inner h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero-inner p {
  font-size: 1.2rem;
}

/* ------------------- Sections ------------------- */
.section {
  padding: 60px 20px;
  color: white;
}
.inner-container {
  max-width: 1000px;
  margin: auto;
  color: white;
  width: 90%;
}

/* ------------------- Equal spacing for all section titles ------------------- */
.section h2 {
  margin-bottom: 25px; /* space between title and content */
  text-align: center;
}

/* About */
.about p {
  max-width: 700px;
  margin: 20px auto 0 auto;
  color: white;
  text-align: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.service-item {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.service-item h3 {
  margin-bottom: 10px;
  color: white;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.project-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.project-card img {
  width: 100%;
  display: block;
}

/* Projects list items with green checkboxes */
.project-card h4 {
  position: relative; 
  padding-left: 55px; /* enough space so text isn't blocked */
  background: black;
  text-align: left; 
  color: white;
  margin-bottom: 10px;
  border-radius: 5px; 
  padding: 15px;
  transition: background 0.3s ease;
}
.project-card h4::before {
  content: "✔"; 
  position: absolute;
  left: 15px; /* green box inside left */
  top: 50%;
  transform: translateY(-50%);
  background-color: #4CAF50; 
  color: white; 
  width: 25px; 
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px; 
  font-size: 16px;
  font-weight: bold;
}
.project-card h4:hover {
  background-color: #111;
}
.project-card h4:hover::before {
  background-color: #45a049; 
  transform: translateY(-50%) scale(1.1);
}

/* Contact */
.contact p {
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: black;
}
button {
  display: inline-block;
  background: #ff6600;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
}

/* Footer */
.site-footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ------------------- Hamburger Menu Styles ------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 35px;
  cursor: pointer;
  gap: 6px;
  background: transparent;
  border: 2px solid white; 
  border-radius: 5px;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 9999; 
}
.menu-toggle span {
  display: block;
  width: 70%;
  height: 3px;
  background: white; 
  transition: 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ------------------- Mobile Layout ------------------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; 
  }
  .site-nav {
    width: 100%;
    display: none; 
    flex-direction: column;
    background-color: #111;
    text-align: center;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
  }
  .site-nav.show {
    display: flex; 
  }
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }
  .header-inner {
    flex-direction: column;
  }
  .logo {
    height: 100px;
    margin: 0 auto 10px;
  }
  .hero {
    height: auto;
    padding: 60px 20px;
  }
  .hero-inner h2 {
    font-size: 1.8rem;
  }
  .hero-inner p {
    font-size: 1rem;
  }
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 40px 15px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  button {
    width: 100%;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .hero-inner h2 {
    font-size: 1.4rem;
  }
  .hero-inner p {
    font-size: 0.9rem;
  }
  .site-title {
    font-size: 1.4rem;
  }
  .logo {
    height: 80px;
  }
}
