/*
 * OrdersPal website.
 * Design follows the original orderspal.com page (Themefisher "Bingo" Bootstrap template):
 * Roboto + Volkhov italic, #655E7A accent, uppercase section titles, full-width image bands.
 * Plain CSS, no Bootstrap/jQuery.
 */

:root {
  --main: #655e7a;          /* template accent */
  --main-dark: #353240;     /* button hover */
  --shadow-ink: #38334a;    /* text-shadow on image bands */
  --heading: #333;
  --text: #7b7b7b;
  --text-soft: #667;
  --nav-link: #5c5c5c;
  --border: #dedede;
  --gray: #f5f5f5;
  --tile: #f9fcfb;
  --success: #2e8b57;
  --danger: #c0392b;
  --header-h: 90px;

  /*
   * Background images for the three image bands. The original photos weren't recoverable, so these
   * are gradients in the template colours. To use a photo, put it in img/ and change the value, e.g.
   *   --hero-bg: linear-gradient(rgba(53, 50, 64, .55), rgba(53, 50, 64, .55)), url("../img/slider-bg.jpg");
   */
  --hero-bg:
    radial-gradient(1000px 500px at 15% 20%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(900px 600px at 90% 90%, rgba(101, 156, 224, .35), transparent 60%),
    linear-gradient(135deg, #3d3850 0%, #655e7a 55%, #7d76a0 100%);
  --feature-bg:
    radial-gradient(800px 500px at 0% 50%, rgba(101, 94, 122, .18), transparent 70%),
    linear-gradient(120deg, #e9e7f0 0%, #f6f5fa 50%, #ffffff 100%);
  --cta-bg:
    radial-gradient(700px 400px at 80% 0%, rgba(101, 156, 224, .35), transparent 60%),
    linear-gradient(120deg, #353240 0%, #655e7a 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  color: var(--heading);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: "Roboto", sans-serif; font-weight: 400; margin: 0 0 10px; color: var(--heading); line-height: 1.25; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { color: var(--text); font-size: 15px; margin: 0 0 10px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a, a:focus, a:hover { text-decoration: none; color: var(--main); }
a:hover { color: var(--main-dark); }
:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--main); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; color: #fff; }
.text-center { text-align: center; }

/* ---------- Grid (Bootstrap-like) ---------- */
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.container.narrow { max-width: 860px; }
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 30px; align-items: center; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-offset-1 { grid-column: 8 / span 5; }
.col-6.col-offset-6 { grid-column: 7 / span 6; }
@media (max-width: 991px) {
  .row { grid-template-columns: 1fr; row-gap: 40px; }
  .col-5, .col-6, .col-7, .col-offset-1, .col-6.col-offset-6 { grid-column: 1 / -1; }
  .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn-main {
  display: inline-block;
  background: var(--main);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 35px;
  text-transform: uppercase;
  border: 1px solid var(--main);
  border-radius: 0;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-main:hover, .btn-main:focus { background: var(--main-dark); border-color: var(--main-dark); color: #fff; }
.btn-main[disabled] { opacity: .65; cursor: progress; }
.btn-round { border-radius: 30px; }
.btn-small { padding: 9px 20px; font-size: 13px; }
.btn-solid-border { border: 1px solid #fff; background: transparent; color: #fff; }
.btn-solid-border:hover { border-color: var(--main); background: var(--main); }

/* ---------- Navigation ---------- */
.navigation { background: #fff; padding: 20px 0; position: sticky; top: 0; z-index: 50; transition: box-shadow .2s, padding .2s; }
.navigation.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, .08); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navbar-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); }
.navbar-brand:hover, .navbar-brand:focus { color: var(--heading); }
.navbar-brand img { height: 40px; width: 40px; }
.brand-text { font-size: 26px; font-weight: 700; letter-spacing: -.3px; line-height: 1; color: #333; }
.navbar-nav { display: flex; align-items: center; }
.navbar-nav > li > a {
  display: block; color: var(--nav-link); padding: 10px 15px;
  font-weight: 500; font-size: 14px; text-transform: uppercase;
}
.navbar-nav > li > a:hover { color: #000; }
.navbar-nav > li.nav-cta { margin-left: 10px; }
.navbar-nav > li.nav-cta > a { color: #fff; padding: 9px 22px; }
.navbar-nav > li.nav-cta > a:hover { color: #fff; }

.navbar-toggle {
  display: none; background: transparent; border: 1px solid #ddd; border-radius: 4px;
  padding: 9px 10px; cursor: pointer;
}
.navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--main); }
.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }

@media (max-width: 991px) {
  .navbar-toggle { display: block; }
  .navbar-collapse {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid #eee; box-shadow: 0 10px 20px rgba(0, 0, 0, .06); padding: 6px 15px 18px;
  }
  .navbar-collapse.open { display: block; }
  .navbar-nav { flex-direction: column; align-items: stretch; }
  .navbar-nav > li > a { padding: 12px 5px; border-bottom: 1px solid #f0f0f0; }
  .navbar-nav > li.nav-cta { margin: 14px 0 0; }
  .navbar-nav > li.nav-cta > a { text-align: center; border-bottom: 0; }
  .navbar-brand img { height: 34px; width: 34px; }
  .brand-text { font-size: 22px; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.bg-gray { background: var(--gray); }
.section-title { margin-bottom: 70px; }
.section-title h2 { text-transform: uppercase; font-size: 28px; font-weight: 600; }
.section-title p { font-style: italic; color: var(--text-soft); font-family: "Volkhov", serif; font-size: 16px; line-height: 1.7; }
.section-subtitle { font-size: 28px; font-weight: 600; text-transform: uppercase; margin-bottom: 30px; color: var(--text-soft); text-shadow: 1px 1px azure; }
@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .section-title { margin-bottom: 45px; }
}

/* Overlay for image bands */
.overly { position: relative; }
.overly::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
.overly > .container { position: relative; }

/* ---------- Slider (hero) ---------- */
.slider {
  background: var(--hero-bg);
  background-size: cover;
  background-position: 10% 0%;
  background-attachment: fixed;
  padding: 150px 0 200px;
  position: relative;
  min-height: 620px;
}
.slider .block { color: #fff; text-align: center; }
.slider .block h1 {
  color: #fff;
  font-weight: 900;
  font-size: 45px;
  line-height: 60px;
  letter-spacing: 10px;
  padding-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 2px 2px var(--shadow-ink);
}
.slider .block p { margin-bottom: 30px; color: #fff; font-size: 18px; line-height: 27px; font-weight: 300; text-shadow: 1px 1px #000; }
.slider-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 767px) {
  .slider { padding: 90px 0 110px; min-height: 0; background-attachment: scroll; }
  .slider .block h1 { font-size: 30px; line-height: 42px; letter-spacing: 4px; }
}

/* Entrance animation (stands in for animate.css fadeInUp) */
.fade-up { animation: fadeInUp .9s both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-up { animation: none; } }

/* ---------- About / How it works ---------- */
.about .section-title { margin-bottom: 30px; }
.about .block p { line-height: 28px; }
.about-img { overflow: hidden; }
.about-img img { width: 100%; transition: transform .4s ease; }
.about-img:hover img { transform: scale(1.1); }
.steps { margin: 0 0 20px; }
.steps li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--heading); font-size: 16px; }
.steps li span {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--main); color: #fff; font-weight: 700;
}

/* ---------- Feature band ---------- */
.feature {
  background: var(--feature-bg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  padding: 100px 0;
}
.feature p { color: var(--text-soft); }
.checklist { margin: 20px 0 25px; padding: 5px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--text-soft); text-shadow: 1px 1px azure; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e8b57' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-view-works { margin-top: 10px; }
@media (max-width: 767px) { .feature { padding: 70px 0; background-attachment: scroll; } }

/* ---------- Services ---------- */
.service { text-align: center; padding: 90px 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-item { padding: 35px 20px 30px; background-color: var(--tile); transition: box-shadow .25s, transform .25s; }
.service-item:hover { box-shadow: 0 10px 30px rgba(101, 94, 122, .15); transform: translateY(-3px); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-item .icon { font-size: 60px; color: var(--main); margin: 0 auto; }
.service-item h4 { padding-top: 15px; margin: 0; font-weight: 500; text-transform: uppercase; }
.service-item p { padding-top: 10px; margin: 0; }
@media (max-width: 991px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Call to action ---------- */
.bg-1 { background: var(--cta-bg); background-size: cover; background-attachment: fixed; }
.call-to-action { padding: 70px 0; text-align: center; }
.call-to-action h2 { color: #fff; text-shadow: 2px 2px var(--shadow-ink); }
.call-to-action p { color: #fff; text-shadow: 2px 2px var(--shadow-ink); line-height: 1.7; }
.call-to-action .btn-main { padding: 15px 35px; font-size: 12px; margin-top: 30px; }
@media (max-width: 767px) { .bg-1 { background-attachment: scroll; } }

/* ---------- Testimonial-style block (store addresses) ---------- */
.testimonial { padding: 100px 0; }
.counter-box { display: grid; grid-template-columns: 1fr 1fr; }
.counter-box li { text-align: center; margin: 30px 0; padding: 0 10px; }
.counter-box .icon { font-size: 35px; color: var(--heading); margin: 0 auto 8px; }
.counter-box h4 { font-size: 20px; font-weight: bold; margin-bottom: 4px; }
.counter-box span { color: #555; font-size: 14px; overflow-wrap: anywhere; }
.testimonial-carousel { border: 1px solid var(--border); padding: 30px 24px; }
.testimonial-carousel .icon.quote { font-size: 35px; color: var(--heading); margin: 0 auto 10px; }
.testimonial-carousel h3 { font-weight: 500; }
.testimonial-carousel p { font-family: "Volkhov", serif; font-style: italic; line-height: 28px; }
.store-address {
  font-family: "Roboto", sans-serif !important; font-style: normal !important;
  font-size: 20px; font-weight: 700; color: var(--heading) !important;
  border: 1px dashed var(--main); padding: 12px; margin: 18px 0 !important; overflow-wrap: anywhere;
}
.store-address span { color: var(--main); }
.testimonial-carousel .user p { font-family: "Roboto", sans-serif; font-style: normal; font-size: 13px; line-height: 20px; margin: 0; }
.testimonial-carousel .user p span { display: block; color: #353241; font-weight: 600; margin-top: 6px; }
@media (max-width: 767px) { .testimonial { padding: 70px 0; } }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--border); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 50px 16px 20px; position: relative;
  font-weight: 500; font-size: 16px; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 300; color: var(--main); transition: transform .2s;
}
.faq details[open] summary { color: var(--main); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-us .row { align-items: start; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-control {
  display: block; width: 100%; height: 45px; padding: 6px 12px;
  font-family: inherit; font-size: 14px; color: #555;
  background: #fff; border: 1px solid #ccc; border-radius: 0; box-shadow: none; outline: none;
  transition: border-color .15s;
}
textarea.form-control { height: auto; min-height: 140px; resize: vertical; padding-top: 10px; }
select.form-control { appearance: auto; }
.form-control:focus { border-color: var(--main); }
.field.invalid .form-control { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 13px; margin-top: 5px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 15px 0 0; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--success); font-weight: 500; }
.form-status.err { color: var(--danger); }
.contact-details h3 { text-transform: uppercase; font-weight: 500; font-size: 20px; }
.contact-details > p { line-height: 1.8; }
.contact-short-info { margin-top: 25px; }
.contact-short-info li { display: flex; gap: 15px; margin-bottom: 20px; color: var(--text); font-size: 15px; line-height: 1.6; }
.contact-short-info .icon { flex: none; font-size: 24px; color: var(--main); margin-top: 1px; }
.contact-short-info strong { color: var(--heading); font-weight: 500; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--gray); text-align: center; padding-top: 48px; padding-bottom: 55px; }
.footer-brand { margin-bottom: 20px; }
.footer-brand img { height: 34px; width: 34px; }
.footer-brand .brand-text { font-size: 22px; }
.footer-manu ul { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 15px; }
.footer-manu li { padding: 4px 20px; }
.footer-manu a { color: #494949; font-size: 14px; }
.footer-manu a:hover { color: #000; }
.footer p { font-size: 13px; line-height: 25px; color: #919191; margin: 0; }
.footer .copyright a { font-weight: 600; color: #595959; }
@media (max-width: 560px) { .footer-manu li { padding: 4px 12px; } }

/* ---------- 404 ---------- */
.page-404 { min-height: calc(100vh - var(--header-h) - 160px); display: grid; place-items: center; text-align: center; padding: 100px 15px; }
.page-404 h1 { font-size: 120px; font-weight: 900; color: var(--main); letter-spacing: 6px; line-height: 1; margin-bottom: 10px; }
.page-404 h2 { text-transform: uppercase; font-weight: 600; }
.page-404 .btn-main { margin-top: 40px; }
