header {
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    border-bottom: 3px solid #D32F2F;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logoLink {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222;
    gap: 10px;
}

h1, h2{
    user-select: none;
}

.logo {
    max-width: 70px;
    height: auto;
}

.navbar {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.navList {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navLink {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navLink:hover {
    background-color: #D32F2F;
    color: white;
}

.navLink.active {
    background-color: #b71c1c;
    color: white;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heroOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.heroOverlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.heroOverlay p {
    font-size: 1.2rem;
}

.aboutContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.about {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.about h2 {
    color: #D32F2F;
    margin-bottom: 15px;
}

.services {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

.serviceCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.serviceCard {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.serviceCard:hover {
    transform: translateY(-5px);
}

.serviceCard img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.serviceCard h3 {
    margin: 10px 0 5px;
    color: #D32F2F;
}

.serviceCard p {
    padding: 0 15px 15px;
    font-size: 0.95rem;
}

.contact {
    text-align: center;
    padding: 60px 20px;
}

.contact h2 {
    color: #D32F2F;
    margin-bottom: 15px;
}

.contact a {
    color: #D32F2F;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}


.button {
    background-color: #D32F2F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: #b71c1c;
}


.bannerImage {
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    position: relative;
}

.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}


.title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.undertitle {
    text-align: center;
    margin-bottom: 20px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.gallery1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    background-color: #91919100;
    border-radius: 10px;
    margin-left: 120px;
    margin-right: 120px;
}

.logoLink {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

footer {
    background-color: #40413d;
    color: white;
    text-align: center;
    padding: 20px 10px;
    border-top: 3px solid #D32F2F;
}

.machineTitle {
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.showMachines {
    background-color: #D32F2F;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 20px;
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    z-index: 5;
}

.machines {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.machineGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.machineCard {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machineCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.machineCard img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.machineInfo {
    padding: 15px;
    text-align: left;
}

.machineInfo h3 {
    color: #D32F2F;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.machineInfo p {
    color: #555;
    margin: 4px 0;
    font-size: 0.95rem;
}






.aboutImage {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    position: relative;
    object-fit: cover;
    object-position: center;
}

.aboutTitleBox {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    text-align: center;
    width: 200px;
    height: 70px;
    box-shadow: 10px 4px 10px rgba(0, 0, 0, 0.1);
}

.aboutText p {
    padding: 0px 200px;
}







.team {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.team h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.teamGrid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.teamMember {
    width: 200px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.teamMember img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.teamMember h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #D32F2F;
}

.teamMember p {
    color: #555;
    font-size: 1rem;
}




.contactPage {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.contactInfo,
.contactMap {
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contactInfo a {
    color: #D32F2F;
    text-decoration: none;
}

.contactInfo a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}







@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        color: #333;
    }

    header {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px;
    }

    .navbar {
        display: none;
        width: 100%;
        background: white;
        padding: 10px 0;
    }

    .navbar.active {
        display: block;
    }

    .navList {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .navLink {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .heroOverlay h1 {
        font-size: 1.8rem;
    }

    .serviceCards {
        flex-direction: column;
        align-items: center;
    }

    .serviceCard {
        width: 90%;
        max-width: 400px;
    }

    .machineGrid {
        flex-direction: column;
        align-items: center;
    }

    .machineCard {
        width: 90%;
    }

    .contactPage {
        padding: 10px;
    }

    .aboutText p {
        padding: 0 20px;
    }
}