/* ==========================================================================
   Wayzata Web Services - Main Stylesheet
   ========================================================================== */

/* Bootstrap 3's floated, percentage-width columns can round unevenly at
   non-100% browser zoom, dropping the last column in a row to its own line.
   Flexbox distributes the same widths without that rounding error. */
.row {
  display: flex;
  flex-wrap: wrap;
}
.row:before,
.row:after {
  display: none;
}

body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  color: #4a4a4a;
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  color: #1b3a57;
  font-weight: 700;
}

a {
  color: #1e73be;
}
a:hover, a:focus {
  color: #124a72;
  text-decoration: none;
}

/* Top bar */
.top-bar {
  background: #12293e;
  color: #cfe2f3;
  font-size: 12px;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1031;
}
.top-bar span {
  margin-right: 18px;
}
.top-bar i {
  margin-right: 4px;
  color: #4a90d9;
}
.top-bar a {
  color: #cfe2f3;
  margin-left: 10px;
}
.top-bar a:hover {
  color: #ffffff;
}

/* Navbar */
.main-nav {
  margin-bottom: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  top: 33px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1b3a57 !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.navbar-brand i {
  color: #1e73be;
}
.navbar-brand .brand-text span {
  color: #1e73be;
  font-weight: 400;
}
.navbar-logo {
  height: 42px;
  width: auto;
  margin-right: 10px;
  flex-shrink: 0;
}
.main-nav .navbar-nav > li > a {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  padding-top: 25px;
  padding-bottom: 25px;
}
.main-nav .navbar-nav > li > a:hover,
.main-nav .navbar-nav > .active > a {
  color: #1e73be;
  background-color: transparent;
}
.main-nav .btn-quote {
  background: #1e73be;
  background: linear-gradient(to bottom, #2c8ae0 0%, #1e73be 100%);
  color: #ffffff !important;
  border-radius: 3px;
  padding: 8px 18px !important;
  margin-top: 15px;
  margin-left: 10px;
  box-shadow: 0 2px 0 #145a94;
}
.main-nav .btn-quote:hover {
  background: #2c8ae0;
}

/* Hero */
.hero {
  margin-top: 79px;
  background: url('https://images.unsplash.com/photo-1487014679447-9f8336841d58?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center center no-repeat;
  background-size: cover;
  position: relative;
}
.hero-overlay {
  background: linear-gradient(135deg, rgba(15,45,74,0.92) 0%, rgba(30,115,190,0.85) 100%);
  padding: 110px 0 130px 0;
}
.hero-text {
  max-width: 700px;
  color: #ffffff;
}
.hero-text h1 {
  color: #ffffff;
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-text .lead {
  color: #dceaf7;
  font-size: 18px;
  margin-bottom: 30px;
}
.hero-text .btn {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  border-radius: 3px;
  margin-right: 10px;
  padding: 12px 28px;
}
.hero-text .btn-primary {
  background: #ffb400;
  background: linear-gradient(to bottom, #ffc233 0%, #ffb400 100%);
  border-color: #e6a200;
  color: #1b3a57;
  font-weight: 700;
  box-shadow: 0 3px 0 #cc8f00;
}
.hero-text .btn-primary:hover {
  background: #ffc233;
}
.hero-text .btn-default {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}
.hero-text .btn-default:hover {
  background: rgba(255,255,255,0.15);
}

/* Ribbon */
.ribbon {
  background: #ffb400;
  color: #1b3a57;
  padding: 12px 0;
  font-weight: 700;
  font-size: 14px;
}
.ribbon i {
  margin-right: 6px;
}

/* Sections */
.section {
  padding: 70px 0;
}
.section-title {
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 30px;
  position: relative;
  padding-bottom: 18px;
}
.section-title h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
  width: 60px;
  height: 4px;
  background: #1e73be;
}
.section-title p {
  color: #888888;
  font-size: 16px;
}

/* Services */
.services-section {
  background: #f4f7fa;
}
.service-box {
  background: #ffffff;
  padding: 35px 25px;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 4px;
  border-bottom: 3px solid #1e73be;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: all 0.25s ease-in-out;
}
.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.service-box i {
  font-size: 42px;
  color: #1e73be;
  margin-bottom: 18px;
  display: inline-block;
}
.service-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.service-box p {
  color: #777777;
  font-size: 14px;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials-section {
  background: #ffffff;
}
.testimonial {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 60px;
}
.testimonial i.fa-quote-left {
  font-size: 28px;
  color: #cfe2f3;
  margin-bottom: 15px;
}
.testimonial p {
  font-size: 18px;
  font-style: italic;
  color: #555555;
  margin-bottom: 20px;
}
.testimonial h4 {
  font-size: 14px;
  color: #1e73be;
  text-transform: none;
}
#testimonial-carousel .carousel-control {
  color: #1e73be;
  text-shadow: none;
  background-image: none;
  opacity: 1;
  width: 40px;
}
#testimonial-carousel .carousel-control span {
  font-size: 22px;
  position: absolute;
  top: 50%;
  margin-top: -11px;
}

/* CTA */
.cta-section {
  background: #1e73be;
  background: linear-gradient(135deg, #2c8ae0 0%, #145a94 100%);
  padding: 60px 0;
  color: #ffffff;
}
.cta-section h2 {
  color: #ffffff;
}
.cta-section p {
  color: #dceaf7;
  font-size: 16px;
  margin-bottom: 25px;
}
.cta-section .btn-primary {
  background: #ffb400;
  background: linear-gradient(to bottom, #ffc233 0%, #ffb400 100%);
  border-color: #e6a200;
  color: #1b3a57;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 3px;
  box-shadow: 0 3px 0 #cc8f00;
}
.cta-section .btn-primary:hover {
  background: #ffc233;
}

/* Footer */
.footer {
  background: #0f2536;
  color: #93a9bd;
  padding: 60px 0 20px 0;
  font-size: 14px;
}
.footer h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer p {
  line-height: 1.7;
}
.footer-links, .footer-contact {
  list-style: none;
  padding: 0;
}
.footer-links li, .footer-contact li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #93a9bd;
}
.footer-links a:hover {
  color: #4a90d9;
}
.footer-contact i {
  color: #4a90d9;
  width: 18px;
}
.footer hr {
  border-color: #1e3a52;
}
.footer .copyright {
  margin: 0;
  font-size: 13px;
}
/* Back to top */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: #1e73be;
  color: #ffffff;
  text-align: center;
  line-height: 42px;
  border-radius: 3px;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.back-to-top:hover {
  background: #145a94;
  color: #ffffff;
}

/* Cookie consent banner */
.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #12293e;
  color: #cfe2f3;
  padding: 18px 0;
  z-index: 1040;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
}
.cookie-banner i {
  color: #4a90d9;
  margin-right: 6px;
}
.btn-cookie-accept {
  flex-shrink: 0;
  background: #1e73be;
  background: linear-gradient(to bottom, #2c8ae0 0%, #1e73be 100%);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 3px;
  padding: 10px 26px;
  box-shadow: 0 2px 0 #145a94;
}
.btn-cookie-accept:hover {
  background: #2c8ae0;
}

@media (max-width: 767px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Page header (interior pages) */
.page-header-banner {
  margin-top: 79px;
  background: linear-gradient(135deg, rgba(15,45,74,0.95) 0%, rgba(30,115,190,0.9) 100%);
  padding: 60px 0;
  text-align: center;
}
.page-header-banner h1 {
  color: #ffffff;
  margin-bottom: 10px;
}
.page-header-banner .breadcrumb {
  background: transparent;
  color: #cfe2f3;
  display: inline-block;
  padding: 0;
}
.page-header-banner .breadcrumb a {
  color: #cfe2f3;
}
.page-header-banner .breadcrumb .active {
  color: #ffb400;
}

/* Misc badges used on interior pages */
.badge-blue {
  background: #1e73be;
}

/* Pricing tables */
.pricing-box {
  background: #ffffff;
  border: 1px solid #e2e8ee;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}
.pricing-box .pricing-header {
  background: #f4f7fa;
  padding: 30px 20px 25px 20px;
  border-bottom: 1px solid #e2e8ee;
}
.pricing-box.featured {
  border: 2px solid #1e73be;
  box-shadow: 0 8px 20px rgba(30,115,190,0.2);
  margin-top: -10px;
  z-index: 1;
}
.pricing-box.featured .pricing-header {
  background: #1e73be;
  background: linear-gradient(135deg, #2c8ae0 0%, #145a94 100%);
}
.pricing-box.featured .pricing-header h3,
.pricing-box.featured .pricing-header .price,
.pricing-box.featured .pricing-header .price-sub {
  color: #ffffff;
}
.pricing-box .ribbon-badge {
  position: absolute;
  top: 14px;
  right: -32px;
  background: #ffb400;
  color: #1b3a57;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.pricing-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.pricing-box .price {
  font-size: 42px;
  font-weight: 700;
  color: #1e73be;
  font-family: 'Oswald', sans-serif;
}
.pricing-box .price sup {
  font-size: 18px;
  top: -18px;
}
.pricing-box .price .price-old {
  display: block;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
  color: #a8a8a8;
  text-decoration: line-through;
  margin-bottom: 2px;
}
.pricing-box.featured .price .price-old {
  color: #bcd7ef;
}
.pricing-box .price-sub {
  color: #999999;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-box .pricing-features {
  list-style: none;
  padding: 25px 25px 5px 25px;
  margin: 0;
  text-align: left;
}
.pricing-box .pricing-features li {
  padding: 9px 0;
  border-bottom: 1px dotted #e2e8ee;
  color: #555555;
  font-size: 14px;
}
.pricing-box .pricing-features li i {
  color: #2ecc71;
  margin-right: 8px;
  width: 14px;
}
.pricing-box .pricing-features li.disabled {
  color: #bbbbbb;
}
.pricing-box .pricing-features li.disabled i {
  color: #dddddd;
}
.pricing-box .pricing-footer {
  padding: 25px;
}
.pricing-box .btn-pricing {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 10px 30px;
  background: #f4f7fa;
  border: 2px solid #1e73be;
  color: #1e73be;
  font-weight: 700;
}
.pricing-box .btn-pricing:hover {
  background: #1e73be;
  color: #ffffff;
}
.pricing-box.featured .btn-pricing {
  background: #ffb400;
  border-color: #e6a200;
  color: #1b3a57;
  box-shadow: 0 3px 0 #cc8f00;
}
.pricing-box.featured .btn-pricing:hover {
  background: #ffc233;
}
.pricing-note {
  text-align: center;
  color: #888888;
  margin-top: 10px;
  font-size: 14px;
}

/* Interior content pages */
.content-section {
  padding: 70px 0;
}
.content-section.alt {
  background: #f4f7fa;
}
.team-member {
  text-align: center;
  margin-bottom: 30px;
}
.team-member .photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #1e73be;
  background: linear-gradient(135deg, #2c8ae0 0%, #145a94 100%);
  color: #ffffff;
  font-size: 50px;
  line-height: 140px;
  margin: 0 auto 18px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.team-member h4 {
  margin-bottom: 2px;
  font-size: 16px;
}
.team-member .role {
  color: #1e73be;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.team-member p.bio {
  color: #777777;
  font-size: 14px;
}

.contact-info-box {
  background: #ffffff;
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}
.contact-info-box i {
  font-size: 26px;
  color: #1e73be;
  margin-bottom: 12px;
  display: inline-block;
}
.contact-info-box h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
.contact-info-box p {
  color: #777777;
  font-size: 14px;
  margin-bottom: 0;
}
.contact-form-wrap {
  background: #ffffff;
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.contact-form-wrap .form-control {
  border-radius: 2px;
  box-shadow: none;
  border: 1px solid #d5dee6;
  padding: 10px 14px;
  height: auto;
  margin-bottom: 20px;
}
.contact-form-wrap .form-control:focus {
  border-color: #1e73be;
  box-shadow: 0 0 0 2px rgba(30,115,190,0.15);
}
.contact-form-wrap label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  color: #555555;
}
.contact-form-wrap .btn-submit {
  background: #1e73be;
  background: linear-gradient(to bottom, #2c8ae0 0%, #1e73be 100%);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 3px;
  border: none;
  box-shadow: 0 3px 0 #145a94;
}
.contact-form-wrap .btn-submit:hover {
  background: #2c8ae0;
}
/* Checkout / payment gateway preview */
.checkout-note {
  background: #f4f7fa;
  border: 1px solid #e2e8ee;
  border-radius: 4px;
  padding: 12px 16px;
  color: #777777;
  font-size: 13px;
}
.checkout-note i {
  color: #1e73be;
  margin-right: 4px;
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.btn-payment {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 4px;
  border: none;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-payment i {
  margin-right: 8px;
  font-size: 18px;
}
.btn-payment-paypal {
  background: linear-gradient(to bottom, #009cde 0%, #003087 100%);
  color: #ffffff;
}
.btn-payment-card {
  background: linear-gradient(to bottom, #2c8ae0 0%, #1e73be 100%);
  color: #ffffff;
}

@media (max-width: 767px) {
  .hero { margin-top: 51px; }
  .page-header-banner { margin-top: 51px; }
  .main-nav { top: 0; }
  .top-bar { display: none; }
  .hero-text h1 { font-size: 30px; }
}

/* ==========================================================================
   Dark theme — follows the visitor's device/browser setting
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0d1319;
    color: #c7d3de;
  }
  h1, h2, h3, h4, h5, h6 {
    color: #eaf3fb;
  }
  a {
    color: #6ab0f3;
  }
  a:hover, a:focus {
    color: #9ecbf7;
  }

  .main-nav {
    background: #101922;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  }
  .navbar-brand,
  .navbar-brand.navbar-brand {
    color: #eaf3fb !important;
  }
  .main-nav .navbar-nav > li > a {
    color: #c7d3de;
  }
  .main-nav .navbar-nav > li > a:hover,
  .main-nav .navbar-nav > .active > a {
    color: #6ab0f3;
  }
  .navbar-toggle .icon-bar {
    background-color: #c7d3de;
  }

  .section-title h2:after {
    background: #4a9eea;
  }
  .section-title p {
    color: #8a9aa8;
  }

  .services-section,
  .testimonials-section {
    background: #0d1319;
  }
  .service-box {
    background: #17222c;
    border-bottom-color: #4a9eea;
    box-shadow: 0 1px 6px rgba(0,0,0,0.4);
  }
  .service-box i {
    color: #6ab0f3;
  }
  .service-box p {
    color: #9fb0bf;
  }

  .testimonial p {
    color: #c7d3de;
  }
  .testimonial h4 {
    color: #6ab0f3;
  }
  .testimonial i.fa-quote-left {
    color: #2a3742;
  }

  .footer {
    background: #081019;
  }

  .page-header-banner .breadcrumb .active {
    color: #ffc233;
  }

  .content-section.alt {
    background: #131c25;
  }
  .team-member p.bio {
    color: #9fb0bf;
  }

  .pricing-box {
    background: #17222c;
    border-color: #2a3742;
    box-shadow: 0 1px 6px rgba(0,0,0,0.4);
  }
  .pricing-box .pricing-header {
    background: #131c25;
    border-bottom-color: #2a3742;
  }
  .pricing-box .price {
    color: #6ab0f3;
  }
  .pricing-box .price-sub {
    color: #8a9aa8;
  }
  .pricing-box .price .price-old {
    color: #566876;
  }
  .pricing-box .pricing-features li {
    color: #b7c4d0;
    border-bottom-color: #2a3742;
  }
  .pricing-box .pricing-features li.disabled {
    color: #56626c;
  }
  .pricing-box .btn-pricing {
    background: #131c25;
    border-color: #4a9eea;
    color: #6ab0f3;
  }
  .pricing-box .btn-pricing:hover {
    background: #4a9eea;
    color: #0d1319;
  }
  .pricing-note {
    color: #8a9aa8;
  }

  .contact-info-box,
  .contact-form-wrap {
    background: #17222c;
    box-shadow: 0 1px 6px rgba(0,0,0,0.4);
  }
  .contact-info-box i {
    color: #6ab0f3;
  }
  .contact-info-box p {
    color: #9fb0bf;
  }
  .contact-form-wrap label {
    color: #9fb0bf;
  }
  .contact-form-wrap .form-control {
    background: #0d1319;
    border-color: #2a3742;
    color: #c7d3de;
  }
  .contact-form-wrap .form-control::placeholder {
    color: #5b6b78;
  }
  .contact-form-wrap .form-control:focus {
    border-color: #4a9eea;
    box-shadow: 0 0 0 2px rgba(74,158,234,0.2);
  }
}
