/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}
/*header*/
header {
    background-color: #f78e1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

header .logo img {
    height: 40px;
    margin-top: 20px;
    border-radius: 100%;
}
header div{
    display:flex;
    color:white;
}
header h1{
    padding-left: 5px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}
#menubar,#close{
    display: none;
}

.hero, .about, .products, .contact {
    padding: 50px 30px;
    text-align: center;
}
.about{
   margin-top: 10%;
}
/*Home page*/
.hero {
    background: url('img/bgimg.jpg') no-repeat center center/cover;
    height: 700px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5); /* Darkens the image for text visibility */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ddd;
}

.btn {
    background-color: #fff;
    color: #f78e1e;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #f78e1e;
    color: white;
}
/*product page*/
.products{
    background: url('img/bgimg.jpg') no-repeat center center/cover;
    height: 900px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5); /* Darkens the image for text visibility */
}
.product-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.product {
    flex-basis: 30%;
    text-align: center;
}

.product img {
    width: 100%;
    max-width: 250px;
    height: 200px;
}
.product label{
    font-size: 20px;
    color:pink;

}
.product input{
    background: #fff;
    height:30px;
    width:40%;
    display: flex;
    border-radius: 5px;
    margin-left: 30%;
    
}
.product input::placeholder{
    color:#333;
}
.product button{
    background-color: #fff;
    color: #f78e1e;
    padding: 5px 5%;
    margin-bottom: 10px;
    margin-left: 2%;
    text-decoration: none;
    font-weight: bold;
    font-size: larger;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product button:hover {
    background-color: #f78e1e;
    color: white;
}


/*contact page*/
.contact{
    background: url('img/bgimg.jpg') no-repeat center center/cover;
    height: 400px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5); /* Darkens the image for text visibility */
}


form input{
    background:rgba(93, 147, 151, 0.87);
    display: flex;
    width: 500px;
    height:30px;
    max-width: 400px;
    margin-bottom: 15px;
    padding-left: 5px;
    font-size: 1rem;
    margin-right: 40px;
    border-radius: 5px;
}
form textarea{
    background:rgba(93, 147, 151, 0.87);
    display: flex;
    width: 500px;
    height:70px;
    max-width: 400px;
    margin-bottom: 15px;
    padding-left: 5px;
    font-size: 1rem;
    margin-right: 40px;
    border-radius: 5px;
}

form input,form textarea:focus{
    outline: none;
}
form button {
    padding: 10px 20px;
    background-color:white ;
    color:#f78e1e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
form button:hover{
    background-color:#f78e1e;
    color:#fff;
}
form input::placeholder,form textarea::placeholder{
    color:#fff;
}
/*footer*/
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}
@media  screen and (max-width:700px) {
    #menubar{
        display: block;
        color:#fff;
    }
    nav{ 
        flex-direction: column;
        align-items: flex-start;
    }
    .menuitems{
        display: none;
    }
    nav .items{
        position: absolute;
        right: 0;
        margin-right: 10%;
        padding: 10px;
        flex-direction: column;
        background-color: #fff;
        border-radius: 5px;
        z-index: 3; 
    }
    .items li a{
        color: #f78e1e;
    }
    #close{
        display: block;
        position: relative;
        left:60px;
        color:#f78e1e;
    }
    
    .products {
        height: auto;
        padding: 20px;
    }

    .product-grid {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
        margin-bottom: 30px;
        flex-basis: 100%;
    }

    .product input {
        width: 80%;
        margin-left: 10%;
    }

    .product button {
        width: auto;
        margin: 10px auto;
    }

    .product img {
        max-width: 100%;
        height: auto;
    }
}

