/* Custom Styles for Smart Locksmith */

/* Global */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f9f1f3, #f3f0f9); /* Light gradient blend */
  color: #1b0a59;
}

/* Header */
header {
  background: linear-gradient(135deg, #c40026, #1b0a59);
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

header h1 {
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: 2px;
}

header p.lead {
  font-size: 1.25rem;
  font-weight: 500;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #c40026, #1b0a59);
  padding: 0.75rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.navbar-brand img {
  height: 70px;
  width: auto;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
  background-color: white;
  border-radius: 6px;
  padding: 4px 6px;
}

.navbar-dark .navbar-nav .nav-link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  color: white;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffcdd2;
  outline: 3px solid #ffcdd2;
  outline-offset: 2px;
}

/* Services Section */
#services h2 {
  color: #c40026;
  font-weight: 700;
}

#services h3 {
  color: #1b0a59;
  margin-bottom: 15px;
  font-weight: 700;
}

#services p {
  font-size: 1rem;
  color: #555;
}

#services img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

#services img:hover,
#services img:focus {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  outline: none;
}

/* Quote Form */
#quote {
  font-size: 1rem;
}

#quote form {
  max-width: 700px;
  margin: 2rem auto 0; /* unified margin-top */
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

#quote label {
  font-weight: 600;
  color: #1b0a59;
}

#quote input.form-control,
#quote select.form-select,
#quote textarea.form-control {
  border-radius: 8px;
  border: 1.5px solid #c40026;
  transition: border-color 0.3s ease;
}

#quote input.form-control:focus,
#quote select.form-select:focus,
#quote textarea.form-control:focus {
  border-color: #1b0a59;
  box-shadow: 0 0 8px #1b0a5980;
  outline: none;
}

#quote button.btn-primary {
  background-color: #c40026;
  border: none;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

#quote button.btn-primary:hover,
#quote button.btn-primary:focus {
  background-color: #1b0a59;
  box-shadow: 0 4px 15px #1b0a59cc;
  outline: 3px solid #ffcdd2;
  outline-offset: 2px;
}

/* Contact Section */
#contact a {
  color: #c40026;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

#contact a:hover,
#contact a:focus {
  color: #1b0a59;
  text-decoration: underline;
  outline: 3px solid #ffcdd2;
  outline-offset: 2px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1b0a59, #c40026);
  color: white;
  padding: 30px 0;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.footer a:hover,
.footer a:focus {
  color: #ffcdd2;
  text-decoration: underline;
  outline: none;
}

.footer h5 {
  font-weight: 700;
  color: #ffcdd2;
  letter-spacing: 0.05em;
}

.footer p,
.footer li {
  font-size: 0.95rem;
}

.footer .d-flex a img {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.footer .d-flex a:hover img,
.footer .d-flex a:focus img {
  transform: scale(1.15);
  opacity: 1;
}

.footer .bi {
  font-size: 1.2rem;
  line-height: 1;
}

  section {
    padding: 1.5rem 1rem;
  }
}

/* About Section */
#about h2 {
  font-weight: 700;
  color: #c40026;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.6;
}

#about img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Layout & Centering Tweaks */

#services .row {
  justify-content: center;
  row-gap: 2rem;
}

#about .row {
  align-items: center;
  justify-content: center;
  text-align: left;
}

@media (max-width: 768px) {
  #about .row {
    text-align: center;
  }

  #about .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Section Background & Spacing */
section {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}

html {
  scroll-behavior: smooth;
}

/* Multi-column dropdown fix */
.dropdown-menu .areas-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  min-width: 600px;
  max-width: 95vw; /* Avoids overflowing the screen */
}

.dropdown-menu .areas-grid > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Match your brand */
.dropdown-menu .dropdown-item {
  padding: 8px 12px;
  border-radius: 6px;
  color: #1b0a59;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #f2f2f2;
  color: #c40026;
}

.hero-banner {
  background-image: url('/img/cover_photo.webp'); /* Replace with preferred URL */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px; /* Adjust as needed */
  border-radius: 12px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 150px; /* or 160px if you prefer */
  }


  .footer .col-md-4 {
    text-align: left;
  }

  .footer .col-md-4 .d-flex {
    justify-content: flex-start;
    padding-left: 0 !important;
  }

  .footer-social {
    justify-content: flex-start !important;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 769px) {
  .footer-social {
    justify-content: flex-start;
  }
}
/* Fix phone and email icon alignment in footer */
.footer .d-flex.align-items-center i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 1.25rem;
  line-height: 1;
}

.footer .d-flex.align-items-center a {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.25;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-box {
  display: inline-block; /* so box wraps content */
  background-color: #1b0a59; /* your blue color */
  border-radius: 8px;
  padding: 8px 20px;
  box-shadow: 0 4px 10px rgba(27, 10, 89, 0.5);
  font-weight: 700;
  font-size: 1.5rem;
}
.call-box a {
  color: #ffffff;
  text-decoration: none;
}
.call-box a:hover,
.call-box a:focus {
  text-decoration: underline;
  color: #ffcdd2; /* subtle hover color */
}

/* Service Title Link Color */
.service-title-link {
  color: #1b0a59; /* Your brand blue */
  font-weight: 700;
}

.service-title-link:hover,
.service-title-link:focus {
  color: #c40026; /* Optional hover effect: red */
  text-decoration: underline;
}

.custom-blue-link {
  color: #1b0a59; /* your blue */
  text-decoration: none;
  font-weight: 700;
}

.custom-blue-link:hover,
.custom-blue-link:focus {
  color: #c40026; /* your red accent on hover */
}


/* About section custom title color */
.about-title {
  color: #1b0a59; /* Brand blue */
  font-weight: 700;
}

/* Quote section custom title color */
.quote-title {
  color: #1b0a59; /* Your brand blue */
  font-weight: 700;
}

.custom-blue-heading {
  color: #1b0a59;
  font-weight: 700;
}

.highlight-quote-text {
  color: #1b0a59;
  font-weight: 700;
}

.thank-you-section {
      padding: 60px 0;
      text-align: center;
      background-color: #f9f9f9;
    }

    .thank-you-section h1 {
      color: #1b0a59;
      font-size: 3rem;
      margin-bottom: 20px;
    }

    .thank-you-section h2 {
      color: #333;
      font-weight: 400;
      margin-bottom: 15px;
    }

    footer {
      background-color: #1b0a59;
      color: white;
      padding: 40px 0;
    }

.btn-home {
      background-color: #c40026;
      color: #fff;
      font-size: 1.2rem;
      padding: 12px 30px;
      border: none;
      border-radius: 50px;
      margin-top: 30px;
      text-transform: uppercase;
      transition: background-color 0.3s ease;
    }

    .btn-home:hover {
      background-color: #a3001f;
      color: #fff;
      text-decoration: none;
    }

    .btn-red {
  background-color: #c40026;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-red:hover,
.btn-red:focus {
  background-color: #1b0a59; /* brand blue on hover */
  box-shadow: 0 4px 15px #1b0a59cc;
  outline: 3px solid #ffcdd2;
  outline-offset: 2px;
  color: #ffcdd2;
}

.custom-blue {
  color: #1b0a59;
}

.custom-red {
  color: #c40026;
}

#services .custom-blue {
  color: #1b0a59;
}

.residential-img {
  width: 100%;
  height: 370px; /* or 300px based on your preference */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.residential-img:hover,
.residential-img:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .residential-img {
    height: 180px; /* adjust to your liking for mobile */
  }
}  

.commercial-img {
  width: 100%;
  height: 250px; /* or 300px based on your preference */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.commercial-img:hover,
.commercial-img:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .commercial-img {
    height: 180px; /* adjust to your liking for mobile */
  }
}

  .automotive-img {
  width: 100%;
  height: 250px; /* or 300px based on your preference */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.automotive-img:hover,
.automotive-img:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .automotive-img {
    height: 180px; /* adjust to your liking for mobile */
  }
}

  .emergency-img {
  width: 100%;
  height: 250px; /* or 300px based on your preference */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.emergency-img:hover,
.emergency-img:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .emergency-img {
    height: 180px; /* adjust to your liking for mobile */
  }
}
  .mailbox-img {
  width: 100%;
  height: 250px; /* or 300px based on your preference */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mailbox-img:hover,
.mailbox-img:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .mailbox-img {
    height: 180px; /* adjust to your liking for mobile */
  }
}
  .safe-img {
  width: 100%;
  height: 350px; /* or 300px based on your preference */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.safe-img:hover,
.safe-img:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .safe-img {
    height: 180px; /* adjust to your liking for mobile */
  }
}

.text-center .section-highlight-text {
  color: #1b0a59;
}
