/* General Styles */
body {
  margin: 0;
  font-family: Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #222;
  color: #EB803E;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
  text-shadow: 2px 2px 5px black;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #EB803E;
}

/* Hero Section */
.hero {
  color: white;
  text-align: center;
  padding: 140px 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5rem;
  color: #EB803E;
  text-shadow: 3px 3px 6px black;
}

.hero p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background-color: #EB803E;
  color: white;
  padding: 12px 25px;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.btn:hover {
  background-color: #d66c2a;
}

/* Content Sections */
.content {
  padding: 60px 20px;
  text-align: center;
}

.content h2 {
  color: #EB803E;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px gray;
}

.content p {
  max-width: 700px;
  margin: 0 auto;
}

/* Services */
.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
  color: #EB803E;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

footer a {
  color: #EB803E;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.hero-image-container {
  text-align: center;          /* centers the image */
  margin-bottom: 20px;         /* space below image */
}

.hero-image {
  width: 400px;            /* consistent size across devices */
  height: auto;
  display: inline-block;
  border-radius: 12px;     /* rounds the corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* optional: soft shadow */
  filter: brightness(1.3); 
}

/* Responsive size for smaller screens */
@media (max-width: 500px) {
  .hero-image {
    width: 300px;
  }
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  font-family: Verdana, sans-serif;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #EB803E;
}

/* Text fields and dropdowns */
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Checkbox and radio groups */
.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  color: #333;
  margin: 0;
}

/* Make checkboxes and radios match brand color */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #EB803E;
}

/* Buttons */
.button-group {
  text-align: center;
  margin-top: 25px;
}

input[type="submit"],
input[type="reset"] {
  background-color: #EB803E;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #d66c2a;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  form {
    width: 90%;
    padding: 20px;
  }
}
