/*
Theme Name: My Bootstrap Theme
Author: You
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

table {
  max-width: 100%;
}

pre,
code {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.wp-block-table,
.wp-block-embed,
.wp-block-video,
.wp-block-columns {
  max-width: 100%;
}

.wp-block-table {
  overflow-x: auto;
}

.wp-site-blocks,
.site,
main,
.container,
.container-fluid {
  min-width: 0;
}

.site-footer .footer-widget a {
  text-decoration: none;
}

.site-footer .footer-menu-widget a {
  line-height: 1.5;
}

.service-area-page__hero {
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
  padding: 48px 0;
  margin-bottom: 32px;
}

.service-area-page__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #ffffff;
  color: #be185d;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.service-area-page__heading {
  color: #1e3a8a;
  font-weight: 800;
  margin-bottom: 24px;
}

.service-area-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.service-area-page__button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.service-area-page__button--primary {
  background: #db2777;
  color: #ffffff;
}

.service-area-page__button--secondary {
  background: #ffffff;
  color: #1e3a8a;
  border: 1px solid #e5e7eb;
}

.service-area-page__nearby {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.service-area-page__nearby ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-area-page__nearby li {
  margin-bottom: 10px;
}

.site-footer .footer-menu-widget-group {
  margin-bottom: 0 !important;
}

.site-footer .footer-menu-widget {
  margin-bottom: 0;
}

.site-footer .footer-widget {
  padding-left: 2rem;
  padding-right: 2rem;
}

.mytheme-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.mytheme-social-link {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
}

.mytheme-social-svg,
.mytheme-social-custom-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.mytheme-social-custom-icon {
  background-color: currentColor;
  -webkit-mask: var(--mytheme-social-icon-url) center / contain no-repeat;
  mask: var(--mytheme-social-icon-url) center / contain no-repeat;
}

.before-after-gallery-list {
  margin-top: 30px;
  width: 100%;
}

.before-after-item .photo-container {
  display: flex;
  gap: 0;
}

.before-after-item img {
  width: 100%;
}

/* Fix Bootstrap 5 submenu positioning */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.weight-bold {
  font-weight: bold;
}

.topNav .nav-link {
  font-weight: 600;
}

.service-column {
  position: relative;
}

.service-column img {
  width: 100%;
}

.service-column .wp-block-heading {
  position: absolute;
  bottom: 37px;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

.wp-element-button {
  font-weight: 600;
}

.before-after-item .house-address {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 5px;
}

header.bg-light {
  background-color: #a6d0fb !important;
}

.topNav .nav-link {
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.navbar-brand img,
.custom-logo {
  max-width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  header.navbar {
    position: relative;
    z-index: 1030;
  }

  .wpcf7-form {
    padding-left: 15px;
    padding-right: 15px;
  }

  header.navbar > .container {
    position: static;
  }

  header.navbar .topNav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1030;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 8px 16px 16px;
    background: #a6d0fb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  }

  header.navbar .topNav .navbar-nav {
    width: 100%;
  }

  .topNav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .topNav .dropdown-menu .dropdown-item {
    padding-left: 2rem;
    white-space: normal;
  }

  .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* Default form styling (brand colors) — applies to Contact Form 7, comment
   forms, and any other plain HTML forms sitewide unless overridden. */
form label {
  display: block;
  color: #1e3a8a;
  font-weight: 600;
  margin-bottom: 6px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="url"],
form input[type="number"],
form input[type="search"],
form select,
form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #1f2937;
  background: #ffffff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="url"]:focus,
form input[type="number"]:focus,
form input[type="search"]:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #db2777;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form input[type="submit"],
form .wpcf7-submit,
form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, #1e3a8a, #db2777);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

form input[type="submit"]:hover,
form .wpcf7-submit:hover,
form button[type="submit"]:hover {
  opacity: 0.9;
}

.wpcf7-not-valid-tip {
  color: #b32d2e;
  font-size: 0.85rem;
  margin-top: 4px;
}

.wpcf7-response-output {
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #1e3a8a;
  color: #1e3a8a;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #b32d2e;
  color: #b32d2e;
}

/* Free Estimate form: fields on the left, message textarea on the right. */
.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.estimate-form__message {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.estimate-form__message-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.estimate-form__message-field label {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.estimate-form__message-field textarea {
  flex: 1;
  min-height: 220px;
}

@media (max-width: 700px) {
  .estimate-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .navbar > .container,
  .navbar > .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section-block {
    border-radius: 12px;
    padding: 28px 20px !important;
  }

  .hero-section-block__inner {
    gap: 28px;
  }

  .hero-section-block__content,
  .hero-section-block__media {
    flex-basis: 100%;
    min-width: 0;
  }

  .hero-section-block__heading {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .hero-section-block__paragraph {
    font-size: 1rem;
  }

  .hero-section-block__buttons,
  .cta-section-block__buttons,
  .location-section-block__buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-section-block__button,
  .cta-section-block__button,
  .location-section-block__button {
    width: 100%;
  }

  .services-grid-block {
    padding: 48px 16px !important;
  }

  .services-grid-block__intro {
    margin-bottom: 32px;
  }

  .services-grid-block__heading {
    font-size: 1.8rem;
  }

  .services-grid-block__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .services-grid-block__card {
    padding: 20px;
  }

  .cta-section-block {
    padding: 48px 20px !important;
  }

  .cta-section-block__heading {
    font-size: 1.7rem;
  }

  .cta-section-block__paragraph {
    font-size: 1rem;
  }

  .location-section-block__inner--contained {
    padding: 48px 16px;
  }

  .location-section-block__grid {
    gap: 20px;
  }

  .location-section-block__card {
    padding: 24px 20px;
  }

  .location-section-block__map,
  .location-section-block__map-editor .location-section-block__map {
    min-height: 280px;
  }
}
