@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lato:wght@300;700&family=Noto+Sans:wght@400;700&family=Poppins:wght@300;700&family=Raleway:wght@400;700&display=swap");

:root {
  --primary-color: #ef0e0d;
  --secondary-color: #0d1fde;
  --light-color: #ffff;
  --dark-color: #000000;
  --success-color: #5cb85c;
  --error-color: #d9534f;
}

/* Text colors */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-dark {
  color: var(--dark-color);
}

.text-light {
  color: var(--light-color);
}

/* Background colors */
.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-dark {
  background-color: var(--dark-color);
}

.bg-light {
  background-color: var(--light-color);
}

.bg-error {
  background-color: var(--error-color);
}

.bg-success {
  background-color: var(--success-color);
}

/* Fonts */
.font-bebas {
  font-family: "Bebas Neue", cursive;
}

.font-Lato {
  font-family: "Lato", sans-serif;
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-raleway {
  font-family: "Raleway", sans-serif;
}

/* Text sizes */
.lead {
  font-size: 20px;
}

.sm {
  font-size: 1rem;
}

.md {
  font-size: 2rem;
}

.lg {
  font-size: 3rem;
}

.xl {
  font-size: 4rem;
}

.text-center {
  text-align: center;
}

/* Margin */
.my-1 {
  margin: 1rem 0;
}

.my-2 {
  margin: 1.5rem 0;
}

.my-3 {
  margin: 2rem 0;
}

.my-4 {
  margin: 3rem 0;
}

.my-5 {
  margin: 4rem 0;
}

.mx-1 {
  margin: 0 1rem;
}

.mx-2 {
  margin: 0 1.5rem;
}

.mx-3 {
  margin: 0 2rem;
}

.mx-4 {
  margin: 0 3rem;
}

.mx-5 {
  margin: 0 4rem;
}

.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 1.5rem;
}

.m-3 {
  margin: 2rem;
}

.m-4 {
  margin: 3rem;
}

.m-5 {
  margin: 4rem;
}

/* Padding */
py-1 {
  padding: 1rem 0;
}

py-2 {
  padding: 1.5rem 0;
}

py-3 {
  padding: 2rem 0;
}

py-4 {
  padding: 3rem 0;
}

py-5 {
  padding: 4rem 0;
}

.px-1 {
  margin: 0 1rem;
}

.px-2 {
  margin: 0 1.5rem;
}

.px-3 {
  margin: 0 2rem;
}

.px-4 {
  margin: 0 3rem;
}

.px-5 {
  margin: 0 4rem;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 1.5rem;
}

.p-3 {
  padding: 2rem;
}

.p-4 {
  padding: 3rem;
}

.p-5 {
  padding: 4rem;
}

/* Attributes */
* {
  box-sizing: border-box; /* Doesn't add extra width/height due to sizing changes like margin or padding */
  padding: 0;
  margin: 0;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--light-color);
  line-height: 1.6; /* Distance between word lines */
  background: var(--dark-color);
  overflow-x: hidden;
}

h1 {
  font-size: 50px;
  font-weight: 600;
  margin: 0;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: var(--light-color);
}

.btn {
  display: inline-block; /* Same as inline but you can put width/height & padding/margin (doesn't create a line break like block) */
  padding: 0px 1rem;
  cursor: pointer;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
}

.btn-outline {
  background-color: transparent;
  border: 1px #fff solid;
}

.btn:hover {
  transform: scale(0.98); /* Makes object 98% of its size */
}

/* Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  overflow: auto; /* Deals with overflow out of container class */
  padding: 0 40px;
}

.vl {
  border-left: 1px solid var(--light-color);
  height: 40%;
}

.grid {
  display: grid;
  /* repeat(2, 1fr) == 1fr 1fr */
  /* 1fr is 1/however many fractions there are of space */
  grid-template-columns: repeat(
    2,
    1fr
  ); /* Sets the size of the grid elements */
  gap: 20px; /* Creates gap between elements */
  justify-content: center;
  align-items: center;
  height: 100%;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

/* Admin Banner */
.admin-banner {
  width: 100%;
  background-color: red;
  padding: 0px 5px 0px 5px;
}
.admin-banner a {
  margin: 0px 3px 0px 3px;
}

/* Navbar */
.navbar {
  background-color: var(--dark-color);
}

.navbar .container > * {
  height: 100%;
}

.navbar .grid-3 {
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-rows: auto auto;
  align-items: end;
  row-gap: 0;
}

.navbar .logo {
  grid-row: 1 / span 2;
  grid-column: 2 / span 1;
}
.navbar .logo img {
  border-radius: 20%;
}

.navbar .nav-item {
  padding: 0px 0.5rem 0px 0.5rem;
}

.navbar .contact-left {
  justify-self: end;
  grid-row: 1 / span 1;
  grid-column: 1 / span 1;
}
.contact-left.flex {
  align-items: flex-end;
}

.navbar .contact-right {
  justify-self: start;
  grid-row: 1 / span 1;
  grid-column: 3 / span 1;
}
.contact-right.flex {
  align-items: flex-end;
}

.navbar .nav-left {
  justify-self: end;
  grid-row: 2 / span 1;
  grid-column: 1 / span 1;
}
.nav-left.flex {
  align-items: center;
}

.navbar .nav-right {
  justify-self: start;
  grid-row: 2 / span 1;
  grid-column: 3 / span 1;
}
.nav-right.flex {
  align-items: center;
}

/* Mobile Navbar */
.mobile-navbar {
  display: none;
  padding-bottom: 1rem;
  width: 100%;
}

.mobile-navbar .grid {
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mobile-navbar .grid img {
  border-radius: 20%;
  max-width: 200px;
}

.mobile-navbar .grid .flex {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.mobile-navbar .grid .nav-item {
  padding: 0px 0.5rem 0px 0.5rem;
}

/* Slider */
/* Slideshow container */
.slideshow-container {
  max-width: 1600px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.sliderImg {
  width: 100%;
  height: 82vh;
  object-fit: contain;
  border-radius: 10px;
}

#pause {
  background-color: transparent;
  border: none;
  color: white;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
  }
}

/* Showcase */
.showcase {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../images/stock-image-2.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  text-align: center;
}

.showcase > * {
  animation: slideInFromLeft 1s ease-in;
}

/* Register Now */
.register {
  background-color: var(--primary-color);
  padding: 5vmax 0 5vmax 0;
  height: 100%;
  text-align: center;
  font-size: 5vw;
}
.register a {
  display: inline-block;
}
.register a:hover {
  transform: translateY(-3px);
  transition: 0.3s;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: var(--light-color);
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--light-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Why Us */
.why-us {
  background-color: var(--dark-color);
  padding: 5rem 0 5rem 0;
  line-height: 1;
  height: 100%;
}

.why-us .grid {
  gap: 0px;
  margin-top: 20px;
}

.why-us .header {
  padding-left: 4rem;
}

.why-us .offering {
  border: 2px solid var(--light-color);
  text-align: left;
  padding: 2em;
  flex-direction: column;
  height: 250px;
}

.why-us .offering i {
  margin-bottom: 1rem;
}

/* Contact Us */
.contact-us {
  background: var(--dark-color);
}

.contact-us .contact-item {
  flex-direction: column;
}

.contact-us .container {
  padding: 3rem 40px 3rem 40px;
}

.contact-us .contact-form {
  height: auto;
  width: 400px;
  padding: 40px;
}

.contact-us .contact-form .form-control {
  margin: 10px 0;
}

.contact-us .card {
  background-color: var(--light-color);
  color: #333;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(250, 250, 250, 0.2);
  padding: 20px;
  margin: 10px;
}

.contact-us .contact-form input[type="text"],
.contact-us .contact-form input[type="email"],
.contact-us .contact-form textarea {
  border: 0;
  font-family: "Poppins", sans-serif;
  border-bottom: 1px solid #b4becb;
  width: 100%;
  padding: 3px;
  font-size: 16px;
}

.contact-us .contact-form input:focus {
  outline: none; /* When clicking on a input in a form, don't show outline */
}

.contact-us .submit-btn {
  padding: 10px 10rem 10px 10rem;
}

.contact-info .flex {
  flex-direction: row;
  flex-wrap: nowrap;
}

/* Page Header */
.page-header i {
  font-size: 130px;
  justify-self: flex-end;
}

/* Map */
.map {
  padding: 5rem 0;
}

.map .container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 600px;
  position: relative;
}

.map .container iframe {
  border: 0;
  height: 600px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* FAQ */
.faq-accordion {
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
}

.accordion-item {
  background-color: rgb(42, 42, 42);
  color: #fff;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}

.accordion-item-header {
  padding: 0 3rem 0 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.accordion-item-header::after {
  content: "\002B";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}

.accordion-item-header.active::after {
  content: "\2212";
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  /* border-top: 1px solid; */
  position: relative;
  background-color: rgba(0, 0, 0, 0.25);
  /* border-image: linear-gradient(to right, transparent, #ffffff, transparent) 1; */
}

.accordion-item-body-content::before {
  content: "";
  position: absolute;
  width: 0.6rem;
  height: 90%;
  background: #8fc460;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
}

/* Rentals */
.rentals {
  padding: 12vh 0 12vh 0;
}
.rentals .flex {
  justify-content: space-evenly;
}

.booking-card {
  border: 3px solid var(--primary-color);
  height: 400px;
  width: 300px;
  border-radius: 5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 20px;
  margin: 0px 0px 15px 0px;
}
.booking-card:hover {
  transform: scale(0.98); /* Makes object 98% of its size */
}

/* Services */
.services {
  padding: 6rem 0;
}

.services .grid {
  gap: 50px;
}

.services .circle {
  border-radius: 50%;
  height: 100px;
  width: 100px;
}

.services-item {
  justify-content: center;
  align-items: center;
  align-self: start;
  flex-direction: column;
}

.services-item > * {
  padding-top: 1rem;
  text-align: center;
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background: none;
  /* box-shadow: inset 0 0 2.5px 2px rgba(0, 0, 0, 0.5); */
}
::-webkit-scrollbar-thumb {
  /* background: radial-gradient(circle, rgba(63,94,251,1) 0%, var(--primary-color) 100%); */
  background-color: var(--light-color);
  border-radius: 100vw;
  border: 3px solid var(--dark-color);
}

/* Tablets and under */
@media (max-width: 768px) {
  /* Pushes all columns and rows into one column */
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .showcase {
    height: 40vh;
  }

  .contact-us {
    text-align: center;
  }

  .contact-us .grid .card {
    justify-self: center;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .showcase h1 {
    font-size: 30px;
  }

  .why-us .header {
    padding-left: 0rem;
  }

  .contact-us .contact-form {
    height: auto;
    width: 300px;
    padding: 10px;
  }

  .contact-us .submit-btn {
    padding: 10px 30px 10px 30px;
  }
}

/* Special Cases */
@media (max-width: 885px) {
  .mobile-navbar {
    display: inline-block;
  }

  .navbar {
    display: none;
  }
}
