/* Reset و فونت ها */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #253b80;
    --secondary-color: #3bb0fb;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --gray-bg: #f5f5f5;
    --dark-bg: #111;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* دکمه ها */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* هدر */
.header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.sticky {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo p {
    font-size: 12px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-right: 25px;
}

.nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav ul li a:hover {
    color: var(--secondary-color);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    right: 0;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

.header-icons a {
    color: var(--white);
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.header-icons a:hover {
    color: var(--secondary-color);
}

/* بخش هیرو */
.hero {
    padding: 150px 0 100px;
    background-color: var(--primary-color);
    color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h2 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ویژگی ها */
.features {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.features .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    width: calc(25% - 20px);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--light-text);
    font-size: 14px;
}

/* محصولات */
.products {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 32px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-rating {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-rating span {
    color: var(--light-text);
    font-size: 12px;
    margin-right: 5px;
}

.product-price {
    margin-bottom: 15px;
}

.product-price .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .old-price {
    font-size: 14px;
    color: var(--light-text);
    text-decoration: line-through;
    margin-right: 10px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* برندها */
.brands {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.brand-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand-logos img {
    height: 60px;
    margin: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.brand-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* درباره ما */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-image {
    flex: 1;
    padding-right: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--light-text);
}

.about-stats {
    display: flex;
    margin-top: 30px;
}

.about-stats .stat {
    text-align: center;
    margin-right: 30px;
}

.about-stats .stat:last-child {
    margin-right: 0;
}

.about-stats .number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.about-stats .label {
    font-size: 14px;
    color: var(--light-text);
}


/* تماس با ما */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact .container {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    padding-right: 50px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-box i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-left: 15px;
    margin-top: 5px;
}

.info-box h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-box p {
    color: var(--light-text);
    line-height: 1.6;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    background-color: var(--gray-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* فوتر */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    color: var(--secondary-color);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    bottom: -10px;
    right: 0;
}

.footer-col p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 0 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e6c200;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.payment-methods img {
    height: 30px;
    margin