/* Variables */
:root {
    --main-font: 'Nunito', Arial, sans-serif;
    --header-font: 'Days One', sans-serif;
    --main-color: #C30D14;
    --hover-color: #A10A10;
    --background-color: #f8f9fa;
    --text-color: #333;
    --light-text: #ddd;
    --dark-bg: #111;
    --transition-duration: 0.5s;
}

.placeholder {
    height: 64px;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth;
    opacity: 1;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    color: var(--main-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Links and Buttons */
p, li {
    font-family: var(--main-font);
    color: var(--text-color);
}

a {
    font-family: var(--header-font);
    color: var(--text-color);
}

a:hover {
    color: var(--hover-color);
}

.btn-danger {
    background: var(--main-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background var(--transition-duration), transform var(--transition-duration);
}

.btn-danger:hover {
    background: var(--hover-color);
    transform: scale(1.05);
}

.btn-outline-dark {
    border-color: var(--main-color);
    color: var(--main-color);
    transition: background var(--transition-duration), color var(--transition-duration);
}

.btn-outline-dark:hover {
    background: var(--main-color);
    color: #fff;
}

/* Header */
header {
    background: var(--dark-bg);
    color: #fff;
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--main-color);
    z-index: 999;
    position: fixed;
    width: 100%;
}

.nav-link {
    font-family: var(--header-font);
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    transition: color var(--transition-duration);
}

.nav-link-black {
    color: #000;
}

.nav-link:hover {
    color: var(--main-color);
}

/* Overlay Menu */
.menu-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-duration), visibility var(--transition-duration);
    z-index: 999;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.menu-overlay ul {
    list-style: none;
    padding: 0;
}

.menu-overlay li {
    margin: 1rem 0;
}

.menu-overlay a {
    font-family: var(--header-font);
    font-size: 2rem;
    color: var(--main-color);
    text-decoration: none;
    transition: color var(--transition-duration);
}

.menu-overlay a:hover {
    color: #fff;
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

#hero h1 {
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--main-color);
}

#hero p {
    margin-bottom: 2rem;
}

/* About Us Section */
#about {
    background: #111; /* Deep black background */
    color: #fff; /* Light text for contrast */
    padding: 4rem 0;
}

#about h2 {
    color: var(--main-color); /* Red heading color */
    margin-bottom: 1rem;
}

#about p {
    color: #ddd; /* Softer light color for paragraph text */
    font-size: 1.2rem;
    line-height: 1.6;
}

/* More info section */
#more-info {
    background: #111; /* Deep black background */
    color: #fff; /* Light text for contrast */
    padding: 4rem 0;
}

#more-info h2 {
    color: var(--main-color); /* Red heading color */
    margin-bottom: 1rem;
}

#more-info p {
    color: #ddd; /* Softer light color for paragraph text */
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Scroll Cue */
.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-cue a {
    color: var(--main-color);
    transition: color var(--transition-duration);
}

.scroll-cue a:hover {
    color: var(--hover-color);
}

/* Sections */
.section {
    opacity: 1;
    transform: none;
}

/* Section Intro */
.section-intro h2 {
    font-family: var(--header-font);
    color: var(--main-color);
    margin-bottom: 1rem;
}

.section-intro p {
    font-family: var(--main-font);
    font-size: 1.2rem;
    color: #6c757d;
}

/* Parallax Sections */
.parallax {
    position: relative;
    /*background-attachment: fixed; /* Enables parallax scrolling effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px; /* Adjust the height as necessary */
    display: flex;
    align-items: center; /* Center-align content vertically */
    justify-content: center; /* Center-align content horizontally */
}

/* Motorcycle Exhaust Parallax Background */
.parallax-motorcycle {
    background-image: url('landing_image_1.jpeg'); /* Replace with your motorcycle image */
}

/* Car Exhaust Parallax Background */
.parallax-car {
    background-image: url('landing_image_5.jpeg'); /* Replace with your car image */
}

/* Mobile Motorcycle Exhaust Parallax Background */
.mobile-parallax-motorcycle {
    background-image: url('landing_image_1.jpeg'); /* Replace with your motorcycle image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
}


/* Mobile Car Exhaust Parallax Background */
.mobile-parallax-car {
    background-image: url('landing_image_5.jpeg'); /* Replace with your car image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
}


/* Text Section Overlay */
.text-section {
    background: rgba(0, 0, 0, 0.5); /* Add a semi-transparent black background for contrast */
    color: #fff;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    border-radius: 8px; /* Optional rounded corners for the text block */
}

.text-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--main-color); /* Accent color for headings */
}

.text-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.text-section a {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    border-radius: 5px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.text-section a:hover {
    background: var(--hover-color);
    transform: scale(1.05);
}

/* Disable Parallax on Mobile */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll; /* Disables fixed background on smaller screens for performance */
    }
}



/* Footer Styles */
.footer {
    background: #111;
    color: #fff;
    font-size: 0.9rem;
}

.footer h5 {
    font-size: 1.1rem;
}

.footer a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--main-color);
}

.footer .list-inline-item a {
    padding: 0.5rem;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer .list-inline-item a:hover {
    background: var(--main-color);
    color: #fff;
    transform: scale(1.1);
}

.footer form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 5px;
}

.footer form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    box-shadow: none;
}

.footer form .btn {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
}

.footer .text-center p {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #fff;
}



/* Shadow effect for sections */
.shadow-section {
    position: relative;
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.15), 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
}


#client-stories .carousel-control-prev-icon,
#client-stories .carousel-control-next-icon {
    background-color: black; /* Black background for controls */
    border-radius: 50%; /* Optional: Make them circular */
    width: 40px;
    height: 40px;
}

#client-stories .carousel-control-prev-icon::after,
#client-stories .carousel-control-next-icon::after {
    color: white; /* White arrow icons for contrast */
}

#client-stories .carousel-control-prev,
#client-stories .carousel-control-next {
    width: auto; /* Adjust control width */
}

.tab-content {
    height: 140px;
}

#clientCarousel {
    height: 300px;
}


.parallax-valve {
    background-image: url('landing_image_3.jpeg'); /* Replace with an appropriate image */
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.parallax-sus {
    background-image: url('landing_image_2.jpeg'); /* Replace with an appropriate image */
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.text-card {
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.text-card:hover {
    transform: scale(1.05);
}

.text-card h3 {
    color: var(--main-color);
}

.text-card p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
}

.why-card {
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: scale(1.05);
}

.why-card .icon {
    color: var(--main-color);
}

.why-card p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .text-card, .why-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}


/* Mobile Static Image for Sustainability Parallax */
.mobile-parallax-sus {
    background-image: url('landing_image_2.jpeg'); /* Replace with the appropriate image URL */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px; /* Adjust the height as needed */
}

/* Mobile Static Image for Unique Valve Systems Parallax */
.mobile-parallax-valve {
    background-image: url('landing_image_3.jpeg'); /* Replace with the appropriate image URL */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px; /* Adjust the height as needed */
}
