/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Verdana, Tahoma, sans-serif;
  background: #fdfdfd;
  color: #000;
  line-height: 1.6;
  text-align: center;
}

/* Wrapper */
#big_wrapper {
  max-width: 945px;
  margin: 20px auto;
  padding: 10px;
  background: #ECBC38;
  border: 1px solid black;
  border-radius: 8px;
  overflow: hidden;
}

/* Header / Banner */
#top_header {
  background: url("thecarpetmanbanner322.png") no-repeat center center;
  background-size: cover;
  height: 376px;
  border: 1px solid black;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Navigation */
nav {
  background: #000;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

nav li {
  margin: 10px 20px;
}

nav a {
  color: #ECBC38;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s;
}

nav a:hover {
  color: #fff;
}

/* Main Section */
#Main_Section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Articles / Cards */
article {
  background: #fff;
  border: 1px solid black;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}

article h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

article p {
  margin-bottom: 15px;
}

article a {
  display: inline-block;
  padding: 8px 16px;
  background: #ECBC38;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}

article a:hover {
  background: #d6a52f;
  color: #fff;
}

/* Footer */
footer {
  margin-top: 30px;
  padding: 20px;
  border-top: 2px solid black;
  text-align: center;
  font-size: 14px;
}
nav a.active {
  color: #fff;
  background: #ECBC38;
  padding: 8px 16px;
  border-radius: 4px;
}
/* Default style for header box */
#!top_header {
  border: 1px solid black;
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
}

/* Home page banner */
body.home #top_header {
  background-image: url("thecarpetmanbanner.jpg);
}

/* Carpet Repair page banner */
body.repair #top_header {
  background-image: url("carpetrepairbanner.jpg");
}

/* Carpet Restretching page banner */
body.restretch #top_header {
  background-image: url("thecarpetmanbanner.png);
}

/* Carpet Binding page banner */
body.binding #top_header {
  background-image: url("carpetbindingbanner.jpg");
}

/* Custom Rugs page banner */
body.rugs #top_header {
  background-image: url("customrugsbanner.jpg");
}

/* Contact page banner */
body.contact #top_header {
  background-image: url("contactbanner.jpg");
}
body.faq #top_header,
body.testimonials #top_header,
body.estimate #top_header {
  height: 280px;
  background-size: cover;
  background-position: center;
}

body.faq #top_header { background-image: url("banner-faq.jpg"); }
body.testimonials #top_header { background-image: url("banner-testimonials.jpg"); }
body.estimate #top_header { background-image: url("banner-estimate.jpg"); }

/* Testimonials review card */
.review {
  background: #fff;
  border: 1px solid #000;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}
.review-src {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
}

/* Estimate textarea larger */
body.estimate textarea {
  min-height: 250px;
}
