/*!
* Start Bootstrap - Creative v7.0.7 (https://startbootstrap.com/theme/creative)
* Copyright 2013-2023 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-creative/blob/master/LICENSE)
*/

/* Scrolling */
.scroll-container {
  position: relative;
  /* max-height: 280px; */
  overflow-x: auto;
  z-index: 1;
  padding: 0;
  margin: 0;
}
.scroll-content {
  width: 280px;
  margin: auto 1rem;
  animation: scrollText;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-duration: 5s;
}
.scroll-content .item {
  background-color: #fff;
  color: #6c757d;
  border-radius: .25rem;
  margin: 0 1.5rem
}
.scroll-content img {
  width: auto;
  max-width: 100%;
  height: 100px;
  object-fit: scale-down;
  border-radius: .25rem;
  margin: 1rem auto 1rem 0;
}
.scroll-content h3 {
  font-size: 1.15rem;
}


/* ******* */
/* GLOBALS */
html {
  height: 100%;
  scroll-padding-top: calc(4.5rem - 1px);
}

body {
  width: 100%;
  height: 100%;
}
body > footer {
  background-color: transparent;
  background-image: linear-gradient(90deg, var(--bs-gold) 0%, var(--bs-gold-light) 100%);
}

/* Icons */
.bi {
  width: 2rem;
  height: 2rem;
  color: var(--bs-primary)
}
footer .bi {
  width: 1.25rem;
  height: 1.25rem;
  color: inherit
}

/* Backgrounds */
.bg-masthead {
  background: linear-gradient(to left bottom, var(--bs-dark) 0%, var(--bs-primary-rgba-light) 100%),
  url("../assets/img/sam-taxi-cotentin.jpg");
}
.bg-cta {
  background: linear-gradient(to left bottom, var(--bs-primary-rgba-light) 0%, var(--bs-dark) 100%),
  url("../assets/img/chauffeur-taxi-en-costume-cherbourg.jpg");
}
.bg-separator {
  background: linear-gradient(to left bottom, var(--bs-dark) 0%, var(--bs-primary-rgba-light) 100%),
  url("../assets/img/portfolio/mont-saint-michel.jpg");
}
.bg-image-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.bg-black-light {
  background-color: rgb(14, 14, 14) !important;
}

/* Borders */
.bordered {
  border: 4px solid var(--bs-gold);
  border-image: linear-gradient(var(--bs-gold), var(--bs-primary)) 20;
}
.dashed {
  border-style: dashed !important;
}
.dotted {
  border-style: dotted !important;
}

/* Sections */
.page-section {
  padding: 8rem 0;
}

/* Texts */
.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Buttons */
.btn-xl {
  padding: 1.25rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
}

/* Miscs */
hr.divider {
  height: 0.2rem;
  max-width: 3.25rem;
  margin: 1.5rem auto;
  background-color: var(--bs-primary);
  opacity: 1;
  border-color: transparent;
  border-radius: .25rem;
}
hr.divider-light {
  background-color: var(--bs-light);
}
hr.divider-gold {
  background-color: var(--bs-gold);
}


/* ********* */
/* SPECIFICS */
#mainNav {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background-color: #fff;
  transition: background-color 0.2s ease;
}
#mainNav .logo {
  max-width: 180px;
}
#mainNav .phone,
#mainNav .phone .bi {
  color: var(--bs-light);
}
#mainNav .phone .bi {
  width: 1rem;
  height: 1rem;
}
#mainNav .navbar-brand {
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
}
#mainNav .navbar-nav .nav-item .nav-link {
  color: #6c757d;
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0;
}
#mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
  color: var(--bs-primary);
}
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: var(--bs-primary) !important;
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 4.5rem);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
header.masthead h1, header.masthead .h1 {
  font-size: 2.25rem;
}

.serviceItems article .bi {
  transition: .5s;
  cursor: help;
}
.serviceItems article:hover .bi {
  color: var(--bs-gold);
  width: 4rem;
  height: 4rem;
}

#portfolio .container-fluid, #portfolio .container-sm, #portfolio .container-md, #portfolio .container-lg, #portfolio .container-xl, #portfolio .container-xxl {
  max-width: 1920px;
}
#portfolio .container-fluid .portfolio-box, #portfolio .container-sm .portfolio-box, #portfolio .container-md .portfolio-box, #portfolio .container-lg .portfolio-box, #portfolio .container-xl .portfolio-box, #portfolio .container-xxl .portfolio-box {
  position: relative;
  display: block;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption, #portfolio .container-sm .portfolio-box .portfolio-box-caption, #portfolio .container-md .portfolio-box .portfolio-box-caption, #portfolio .container-lg .portfolio-box .portfolio-box-caption, #portfolio .container-xl .portfolio-box .portfolio-box-caption, #portfolio .container-xxl .portfolio-box .portfolio-box-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: var(--bs-primary-rgba);
  transition: opacity 0.25s ease;
  text-align: center;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-sm .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-md .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-lg .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-xl .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-xxl .portfolio-box .portfolio-box-caption .project-category {
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-sm .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-md .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-lg .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-xl .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-xxl .portfolio-box .portfolio-box-caption .project-name {
  font-size: 1.2rem;
}
#portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption, #portfolio .container-sm .portfolio-box:hover .portfolio-box-caption, #portfolio .container-md .portfolio-box:hover .portfolio-box-caption, #portfolio .container-lg .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xl .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xxl .portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

#portfolio .portfolio-box img {
  min-height: 240px;
  object-fit: cover;
}

#contact {
  padding-bottom: .5rem;
}
.contactForm {
  z-index: 1;
  /* background-color: rgb(53, 53, 53) !important; */
}
#contactImg {
  position: absolute;
  left: -5.25rem;
  right: 0;
  bottom: -3rem;
  max-width: 540px;
}

#map {
  margin-top: -4rem;
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

footer .nav-link {
  display: inline-block;
}
footer .nav-link:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}
footer img {
  max-width: 240px !important;
}

#btnWhatsApp {
  z-index: 2;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  border-radius: 10rem;
}

/* ********** */
/* RESPONSIVE */
@media (max-width: 576px) {
  #mainNav .navbar-brand {
    font-size: 1.1rem;
    margin-left: .75rem !important;
  }
  #mainNav .logo {
    max-width: 164px;
  }
  #mainNav .phone,
  #mainNav .phone .bi {
    color: rgb(116, 102, 70);
    font-weight: bold;
  }
  #mainNav .phone {
    position: fixed;
    left: .5rem;
    bottom: .5rem;
    margin: 0 !important;
    padding: .75rem;
    background-color: var(--bs-light);
  }

  footer #copyright {
    padding-bottom: 5.5rem !important;
  }
}
@media (max-width: 768px) {
  #contactImg {
    display: none;
  }

  #btnWhatsApp {
    padding: .5rem !important;
    bottom: .7rem;
  }
  #btnWhatsApp small {
    display: none;
  }
}
@media (max-width: 992px) {
  #contactImg {
    position: relative;
    bottom: -4rem;
    display: block;
    margin: auto;
    left: initial;
    right: initial;
    width: 100%;
  }
  #map {
    margin-top: -3rem;
  }
}
@media (min-width: 992px) {
  #mainNav {
    box-shadow: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1rem;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
  }
  #mainNav.navbar-shrink {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: var(--bs-secondary);
  }
  #mainNav.navbar-shrink .navbar-brand:hover {
    color: var(--bs-primary);
  }
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
    color: var(--bs-secondary);
  }
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
    color: var(--bs-primary);
  }
  
  header.masthead {
    height: 100vh;
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }
  header.masthead p {
    font-size: 1.15rem;
  }
  header.masthead h1, header.masthead .h1 {
    font-size: 3rem;
  }

  #contact {
    overflow-x: hidden;
  }
}
@media (min-width: 1200px) {
  header.masthead h1, header.masthead .h1 {
    font-size: 3.5rem;
  }
}
