/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: #333;
}

/* Header */
header {
    background-color: #333;
    color: black;
    padding: 50px 0;
    position: fixed;
    top: 0;
    z-index: 10;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Hero Section with Background Image */
.hero {
    position: relative;
    height: 100vh; /* Make the section fill the entire screen */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: white; /* Fallback color in case background image is not loaded */
    background: url('https://raw.githubusercontent.com/najmajinow/masi-hardware/refs/heads/main/home%20page.JPG') no-repeat center center; /* Background image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-attachment: fixed; /* Keeps background fixed while scrolling */
}

/* Ensure that no images are displayed inside the hero section */
.hero img {
    display: none; /* This will hide any img element inside .hero */
}

/* For mobile devices (ensure background image fits properly) */
@media (max-width: 800px) {
    .hero {
        background: url('https://raw.githubusercontent.com/najmajinow/masi-hardware/refs/heads/main/home%20page.JPG') no-repeat center center; /* Reapply the background image */
        background-size: cover; /* Ensure the background image covers the section */
        background-position: center; /* Keep the image centered */
        background-attachment: scroll; /* Prevent background-attachment: fixed on mobile */
        height: 100vh; /* Ensure the section still fills the viewport height */
    }
}

/* Styling for the text content inside .hero */
.hero-content {
    z-index: 1; /* Ensures content is above the background */
    color: white; /* White text for visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Optional shadow for better visibility */
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #bd2a10; /* Change heading color to Tomato Red */
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
    .hero {
        background-size: cover; /* Ensures background scales correctly on mobile */
        background-repeat: no-repeat; /* Prevent image repetition */
        background-position: center; /* Keeps the background centered */
    }
}












































/* About Us Section */
.about-us {
    padding: 60px 20px;
    background-color: #fff;
}

.about-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
    color: #555;
}












/* Products Section */
.products {
    padding: 60px 20px;
    background-color: #fff;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.products h3 {
    font-size: 28px;
    margin-top: 30px;
    color: #555;
}

.products ul {
    list-style-type: none;
    margin-top: 10px;
}

.products ul li {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}

.products .industry-image {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact input,
.contact textarea {
    width: 100%;
    max-width: 600px;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.contact button {
    padding: 12px 30px;
    background-color: #f76c6c; /* Red buttons */
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.contact button:hover {
    background-color: #f55b5b;
}

/* Footer */
footer {
    background-color: #000; /* Black footer */
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Media Queries */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 20px;
        color: white;
    }

    nav.open ul {
        display: flex;
    }

    .hero .hero-content h2 {
        font-size: 36px;
    }
    
    .hero .cta-button {
        padding: 12px 20px;
    }

    .about-us p,
    .products ul li,
    .contact input,
    .contact textarea {
        font-size: 16px;
    }
}
