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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f1f1f1;
  color: #1b4332;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header / Nav */
header {
  background: #2d6a4f;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

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

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a:hover {
  color: #bfa37c;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Swatch Banner */
.swatch-banner {
  display: flex;
  height: 10px;
}

.swatch {
  flex: 1;
}

/* Hero Section */
.hero {
  background: url('images/paint-wall.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.25rem;
}

/* Services / Projects / About / Contact */
section {
  padding: 4rem 2rem;
  background: #ffffff;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2d6a4f;
}

.service-grid, .project-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card, .project-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 300px;
  transition: transform 0.3s ease;
}

.service-card:hover, .project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: auto;
}

.about p {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* Contact */
.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input, .contact textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact button {
  padding: 1rem;
  background-color: #2d6a4f;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background-color: #1b4332;
}

/* Footer */
footer {
  text-align: center;
  background: #2d6a4f;
  color: #fff;
  padding: 1rem;
}

/* Responsive Nav */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #2d6a4f;
    margin-top: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  nav ul li {
    text-align: center;
    padding: 1rem 0;
  }
}

/* General Styles (existing styles stay here) */

/* Contact Page Styles */ .contact { padding: 60px 20px; max-width: 800px; margin: 0 auto; }

.contact h2 { text-align: center; font-size: 2.2rem; margin-bottom: 20px; }

.contact form { display: flex; flex-direction: column; gap: 15px; }

.contact input, .contact textarea { padding: 12px; font-size: 1rem; border: 1px solid #ccc; border-radius: 6px; width: 100%; box-sizing: border-box; }

.contact textarea { resize: vertical; min-height: 120px; }

.contact button { padding: 12px; font-size: 1rem; color: white; background-color: #2d6a4f; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.3s ease; }

.contact button:hover { background-color: #1b4332; }

.contact p { text-align: center; margin-top: 20px; font-size: 1rem; color: #333; }

/* Add this updated CSS at the bottom of your current styles.css */

/* Responsive Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
}

/* Add responsive behavior */
@media (max-width: 768px) {
  nav {
    position: relative;
    width: 100%;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: none;
    border: none;
    z-index: 1100;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #2d6a4f;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }
}
