﻿:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Shabnam, Tahoma, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
}

    .logo span {
        color: var(--secondary-color);
    }

.hero {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-dark);
    flex-grow: 1;
}

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        color: var(--primary-color);
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 30px;
        line-height: 1.8;
    }

.content {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .card h3 {
        color: var(--primary-color);
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 10px;
    }

        .card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--secondary-color);
        }

footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
    position: relative;
    margin-top: auto;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .footer-wave svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 50px;
    }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    position: relative;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.3rem;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: -8px;
        width: 50px;
        height: 2px;
        background: var(--secondary-color);
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


    .footer-links li {
        width: 100%;
        clear: both;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        width: 100%;
    }

        .footer-links a i {
            transition: transform 0.3s;
        }

        .footer-links a:hover {
            color: var(--secondary-color);
        }

            .footer-links a:hover i {
                transform: translateX(-5px);
            }

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
    min-width: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

    .newsletter-form input {
        flex: 1;
        padding: 12px 15px;
        border: none;
        outline: none;
        border-radius: 4px 0 0 4px;
        font-size: 0.9rem;
        font-family: Shabnam;
    }

    .newsletter-form button {
        background: var(--accent-color);
        color: white;
        border: none;
        padding: 0 20px;
        cursor: pointer;
        border-radius: 0 4px 4px 0;
        transition: background 0.3s;
        font-family: Shabnam;
    }

        .newsletter-form button:hover {
            background: #c0392b;
        }

.social-icons {
    display: flex;
    margin-top: 25px;
    gap: 15px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background: var(--secondary-color);
            transform: translateY(-5px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

    .payment-methods img {
        height: 25px;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s;
    }

        .payment-methods img:hover {
            filter: grayscale(0);
            opacity: 1;
        }

/* طراحی واکنش‌گرا */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col h4::after {
        width: 40px;
    }

    .footer-links a {
        gap: 8px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

        .newsletter-form input,
        .newsletter-form button {
            width: 100%;
            border-radius: 4px;
        }

    .hero {
        padding: 60px 20px;
    }

        .hero h1 {
            font-size: 2.2rem;
        }
}
