:root {
    --primary: #58AB00;
    --success: #58AB00;
    --secondary: #3d77c9;
    --footer-bg: #212121;
    --light-bg: #ececec;
    --heading-color: rgb(77, 77, 77);

}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: #1b1b1b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color) !important;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 400;
    color: var(--primary) !important;
    font-size: 1rem;
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 400;
    position: relative;
    margin: 0 10px;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

a.item {
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1rem;

}

a.bread {
    color: var(--heading-color);
    text-decoration: none;
}


.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
}

.btn-primary:hover {
    background-color: #022851;
    border-color: #022851;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
}

.btn-secondary:hover {
    background-color: #7a8e1a;
    border-color: #7a8e1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}



#catalog-header {
    background: url(../images/cat-bg.jpg) no-repeat 100% 100%;
    background-size: cover;
}


#contact-header {
    background: url(../images/contact-bg.jpg) no-repeat 100% 100%;
    background-size: cover;
}



#item-header {
    background: url(../images/item-bg.png) no-repeat 100% 100%;
    background-size: cover;
}

/* Hero Slider */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 2, 0, 0.6);
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
}

.service-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Parallax Section */
.parallax {
    background: url('../images/machine-bg.jpg') fixed center center;
    background-size: cover;
    padding: 150px 0;
    position: relative;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.7);
}

.parallax-content {
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-form {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    background: white;
    border-radius: 15px;
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(3, 52, 110, 0.25);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 70px 0 20px;
}

.footer-heading {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--secondary);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}


/* Parallax Products Section */
#products {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-image: url('prod-bg.jps'); */
    color: white;
    padding: 5rem 1rem;
    text-align: center;
}


.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.product-item {
    background: rgba(238, 238, 238, 0.8);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 350px;
    box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s ease;
    cursor: pointer;
}

.product-item:hover {
    background: rgba(0, 0, 0, 0.2);
}

.product-item img {
    max-width: 100%;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.product-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #caf0f8;
}

.product-item p {
    font-size: 0.9rem;
    line-height: 1.2;
    color: #2e2e2e;
}

/* Spare Parts section */
#catalog {
    background: white;
    padding: 4rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.12);
    max-width: 900px;
    margin: 3rem auto;
}

.spare-part-placeholder {
    background: #e0f2f1;
    border-radius: 1rem;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.spare-part-placeholder:hover {
    background-color: #b2dfdb;
}




/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 30px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }
}