/* Typography */
body {
    margin: 0;
    font-family: "Karla", sans-serif;
    background-color: #FEFEFE;
}

p {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-weight: 300;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.5px;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

/* Utility Classes */
.highlight {
    color: #E3CE00;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header and Navigation */
#top {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

#menubar {
    display: flex;
    align-items: center;
    justify-content: space-between;
	width: 90%;
	padding: 20px 5%;
}

#menubar .logo img {
    height: 40px;
}

#menucollect {
    list-style: none;
    display: flex;
}

#menucollect .menu {
    margin-left: 20px;
}

#menucollect .menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
}

#menucollect .menu a:hover {
    color: #ccc;
}

/* Hamburger Menu Styles */
#hamburger {
    display: none;
    cursor: pointer;
}

.burger {
    width: 25px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger__line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s;
}
.burger:active .burger__line {
    background-color: #1D1D1D;
}

/* Toggle Checkbox (Hidden) */
.toggle {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #menucollect {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 200px;
        height: calc(100% - 70px);
        background: #222237;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 20px;
        transition: right 0.3s;
    }

    #menucollect .menu {
        margin: 15px 0;
    }

    #hamburger {
        display: block;
    }

    /* Toggle Menu Visibility */
    .toggle:checked ~ #menucollect {
        right: 0;
    }

    /* Animate Hamburger Icon */
    .toggle:checked + #hamburger .burger__line--top {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .toggle:checked + #hamburger .burger__line--center {
        opacity: 0;
    }

    .toggle:checked + #hamburger .burger__line--bottom {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Initial Navbar Background */
#top {
    background-color: transparent;
}

/* Menu Links Color */
#menucollect .menu a {
    color: #fff;
}

/* Sticky Navbar Background */
#top.scrolled {
    background-color: #FEFEFE;
	color: #222236 !important;
}
#top.scrolled .menu a {
	color: #222236 !important;
}
#top.scrolled .burger__line {
    background-color: #1D1D1D;
}

/* Landing Section */
#LandingHome {
    background-image: url("../Images/Landing Page/DandDust_Background_2.jpg");
    background-size: cover;
    background-position: center;
    min-height: 50vh;
	width:100%;
    display: flex;
    align-items: center;
    justify-content:flex-start;
	position: relative;
}

.landingherotext {
    background-color: rgba(34, 34, 54, 0.5);
    padding: 25vh 5% 10vh;
    text-align: left;
    color: #FEFEFE;
	width:100%;
}

.landingherotext h1 {
    font-family: "Lexend", sans-serif;
    font-size: 6rem;
    margin: 0;
	display: inline
}

.landingherotext h2 {
    font-size: 5rem;
    color: rgba(227, 206, 0, 0.2);
    -webkit-text-stroke: 1px rgba(227, 206, 0, 1);
	display: inline
}

.landingherotext h3 {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: -10px;
    letter-spacing: 5px;
}

.landingherotext h4 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 20px;
    width: 60%;
}

.headingdivider {
    width: 40px;
    height: 5px;
    background-color: #E3CE00;
    margin: 20px 0;
}

/* Services Section */
#ServicesContainer {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.Services {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.Services h2 {
    margin-bottom: 40px;
}

.ServiceBlock {
    display: inline-block;
    width: 22%;
    margin: 1%;
    vertical-align: top;
    text-align: center;
}

.ServiceBlockImage {
    width: 50px;
    height: 50px;
}

.ServiceBlock h3 {
    margin-top: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    color: #222236;
}

.ServiceBlock p {
    font-size: 1rem;
    color: #222236;
}

/* About Section */
#About {
    background: rgba(34, 34, 54, 1);
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #FEFEFE;
    text-align: center;
}

.about-content {
    width: 60%;
    margin: 0 auto;
}

.about-content h1 {
    font-size: 2.5rem;
}

.auto-type {
    color: #E3CE00;
}

/* Featured Items Section */
#CatalogueContainer {
    background-color: #FEFEFE;
    padding: 50px 0;
}

.CatalogueMain {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.CatalogueMain button {
    background-color: #E3CE00;
    color: #222236;
	margin-top:20px;
    padding: 0.8rem 1.5rem;
	border-radius:10px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.CatalogueMain h2 {
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 15s linear infinite;
}

.Catalogue {
    width: 200px;
    margin: 10px 20px;
    flex-shrink: 0;
    text-align: center;
	overflow: hidden;;
}

.img {
	max-height: 150px;
    height: auto;
    display: block;
	text-align: center;
}

.homecataloguetext {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
	text-align: center;
}

/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    font-size: 1.3rem;
    color: #FEFEFE;
    padding: 10px 12px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    background: #222236;
    border-radius: 50%;
	z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 11));
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .Catalogue {
        min-width: 150px;
    }

    .arrow {
        font-size: 24px;
    }
}

/* Mission Section */
#MissionContainer {
    background-image: url("../Images/Landing Page/HomeLandingImage_1.webp");
    background-size: cover;
    background-position: center;
    padding: 00px 0;
    color: #FEFEFE;
    text-align: center;
}

.Mission {
    width: 60%;
    margin: 0 auto;
    background-color: rgba(34, 34, 54, 0.8);
	padding: 60px 20%;
}

.Mission p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Contact Section */
#ContactContainer {
    background-color: #222236;
    padding: 40px 0 10px;
    color: #FEFEFE;
}

.Contact {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.ContactLeft, .ContactRight {
    flex: 1 1 45%;
    margin: 20px;
}

.ContactLeft iframe {
    width: 100%;
    border: none;
    border-radius: 15px;
}

.ContactRight form {
    display: flex;
    flex-direction: column;
}

.ContactRight fieldset {
    border: none;
    margin-bottom: 5px;
}

.ContactRight input, .ContactRight textarea, .ContactRight select {
    width: 100%;
    padding: 5px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #FEFEFE;
    color: #FEFEFE;
    font-size: 0.8rem;
}

.ContactRight input::placeholder, .ContactRight textarea::placeholder {
    color: #FEFEFE;
}

.ContactRight textarea {
    max-height: 100px;
    resize: none;
}

.ContactRight button {
    background-color: #E3CE00;
    color: #222236;
    padding: 0.5rem 1.5rem;
	border-radius:20px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.ContactRight button:hover {
    background-color: #d1b900;
}

/* Footer */
.footer {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

.footer p {
    color: #FEFEFE;
    font-size: 0.9rem;
    margin: 0;
}

/* Products Page */
#productsContainer {
    width: 100%;
    margin: 0;
    height: auto;
    float: left;
    overflow: hidden;
    background-color: #FEFEFE;
}

.Products {
    width: 90%;
    margin: 50px 5% 70px;
    height: auto;
    float: left;
    overflow: hidden;
}

.ProductsGrid {
    width: 100%;
    margin: 0;
    display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  flex-grow: 1;
    overflow: hidden;
}

.ProductBlock {
    width: 90%;
    padding: 0 5%;
    border-radius: 0px;
    margin: 20px 0;
}

.ProductBlock h3 {
    margin: 10px auto 0px;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: #222237;
}

.ProductBlock h4 {
    margin: 5px auto 0px;
    font-size: 0.7rem;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight:400;
    color: #888888;
}

.ProductBlock p {
    margin: 20px 0;
    clear: both;
    text-align: center;
    color: #222237;
}

.ProductBlockImage {
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    width: auto;
    margin: 0 0 20px;
    max-height: 150px;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ProductBlockImage img {
    height: 100%;
    object-fit: contain;
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .productGrid {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 800px) {
    .productGrid {
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 500px) {
    .productGrid {
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}


/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .ServiceBlock {
        width: 100%;
        margin-bottom: 20px;
    }
    .Contact {
        flex-direction: column;
    }
    .ContactLeft, .ContactRight {
        flex: 1 1 100%;
    }
    #prev, #next {
        display: none;
    }
    .CatalogueMain {
        overflow-x: scroll;
    }
    .Catalogue {
        flex: 0 0 auto;
    }
}
