body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #edebe6;
  color: #000;
}
header {
  background: #000;
  color: #fff;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- Make logo much larger and always centered on mobile --- */
header img {
  height: 180px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 1rem auto;
}

/* --- Navbar: always wrap in rows, never a single column --- */
nav {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Add this line */
  gap: 1rem; /* or your preferred spacing */
}

nav a,
nav .cta.phone-cta {
  color: #222;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  padding: 0.4em 1em;
  border-radius: 25px;
  background: linear-gradient(90deg, #ffe066 0%, #ffd700 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  font-size: 1.05rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;         /* Set a fixed width for all navbar buttons */
  min-width: 140px;     /* Ensure minimum width matches */
  max-width: 140px;     /* Prevent buttons from growing wider */
  height: 40px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive: keep nav buttons in centered rows, never a single column */
@media (max-width: 900px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
  }
  /* Remove the following block if you want fixed width always: */
  /*
  nav a,
  nav .cta.phone-cta {
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    margin-bottom: 0.5rem;
  }
  */
  nav .cta.phone-cta {
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  header img {
    height: 140px; /* Slightly smaller for very small screens */
    margin: 0 auto 1rem auto;
    display: block;
  }
  nav {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }
  nav a,
  nav .cta.phone-cta {
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    margin-bottom: 0.5rem;
  }
  nav .cta.phone-cta {
    font-size: 0.95rem;
  }
}
nav a:hover,
nav a.active,
nav .cta.phone-cta:hover {
  background: linear-gradient(90deg, #ffd700 0%, #ffe066 100%);
  color: #000;
  transform: translateY(-2px) scale(1.05);
}
.hero {
  background-color: #edebe6;
  padding: 1.5rem 2rem;
  color: #000;
  text-align: center;
  min-height: unset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* margin-bottom: 0.5rem; */ /* Undo: remove or comment out this line */
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: #222;
}
.cta {
  background: #000;
  color: #fff;
  display: inline-block;
  padding: 1rem 2rem;
  margin-top: 2rem;
  text-decoration: none;
  border-radius: 5px;
}
.cta.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  padding: 0.6em 1.4em;
  border-radius: 25px;
  background: linear-gradient(90deg, #ffe066 0%, #ffd700 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  font-size: 1.1rem;
  margin: 0.8rem 0 0 0;
  width: 210px;      /* Slightly wider than navbar buttons */
  min-width: 170px;
  max-width: 260px;
  height: 48px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cta.hero-cta:hover {
  background: linear-gradient(90deg, #ffd700 0%, #ffe066 100%);
  color: #000;
  transform: translateY(-2px) scale(1.05);
}
.contact-form {
  background: #fff;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 8px;
}
.contact-form h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: #222;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin: 0.5rem 0 0.2rem;
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222;
  background: linear-gradient(90deg, #ffe066 0%, #ffd700 100%);
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  padding: 0.6em 1.4em;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  font-size: 1.1rem;
  border: none;
  margin-top: 1rem;
  width: 210px;
  min-width: 170px;
  max-width: 260px;
  height: 48px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}
.contact-form button:hover {
  background: linear-gradient(90deg, #ffd700 0%, #ffe066 100%);
  color: #000;
  transform: translateY(-2px) scale(1.05);
}
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
footer .social-link.facebook-link img {
  margin-left: 0.5rem;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: box-shadow 0.2s, filter 0.2s;
}
footer .social-link.facebook-link img:hover {
  filter: brightness(1.1) drop-shadow(0 0 4px #1877f2);
  box-shadow: none;
}
.gallery {
  background: #fff;
  padding: 1.5rem;
  max-width: 800px;
  width: 100%;
  margin: 2rem auto; /* Undo: restore original margin */
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
  box-sizing: border-box;
  /* margin-top: 0.5rem; */   /* Undo: remove or comment out this line */
  /* margin-bottom: 2rem; */  /* Undo: remove or comment out this line */
}
.gallery h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: #222;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}
.gallery-grid img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  margin: 0.5rem;
  display: block;
}
@media (max-width: 700px) {
  .gallery-grid img {
    width: 90vw;
    max-width: 340px;
    height: 180px;
  }
}
.thank-you-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #e0ffe0;
  border: 1px solid #00aa00;
  color: #006600;
  border-radius: 4px;
}
.services {
  background: #fff; /* Changed from #fffde7 to white */
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: left;
  box-sizing: border-box;
  overflow-x: auto;
}
.about {
  background: #fff;
  padding: 1.2rem 2rem 2rem 2rem;
  max-width: 800px;
  margin: 1.2rem auto 2rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
}
.blog-list .blog-post {
  display: block;
  margin-bottom: 2.5rem;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  margin-top: 0;         /* Remove any extra top margin */
}
.blog-list .blog-post img {
  display: block;
  margin: 0 auto 1rem auto;
  width: 240px;
  height: 180px;
  min-width: 180px;
  max-width: 270px;
  min-height: 135px;
  max-height: 210px;
  border-radius: 16px;
  box-shadow: 4px 8px 18px -6px rgba(0,0,0,0.18);
  object-fit: cover;
}
@media (max-width: 700px) {
  .blog-list .blog-post img {
    width: 90vw;
    max-width: 360px;
    height: 210px;
    min-height: 135px;
    margin: 0 auto 1rem auto;
    display: block;
  }
}

/* Fix blog text justification and remove broken/garbled rules */
.blog-list .blog-post p,
.blog-list .blog-post h2,
.blog-list .blog-post .blog-meta,
.blog-list .blog-post a.read-more {
  text-align: justify;
}
.blog-list .blog-post h1,
.blog-list .blog-post h2 {
  max-width: 90%;
  padding-left: 0;
  margin-left: 0;
  margin-right: auto;
  text-align: center; /* Or left, if you prefer */
  word-break: break-word;
}
.blog-list .blog-post h2 {
  text-align: left;
}

/* Remove all broken/garbled CSS below this point and restore media queries */
@media (max-width: 768px) {
  .blog-list .blog-post {
    padding: 1rem;
  }
  .about,
  .services {
    padding: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .services {
    padding: 1rem;
  }
}
@media (max-width: 900px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
  }
  /* Remove the following block if you want fixed width always: */
  /*
  nav a,
  nav .cta.phone-cta {
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    margin-bottom: 0.5rem;
  }
  */
  nav .cta.phone-cta {
    font-size: 1rem;
  }
}

/* Consistent section titles for all main sections */
.hero h1,
.about h2,
.gallery h2,
.services h2,
.contact-form h2,
.blog-list h1,
.blog-list h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #222;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  margin-top: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .hero h1,
  .about h2,
  .gallery h2,
  .services h2,
  .contact-form h2,
  .blog-list h1,
  .blog-list h2 {
    font-size: 1.5rem;
  }
}

.gallery,
.about,
.services,
.contact-form {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Add at the end of your CSS file */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.gallery-modal.active {
  display: flex;
}
.gallery-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.gallery-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.blog-list h1,
.blog-list h2 {
  text-align: left;
}
.blog-list {
  margin-top: 0.4rem; /* Move blog boxes up much closer to the title */
}
.contact-link {
  color: #d4a100;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-link:hover {
  color: #222;
  text-decoration: none;
}

/* Add after your .gallery-modal styles */
.blog-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.blog-modal.active {
  display: flex;
}
.blog-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.blog-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.blog-list-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  max-width: 800px;      /* Match .gallery, .about, .services, .contact-form */
  width: 100%;           /* Ensure full width within container */
  margin: 2rem auto;
  padding: 2rem;
  text-align: left;
  box-sizing: border-box; /* Consistent sizing */
}
.blog-list-box h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  text-align: center;
}
.blog-blurbs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-blurbs li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.08rem;
  line-height: 1.6;
}
.blog-blurb-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  flex-shrink: 0;
}
.blog-blurbs li div {
  flex: 1;
}
