/* Google fonts import */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Orbitron:wght@400..900&display=swap");

/* Core Layout Fixes */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: url("../images/carbon-meets-red.jpg") no-repeat center
    center/cover;
  background-attachment: fixed;
  font-family: var(--primary-font);
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

#main {
  flex: 1;
  padding-bottom: 15px;
}

/* CSS Variables */
:root {
  --primary-font: "Big Shoulders", sans-serif;
  --secondary-font: "Orbitron", sans-serif;
  --primary-color: #ffffff;
  --secondary-color: #aa9581;
  --highlight-color: #416a8e;
  --highlight-color-light: #424242;
}

/* Global styles */
.min-vh-100 {
  font-family: var(--primary-font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: var(--primary-font);
  color: var(--primary-color);
}

h1,
h2 {
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
}

/* Buttons */
.custom-button-filled {
  border: 2px solid var(--highlight-color-light);
  background-color: var(--highlight-color-light);
  color: white;
}

.custom-button-filled:hover {
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  color: white;
}

.custom-button-outline {
  border: 3px solid var(--highlight-color-light);
  padding: 7px 25px;
  color: white;
}

.custom-button-outline:hover {
  background-color: var(--highlight-color-light);
  color: white;
}

.gallery-button-outline {
  border: 3px solid var(--highlight-color-light);
  padding: 7px 25px;
  color: var(--highlight-color-light);
}

.gallery-button-outline:hover {
  background-color: var(--highlight-color-light);
  color: white;
}

/* Navbar */
#navbar {
  background-color: #424242;
  box-shadow: 0px 4px 10px black;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#navbar .container {
  border: none;
}

.logo {
  height: 50px;
  width: auto;
}

a.nav-link {
  font-family: var(--primary-font);
  color: #ffffff;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar-toggler {
  border: 2px solid white !important;
}

/* Active nav link */
nav a.active,
nav a:focus-visible {
  color: white !important;
  font-weight: bold;
  text-decoration: underline;
}

#contact {
  color: white !important;
  font-weight: bold;
  text-decoration: underline;
}

/* Carousel Section */
.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.carousel-caption {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
}

/* Hero Sections */
#hero-home {
  background: url("../images/rimac-nevera.avif") no-repeat center center/cover;
  background-color: rgba(70, 61, 61, 0.5);
  background-blend-mode: overlay;
}

#hero-gallery {
  background: url("../images/maserati.jpg") no-repeat center center/cover;
  background-color: rgba(70, 61, 61, 0.5);
  background-blend-mode: overlay;
}

#hero-gallery1 {
  background: url("../images/copper-mcLaren.jpg") no-repeat center center/cover;
  background-color: rgba(70, 61, 61, 0.5);
  background-blend-mode: overlay;
}

#hero-gallery2 {
  background: url("../images/carbon-meets-red.jpg") no-repeat center
    center/cover;
  background-color: rgba(100, 87, 87, 0.5);
  background-blend-mode: overlay;
}

.container1 {
  text-align: center;
  border: none;
  padding: 2.5rem;
}

/* Gallery/Cards */
#new-games {
  padding-top: 87px;
}

#aston {
  margin-bottom: 20px;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 468px;
  width: 270px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.card-footer {
  text-transform: uppercase;
}

.card-body {
  font-family: var(--primary-font);
}

.card-img-top {
  box-shadow: 0px 5px 5px black;
}

/* Form Sections */
#header {
  font-family: var(--primary-font);
  padding-bottom: 5px;
}

#quote {
  background-color: rgba(70, 61, 61, 0.5);
  padding-top: 97px;
}

#quote.lead {
  color: white;
}

#quote + .lead,
#quote + .lead + p {
  color: white;
}

.booking-form {
  background: url("../images/carbon-meets-metal.jpg") no-repeat center
    center/cover;
  color: rgb(83, 75, 75);
  padding: 0 15px;
}

/* Success section */
.success {
  padding-top: 100px;
  background: url("../images/carbon-meets-metal.jpg") no-repeat center
    center/cover;
  color: white;
}

.display-6 {
  color: white;
}

#thank-you {
  color: white;
}

/* Footer */
/* Footer / contact */
#footer {
  font-family: var(--primary-font);
  background-color: #424242;
  color: white;
  box-shadow: 0px -4px 10px black;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 15px;
  padding-right: 15px;
  margin-top: auto;
  z-index: 1000;
}

#footer .container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

#footer .row {
  margin-left: 0;
  margin-right: 0;
}

table {
  background-color: transparent;
  margin: 0 auto;
  text-align: center;
  color: white;
}

html {
  scroll-behavior: smooth;
}

.address {
  text-align: start;
  padding: 0 0 0 100px;
}

#address {
  text-align: start;
  padding: 0 0 0 100px;
}

.phone-link {
  color: white;
  transition: color 0.3s ease-in-out;
}

.phone-link:hover {
  color: #e0e0e0;
  text-decoration: none;
}

.email-link {
  color: white;
  transition: color 0.3s ease-in-out;
}

.email-link:hover {
  color: #e0e0e0;
  text-decoration: none;
}

/* Social Media Links */
#social-networks {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  list-style: none;
}

#social-networks li {
  display: inline-block;
}

#social-networks a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

#social-networks i {
  font-size: 1.8rem;
  color: white;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#social-networks a:hover i {
  transform: scale(1.2);
  color: #e0e0e0;
}

.social-networks a {
  text-decoration: none !important;
}

/* Responsive Adjustments */
@media screen and (min-width: 375px) {
  .address {
    text-align: start;
    padding: 0 0 0 125px;
  }
}

@media screen and (min-width: 425px) {
  .address {
    text-align: start;
    padding: 0 0 0 148px;
  }
}

@media screen and (min-width: 768px) {
  .address {
    text-align: start;
    padding: 0 0 0 113px;
  }
}

@media screen and (min-width: 1024px) {
  .container1,
  .booking-form {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .address {
    text-align: start;
    padding: 0 0 0 257px;
  }
}
