/* 
01 - Typography 

Spacing-System (px) 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 /
      128

      Font-weights--
      default - 

      Line-height --
      default -  

Font-size system  (px) 10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 /
      52 / 62 / 74 / 86 / 98 

02 --- Colors

-Primary  #800020;
-Primary lighter #99334d; #a64d63; #cc99a6; // 20%, 30%, 60%
-Primary Darker #66001a;  #5a0016; // 20%, 30%

- Secondary Color -  Off-White #F5F5F5; 

-Greys: #333333; 
-Lighter Greys #5c5c5c;#707070; // 20%, 30%
-Darker Greys #292929; #242424; #141414; // 20%, 30%, 60%
      

05-A --- Shadows
linear - gradient (rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
box-shadow: 15px 15px 30px rgba(0, 0, 0, 1);


05-B --- Text Shadows
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    text-shadow: 3px 3px 10px rgba(255, 255, 255, 0.3);
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3); 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    linear-gradient text-shadow: 0 0 2px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(255, 255, 255, 0.3);


    06 --- Border- Radius
  -border-radius: 1rem;
  -border-radius: 15px;

07 --- White-Space
      
/*  Font-size 10px  
    10px / 16px = 0.625 = 62.5% 
    Percentage of user's browser font-size setting 
    */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Hides horizontal scroll-bars */
}

body {
  font-family: "Open-subs";
  color: #333333;
  height: 100%;
}

/* Hero Section */
/****************/
header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(Models-Section/Large-screen-header-background-images/large-screen-header-background-image.webp);
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;

  /* for bouncing background */
  animation: bounceBackground 3s ease-out infinite;
  transition: background-image 0.4s ease-in-out;
}

/* Fade in / Fade out effect */
.hero-section {
  transition: opacity 1s ease-in-out;
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: auto;
}

.hero-section.fade-out {
  opacity: 0;
}

/* Mobile Navigation 
  ******************/
.quantum-mobile-nav {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.open-nav-btn-icon {
  height: 3rem;
  width: 3rem;
  z-index: 9999;
  color: #888;
}

.close-nav-btn-icon {
  height: 3rem;
  width: 3rem;
  z-index: 9999;
  color: #888;
  display: none;
}

.small-screens-menu {
  display: none;
}
/* Mobile Navigation End 
  ******************/

@keyframes bounceBackground {
  0% {
    background-position: center;
  }
  25% {
    background-position: 60% 10%;
  }
  50% {
    background-position: 80% 20%;
  }
  75% {
    background-position: 40% 30%;
  }
  100% {
    background-position: center;
  }
}

h2 {
  margin-top: 1rem;
  margin-bottom: 9rem;
}

.Quantum-nav {
  display: flex;
  width: 100%;
  gap: 1rem;
  font-size: 1.8rem;
  padding: 2.5rem;
  background-color: #800020;
  justify-content: space-evenly;
  font-family: "Open-sans";
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  z-index: 1;
}

.Quantum-Motors-logo {
  height: 8rem;
  width: 12.5rem;
  position: absolute;
  top: -0.2%;
  left: 1.3%;
}

.Quantum-Motors-logo-1 {
  display: none;
}

.Quantum-nav-link:link,
.Quantum-nav-link:visited {
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s ease-in-out;
}

.Quantum-nav-link:active,
.Quantum-nav-link:hover {
  /*color: #a64d63; */
  background-color: #f5f5f5;
  color: #0a0a0a;
  padding: 1.5rem;
  transition: all ease-in-out 0.4s;
  border-radius: 0.5rem;
  font-family: "Orbitron";
  font-size: 1.6rem;
  border: 2px solid #0a0a0a;
}

.header-inner-container {
  position: absolute;
  font-size: 2.9rem;
  text-transform: uppercase;
  color: #f5f5f5;
  font-family: "Orbitron";
  top: 40%;
  left: 5%;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(255, 255, 255, 0.3);
}

.discover-button:link,
.discover-button:visited {
  text-decoration: none;
  color: #f5f5f5;
  background-color: #800020;
  font-size: 3rem;
  border-radius: 0.5rem;
  padding: 2rem 3rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.discover-button:active,
.discover-button:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
  transition: all 0.3s ease-in-out;
  background-color: rgba(245, 245, 245, 0.803);
  color: #f5f5f5;
  padding: 3.5rem 4.5rem;
  border-radius: 0.5rem;
  color: #800020;
}
/* Hero Section End */
/****************/

/* Featured-In-Section */
/****************/
.About-Section {
  padding: 7.5rem;
  background: linear-gradient(to bottom, #800020, #4a0010);
}

.h2-about {
  font-size: 3.6rem;
  color: #f5f5f5;
  margin-bottom: 3rem;
}

.about-descriptive-text {
  font-size: 2.4rem;
  color: #f5f5f5;
  margin-bottom: 2rem;
  width: 100%;
  line-height: 1.5;
}

/* Featured-In-Section End */
/****************/

/* Search Models Section */
/****************/
.Search-Models {
  padding: 10rem 7.5rem;
  background-color: #0a0a0a;
}

.Search-Models-title {
  text-align: start;
  font-size: 6.2rem;
  letter-spacing: 1.5px;
  font-weight: 900;
  font-family: "Orbitron";
  color: #f5f5f5;
  margin-bottom: 3rem;
}

.models-description-text {
  font-size: 3.6rem;
  color: #f5f5f5;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-bottom: 10rem;
}

/*Styling the cards here */
.car-card-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7.5rem;
  width: 100%;
  margin-top: 0rem;
}

.car-card {
  background: #141414;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 47rem;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-height: 40.4rem;
  justify-content: space-around;
}

.car-card:hover {
  transform: translateY(-10px); /* Lift effect on hover */
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 1);
}

.card-title {
  font-size: 3rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: "Orbitron";
  margin-bottom: 1rem;
  color: #f5f5f5;
  text-align: center;
  text-shadow: 3px 3px 10px rgba(255, 255, 255, 0.3);
}

.card-subtitle {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15rem;
  text-transform: uppercase;
  color: #f5f5f5;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.card-slogan {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: #f5f5f5;
  text-align: center;
}

.car-price {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 4rem;
  color: #cc99a6; /* Red color to stand out */
}

.SearchModelsbtn {
  text-decoration: none;
  font-size: 2.6rem;
  font-weight: 900;
  color: #f5f5f5;
  width: 100%;
  display: block;
  background-color: #800020;
  padding: 1rem 2rem;
  text-align: center;
  margin-top: 10rem;
}

.SearchModelsbtn:hover {
  background: linear-gradient(
    90deg,
    #800020,
    #cc99a6
  ); /* Changes the color of the button when hovered over in gradient manner from left to right */
  transform: scale(1.2); /* Makes the button pops up when hovered over */
}

/*Styling the cards ends here */
/********************
Styling the card background here */
.card-background-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(Models-Section/Large-screen-card-background-images/large-screen-card-background-1.jpeg);
  background-size: cover; /* Ensures full coverage */
  background-position: center; /* Centers the image */
}

.card-background-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(Models-Section/Large-screen-card-background-images/large-screen-card-background-2.jpeg);
  background-size: cover; /* Ensures full coverage */
  background-position: center; /* Centers the image */
}

.card-background-3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(Models-Section/Large-screen-card-background-images/large-screen-card-background-3.webp);
  background-size: cover; /* Ensures full coverage */
  background-position: center; /* Centers the image */
}

.card-background-4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(Models-Section/Large-screen-card-background-images/large-screen-card-background-4.jpeg);
  background-size: cover; /* Ensures full coverage */
  background-position: left; /* Centers the image */
}
/********************
Styling the card background end*/

/********************
How it works section */
.How-it-works-section {
  position: relative;
  padding: 10rem 7.5rem;
  background-color: #800020;
  background: linear-gradient(to bottom, #800020, #4a0010),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  clip-path: polygon(
    0 0,
    100% 5%,
    100% 95%,
    0 100%
  ); /* Makes the edges of beggining and the end of the section sharp */
  /* 0 0,
    100% 5%,
    100% 100%,
    0% 95% */
  /* angled divider at the top/bottom to add depth. */
}

.How-it-works-header {
  font-size: 5.2rem;
  font-weight: 950;
  margin-bottom: 10rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f5f5f5;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Subtle shadow for depth */
}

.optional-text {
  font-size: 3.6rem;
  font-weight: 950;
  align-self: center;
  text-align: center;
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.z-pattern-image,
.z-pattern-image-1,
.z-pattern-image-2 {
  width: 100%;
  height: 100%;
  object-fit: cover; /* /* this property makes the images fit into the grid-auto-rows */
  border-radius: 0.5rem;
  transition: transform 0.3s ease; /*This effect compliments the transition in the transform scale property with hover */
}

.z-pattern-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}
.z-pattern-image-1:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}
.z-pattern-image-2:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.grid-container {
  display: grid;
  grid-template-columns: 42.5fr 57.5fr;
  column-gap: 4rem;
  row-gap: 10rem;
  grid-auto-rows: 50rem; /* grid auto rows 50rem gives all the elements equal height and width */
  align-items: stretch; /* this one stretches the images to fit into the gien height and width ? */
}
/********************
How it works section End */

/* Test Drive Section */
/************************/
.test-drive {
  padding: 10rem 7.5rem;
}

.Test-drive-Header {
  font-size: 5.2rem;
  margin-bottom: 10rem;
}

.test-drive-link:link,
.test-drive-link:visited {
  font-size: 1.8rem;
  color: #4a0010;
}

.test-drive-link:active,
.test-drive-link:hover {
  color: #4a0010;
}

.test-drive-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.test-drive-form label {
  font-size: 1.8rem;
  color: #f5f5f5;
  letter-spacing: 1px;
  color: #f5f5f5;
}

.test-drive-form input {
  font-size: 1.4rem;
  border-radius: 0.5rem;
  padding: 1rem 1.6rem;
  text-align: center;
  margin-right: 3rem;
  border: solid 2px #f5f5f5;
  letter-spacing: 1px;
}

/* this one styles the preferred date */
input[type="date"] {
  color: #888;
  font-size: 1.4rem;
  border: 2px solid #f5f5f5;
  border-radius: 1rem;
  padding: 1rem 1.6rem;
  background-color: #fff;
}

/* this one styles the calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.4);
  cursor: pointer;
}

input:focus {
  border-color: #888;
  box-shadow: 0 0 0 4px rgba(245, 245, 245, 0.727); /* subtle glow */
  outline: none;
}

select:focus {
  border-color: #888;
  box-shadow: 0 0 0 4px rgba(245, 245, 245, 0.727); /* subtle glow */
  outline: none;
}

.test-drive-form select {
  margin-right: 3rem;
  font-size: 1.4rem;
  border-radius: 0.5rem;
  padding: 1rem 1.6rem;
  letter-spacing: 1px;
  color: #888;
}

.submit-button {
  font-size: 1.4rem;
  border-radius: 0.5rem;
  padding: 1rem 1.6rem;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 5rem;
  color: #888;
}

.submit-button:hover {
  background-color: #800020;
  font-size: 1.6;
  padding: 1.6rem 2rem;
  border: solid 2px #0a0a0a;
  letter-spacing: 1.5px;
  color: #f5f5f5;
}

/* Test Drive Section End */
/************************/

/* Support Section /*
**************************/
.Support-Section {
  position: relative;
  padding: 10rem 7.5rem;
  background-color: #800020;
  background: linear-gradient(to bottom, #800020, #4a0010),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  clip-path: polygon(
    0 0,
    100% 5%,
    100% 95%,
    0 100%
  ); /* Makes the edges of beggining and the end of the section sharp */
  /* 0 0,
        100% 5%,
        100% 100%,
        0% 95% */

  /* angled divider at the top/bottom to add depth. */
}

.support-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6rem;
  text-align: center;
}

.support-title {
  font-size: 5.2rem;
  font-weight: 950;
  margin-bottom: 10rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f5f5f5;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Subtle shadow for depth */
}

.support-section-title {
  font-size: 2.4rem;
  color: #f5f5f5;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
}

.support-section-descriptive-text {
  font-size: 1.8rem;
  color: #f5f5f5;
  letter-spacing: 1.2px;
  margin-bottom: 3rem;
}

.support-section-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* This ensures content is spaced evenly and pushes the link to the bottom */
}

.support-section-image {
  width: 100%;
  height: 38rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.3);
  border: 1.5px solid #0a0a0a;
}

.support-section-link {
  text-decoration: none;
  border-radius: 0.5rem;
  border: solid 4px #0a0a0a;
  letter-spacing: 1px;
  padding: 1.5rem 2rem;
  background-color: #f5f5f5;
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: bolder;
  color: #0a0a0a;
  display: block;
  margin-top: auto; /* Makes sure that the link stays at the bottom no matter the content above it */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.support-section-link:hover,
.support-section-link:focus {
  background-color: #0a0a0a; /* Dark background on hover/focus */
  color: #f5f5f5; /* Light text color on hover/focus */
  transform: scale(1.05); /* Slightly enlarge the link on hover */
}
/* Support Section End/*
**************************/

/* Support-Section Complimentary */
/****************************/
.support-section-complimentary {
  padding: 5rem;
  background-color: #0a0a0a;
}
/* Support-Section Complimentary End */
/****************************/

/*********************
    Footer-Section */
.footer-section {
  padding: 12.5rem 7.5rem;
  background: linear-gradient(to bottom, #800020, #4a0010),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  border-top: 4px solid #f5f5f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 5rem;
  height: auto;
  align-items: flex-start;
}

.footer-header {
  font-size: 2rem;
  margin-bottom: 0rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: bolder;
  color: #f5f5f5;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.column-text {
  text-transform: none;
  font-size: 1.6rem;
}

.footer-elements {
  margin-top: 4rem;
  color: #f5f5f5;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 2;
  font-weight: 800;
  letter-spacing: 1px;
}

.social-links {
  margin-top: 10rem;
  display: flex;
  gap: 2.5rem;
  border-radius: 1rem;
  justify-content: space-around;
}

.footer-icon {
  height: 2.4rem;
  width: 2.4rem;
  fill: #f5f5f5;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  color: #f5f5f5;
  letter-spacing: 1.7px;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.footer-link:active,
.footer-link:hover {
  background-color: #f5f5f5;
  color: #0a0a0a;
  padding: 1rem 2.5rem;
  border-radius: 0rem;
  font-size: 1.8rem;
  transition: all ease-in-out 0.4s;
  font-family: "Orbitron";
  font-weight: bold;
  border: 2.5px solid #0a0a0a;
}

.footer-elements-links-grid {
  display: flex;
  gap: 4rem;
}
/*********************
  Footer-Section End */
