/*!
 * iCabbi Driver Companion landing page
 * Based on Start Bootstrap - Grayscale v5.0.1 (https://startbootstrap.com/template-overviews/grayscale)
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-grayscale/blob/master/LICENSE)
 */

:root {
  --color-bg-dark: #161616;
  --color-brand: #634134;
  --color-brand-dark: #4b3228;
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-text-soft: rgba(255, 255, 255, 0.75);
  --color-text-muted-on-light: rgba(22, 22, 22, 0.55);
  --color-text-soft-on-light: rgba(22, 22, 22, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comfortaa', cursive;
  letter-spacing: 0.0625em;
  overflow-x: hidden;
}

a {
  color: var(--color-brand);
  text-shadow: 1px 1px rgba(255, 255, 255, 0.5);
}

a:focus,
a:hover {
  text-decoration: none;
  color: #edac92;
}

.bg-black {
  background-color: var(--color-bg-dark) !important;
}

/* ---------- Hero / masthead ---------- */

.masthead {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem 1.25rem;
  padding-top: max(3rem, env(safe-area-inset-top));
  padding-bottom: max(4rem, env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.15) 0%, rgba(22, 22, 22, 0.55) 75%, #161616 100%), url("../img/bg-master.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead-content {
  width: 100%;
  max-width: 34rem;
}

.masthead-logo {
  width: 3.25rem;
  height: 3.25rem;
}

.masthead-title {
  font-family: 'Comfortaa', cursive;
  color: #fff;
  font-size: clamp(1.75rem, 5vw + 1rem, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.3rem;
}

.masthead-subtitle {
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.9rem, 1vw + 0.6rem, 1.2rem);
  line-height: 1.6;
}

.store-badges {
  gap: 0.75rem;
}

.store-badges img {
  width: auto;
}

/*
 * The official Google Play badge PNG ships with ~16% transparent clear
 * space baked in on every side (required by Google's brand guidelines),
 * while the Apple App Store SVG badge fills its canvas edge to edge.
 * Scaling both images to the same box height makes the visible badges
 * look mismatched in size, so the Google Play box is scaled up to make
 * its visible mark line up with the Apple badge's height instead.
 */
.badge-app-store {
  height: 3.625rem;
}

.badge-google-play {
  height: 5.4rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  animation: scroll-cue-bounce 2s infinite;
}

.scroll-cue:hover,
.scroll-cue:focus {
  color: var(--color-text-soft);
}

@keyframes scroll-cue-bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    animation: none;
  }
}

/* ---------- About ---------- */

.about-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 6rem 0;
  }
}

@media (min-width: 992px) {
  .about-section {
    padding: 8rem 0;
  }
}

.about-logo {
  width: 3.25rem;
  height: 3.25rem;
}

.about-title {
  font-family: 'Comfortaa', cursive;
  color: var(--color-brand);
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: 0.2rem;
}

.about-intro {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

.about-cta-label {
  color: var(--color-text-muted-on-light);
}

.about-note {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-soft-on-light);
  font-size: 0.85rem;
}

.video-row .embed-responsive {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 1.25rem;
}

.site-footer p {
  margin-bottom: 0.35rem;
}
