/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* === Header & Navigation === */
header {
  background: #2c3e50;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column; /* stack on small screens */
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0 0;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 5px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: #1abc9c;
}

/* === Banner Images === */
.banner {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* === Sections === */
section {
  padding: 1.5rem;
  text-align: center;
}

section h2 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* === Contact Form === */
form {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

form input,
form textarea,
form button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: #1abc9c;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

form button:hover {
  background: #16a085;
}

/* === Footer === */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* === Responsive Breakpoints === */
@media (min-width: 768px) {
  nav ul {
    flex-direction: row;   /* horizontal menu on tablets/desktops */
    justify-content: center;
  }

  nav ul li {
    margin: 0 0.5rem;
  }

  .banner {
    max-height: 400px;
  }
}

@media (min-width: 1024px) {
  body {
    max-width: 1200px;
    margin: auto;
  }

  .banner {
    max-height: 500px;
  }
}
