/* General styles */
h1{
    color: #a8f3c3;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:#f4f4f4;
    /*background image*/
    background-image: url(ismail.jpeg);
    background-repeat: repeat;
    background-position: top left;
    background-size: 250px 250px;
    background-attachment: scroll;


   
}

/* Header Flexbox Layout */
header {
    background-color: #3a6a4b;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 10px 20px; 
}

/* Logo Style */
.logo-container {
    margin-right: 20px;
}

.logo {
    width: 100px; 
    height: auto;
}

/* Navigation Style */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; 
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color:whitesmoke;
    font-size: 18px;
}

nav ul li a:hover {
    color: #235751;
}

nav ul li {
    position: relative;
}

.submenu {
    display: none; /* Hide submenu by default */
    position: absolute;
    top: 100%; /* Position it below the parent menu */
    left: 0;
    background-color: #3a6a4b; /* Set the background color */
    list-style-type: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

nav ul li:hover .submenu {
    display: block; /* Show submenu on hover */
}

.submenu li {
    padding: 5px 10px;
}

.submenu li a {
    color: white;
    text-decoration: none;
}

.submenu li a:hover {
    color: #0073e6; /* Change color on hover */
}


/* Middle Content */
.content {
    padding: 50px;
    text-align: center;
    background-color: transparent;
}

.content h1 {
    font-size: 40px;
    margin-bottom: 90px;
    color: #a8f3c3;
}

.content p {
    font-size: 30px;
    color: #0a0d0c;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 50px; 
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px; 
}

.product-item {
    background-color: di   ;
    padding: 20px;
    border: 10px solid #3a6a4b;
    border-radius: 10px;
    text-align: center;
}

.product-img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}

.product-item p {
    margin: 5px 0;
}

/* Footer */
footer {
    background-color:#3a6a4b;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #0c100f;
    text-decoration: none;
}

footer a:hover {
    color: rgb(241, 233, 241);
}

/* Product Image Border */
.product-img, .product-img-large {
    border: 5px solid #ccc; 
    border-radius: 10px; 
    padding: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.product-img-large {
    width: 98%;
    height: auto;
    margin-bottom: 20px;
    align-items: center;
}

.product-img {
    width: 200px;
    height: 200px;
}

/* Account Form */
.account-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.account-form h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.account-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.account-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.account-form button {
    width: 100%;
    padding: 10px;
    background-color: #3a6a4b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.account-form button:hover {
    background-color: #3a6a4b;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-form h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #3a6a4b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color:#3a6a4b;
}

/* Account Options Section */
.account-options {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.account-options h1 {
    margin-bottom: 20px;
    font-size: 28px;
}

.account-options p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    font-size: 18px;
    background-color:#3a6a4b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #3a6a4b;
}

/* Button for Adding to Cart */
.buy-button {
    background-color:#3a6a4b; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.buy-button:hover {
    background-color: #3a6a4b; 
}
