/* ============================
   GLOBAL STYLES
============================ */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #333;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 20px 0;
  text-align: center;
}

p {
  line-height: 1.6;
  margin: 10px 0;
}

/* ============================
   NAVIGATION
============================ */

nav {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;              /* horizontal menu */
  gap: 20px;                  /* spacing */
  justify-content: center;    /* centered */
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.2s ease;
}

.nav-menu li a:hover {
  color: #0077cc;
}

/* ============================
   FOOTER
============================ */

footer {
  background: #f2f2f2;
  padding: 25px;
  text-align: center;
  margin-top: 40px;
}

footer a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #0077cc;
}

/* ============================
   PROJECTS PAGE
============================ */

.project {
  margin: 40px auto;
  padding: 20px;
  max-width: 900px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.project h2 {
  margin-bottom: 20px;
}

.before-after {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.before-after div {
  text-align: center;
}

.before-after img {
  width: 350px;
  height: auto;
  border-radius: 6px;
  border: 2px solid #ddd;
}

.label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

/* ============================
   CONTACT PAGE
============================ */

form {
  display: flex;
  flex-direction: column;
  gap: 12px; /* spacing between fields */
  max-width: 400px; /* keeps form narrow */
  margin: 0 auto; /* centers the form */
}

form label {
  font-weight: 600;
}

form input,
form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Smaller message box */
form textarea {
  height: 100px; /* smaller, cleaner */
  resize: vertical;
}

/* Submit button */
form button {
  background-color: #0077cc;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

form button:hover {
  background-color: #005fa3;
}

form button:hover {
  background-color: #005fa3;
}
.follow-facebook {
  text-align: center;
  margin: 40px auto;
  padding: 20px;
}

.follow-facebook p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.fb-button {
  display: inline-block;
  background-color: #1877F2; /* Facebook blue */
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.fb-button:hover {
  background-color: #0f5ec7;
}


/* ============================
   MOBILE RESPONSIVE
============================ */

@media (max-width: 768px) {

  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }

  .before-after {
    flex-direction: column;
  }

  .before-after img {
    width: 100%;
    max-width: 400px;
  }

  .project {
    margin: 20px;
  }
}
