/* ریست اولیه برای سازگاری با تمامی مرورگرها */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* هدر */
header {
    background-color: #a3d1e0;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    color: #fff;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* بخش محصولات */
#products {
    padding: 50px 0;
}

#products h2 {
    text-align: center;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.product-item span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* بخش درباره ما */
#about {
    background-color: #eaf6f9;
    padding: 50px 0;
    text-align: center;
}

#about p {
    width: 60%;
    margin: 0 auto;
    font-size: 1.1em;
}

/* بخش تماس */
#contact {
    padding: 50px 0;
    text-align: center;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact form input, #contact form textarea {
    width: 50%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#contact form button {
    padding: 10px 20px;
    background-color: #a3d1e0;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

#contact form button:hover {
    background-color: #89b7c8;
}

/* فوتر */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}
