@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Share+Tech&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

/* General */
body, html {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0; /* Ensure no extra margin */
    padding: 0; /* Ensure no extra padding */
    font-family: 'Roboto', sans-serif;
}

h1, h3{
    font-family: "Share Tech", sans-serif;;
}

a {
    text-decoration: none;
}

/* Navbar*/
.navbar-custom {
    background-color: white;
}

.navbar-brand img {
    max-height: 40px;
    height: 15rem;
}

.navbar-custom .navbar-nav .nav-link {
    color: black; /* Black text for links */
    font-weight: bold; /* Bold text */
}

.navbar-custom .navbar-nav .nav-link.active {
    color: red !important; /* Red color for active link */
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: darkgray; /* Hover color */
}

.navbar-toggler {
    border-color: black; /* Toggler border color */
}

.navbar-toggler-icon {
    display: none; /* Hide the default icon */
}

.navbar-toggler .fa-bars {
    font-size: 1.5rem; /* Adjust icon size */
    color: black; /* Black color for the icon */
}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox:checked + .label .ball {
  transform: translateX(24px);
}

.label {
  background-color: #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  width: 50px;
  height: 26px;
  transform: scale(1.5);
}

.ball {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  transition: transform 0.2s linear;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Ensures content above the section is hidden */
    background-image: url('Assets/Garage_Door.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Children aligned vertically */

    /*parallax*/
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-logo {
  display: block;
  height: auto;
  max-width: min(80vw, 280px);       
  max-height: 35svh;                  
  object-fit: contain;
  margin: 0 auto;
}

/* Home */

#Rack {
    border-radius: 8px;
}

#separator {
    border: 0; /* Remove default border */
    border-top: 5px solid #82240a; /* Creates the line */
    position: relative;
}

/* For devices with a max-width of 768px (Mobile) */
@media screen and (max-width: 768px) {
    #main {
        font-size: 1.5rem;
    }
}

/* For devices between 768px and 1024px (Tablets) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #main {
        font-size: 1.875rem;
    }
}

/* Services */

#Services {
    background-color: #f5f5f5;
}

.card {
    display: flex;
    height: 24rem;
    width: 20rem;
    background-color: #17141d;
    border-radius: 10px;
    box-shadow: -1rem 0 3rem #000;
    /*   margin-left: -50px; */
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    border-radius: 8px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:not(:first-child) {
    margin-left: -50px;
}

.card:hover {
    transform: translateY(-20px);
    transition: 0.4s ease-out;
}

.card:hover ~ .card {
    position: relative;
    left: 50px;
    transition: 0.4s ease-out;
}

@media (max-width: 768px) {
    .card:not(:first-child) {
        margin-left: 0;
    }

    .card:hover ~ .card {
        left: 0;
    }
}

/* Contact */

#Contact {
    background-color: white;
}

.divider {
  width: 100px;
  height: 4px;
  background: #82240a;
  margin: 0 auto;
}

ul {
    list-style-type: none; /* Removes bullets */
    padding-left: 0; /* Optional: Removes indentation */
}

/* Footer */

#Footer {
    background-color: black;
}