
/* تغییر فونت اصلی در همه جا */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F7F7F8; /* خاکستری نقره‌ای روشن */
    color: #1A1A1A; /* مشکی مات */
    direction: rtl;
    text-align: right;
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1A1A1A; /* مشکی مات */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 15px 20px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-title {
    display: none;
    font-size: 20px;
    color: #C0A062; /* طلایی لوکس */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #FFFFFF; /* سفید */
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #C0A062; /* طلایی لوکس */
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: #FFFFFF; /* سفید */
    background: none;
    border: none;
    cursor: pointer;
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}

#hero .hero-content {
    max-width: 800px;
}

#hero img.logo {
    width: 500px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#hero h1 {
    font-size: 48px;
    color: #C0A062; /* طلایی لوکس */
    margin-bottom: 20px;
}

#hero p {
    font-size: 20px;
    color: #1A1A1A; /* مشکی مات */
    margin-bottom: 30px;
}

#hero .cta-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #C0A062; /* طلایی لوکس */
    color: #1A1A1A; /* مشکی مات */
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#hero .cta-button:hover {
    background-color: #A88C4F; /* سایه تیره‌تر از طلایی لوکس */
    transform: scale(1.05);
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 36px;
    color: #C0A062; /* طلایی لوکس */
    margin-bottom: 40px;
    text-align: center;
}

#about {
    background-color: #1A1A1A; /* مشکی مات */
    border-radius: 15px;
    padding: 60px 20px;
}

#about .about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

#about .about-intro p {
    font-size: 18px;
    color: #FFFFFF; /* سفید */
    line-height: 1.8;
    margin-bottom: 20px;
}

#about .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

#about .feature-card {
    background-color: #F7F7F8; /* خاکستری نقره‌ای روشن */
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

#about .feature-card:hover {
    transform: translateY(-10px);
}

#about .feature-card h3 {
    font-size: 22px;
    color: #C0A062; /* طلایی لوکس */
    margin-bottom: 10px;
}

#about .feature-card p {
    font-size: 16px;
    color: #1A1A1A; /* مشکی مات */
    line-height: 1.6;
}

#plans .plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#plans .plan-card {
    background-color: #1A1A1A; /* مشکی مات */
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

#plans .plan-card:hover {
    transform: translateY(-10px);
}

#plans .plan-card h3 {
    font-size: 24px;
    color: #FFFFFF; /* سفید */
    margin-bottom: 15px;
}

#plans .plan-card p {
    font-size: 16px;
    color: #FFFFFF; /* سفید */
    margin-bottom: 10px;
}

#plans .plan-card .price {
    font-size: 28px;
    color: #C0A062; /* طلایی لوکس */
    margin-bottom: 20px;
}

#plans .plan-card button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #C0A062; /* طلایی لوکس */
    color: #1A1A1A; /* مشکی مات */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#plans .plan-card button:hover {
    background-color: #A88C4F; /* سایه تیره‌تر از طلایی لوکس */
}

#search {
    background-color: #1A1A1A; /* مشکی مات */
    border-radius: 15px;
    padding: 40px;
}

#search p {
    font-size: 18px;
    color: #FFFFFF; /* سفید */
    margin-bottom: 30px;
    text-align: center;
}

#search .search-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
}

#search .search-form input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #F7F7F8; /* خاکستری نقره‌ای روشن */
    border: none;
    border-radius: 24px;
    color: #1A1A1A; /* مشکی مات */
    text-align: right;
    margin-bottom: 10px;
}

#search .search-form input::placeholder {
    color: #1A1A1A; /* مشکی مات */
}

#search .search-form button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #C0A062; /* طلایی لوکس */
    color: #1A1A1A; /* مشکی مات */
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#search .search-form button:hover {
    background-color: #A88C4F; /* سایه تیره‌تر از طلایی لوکس */
}

#search .results-list {
    width: 100%;
    margin-top: 20px;
}

#search .result-item {
    background-color: #F7F7F8; /* خاکستری نقره‌ای روشن */
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#search .result-item:hover {
    background-color: #E0E0E0; /* سایه کمی تیره‌تر از خاکستری نقره‌ای */
}

#search .result-content {
    width: 100%;
    padding: 15px;
    background-color: #F7F7F8; /* خاکستری نقره‌ای روشن */
    border-radius: 10px;
    color: #1A1A1A; /* مشکی مات */
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
    display: none;
}

#contact .contact-info {
    text-align: center;
    margin-bottom: 40px;
}

#contact .contact-info p {
    font-size: 18px;
    color: #1A1A1A; /* مشکی مات */
    margin-bottom: 10px;
}

#contact .contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact .contact-form input,
#contact .contact-form textarea {
    padding: 12px;
    font-size: 16px;
    background-color: #1A1A1A; /* مشکی مات */
    border: none;
    border-radius: 10px;
    color: #FFFFFF; /* سفید */
    text-align: right;
}

#contact .contact-form textarea {
    resize: none;
    height: 120px;
}

#contact .contact-form button {
    padding: 12px;
    font-size: 16px;
    background-color: #C0A062; /* طلایی لوکس */
    color: #1A1A1A; /* مشکی مات */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact .contact-form button:hover {
    background-color: #A88C4F; /* سایه تیره‌تر از طلایی لوکس */
}

#contact .error {
    color: #8B0000; /* قرمز خطا */
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1A1A1A; /* مشکی مات */
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
}

.popup.active {
    display: block;
}

.popup h3 {
    color: #C0A062; /* طلایی لوکس */
    margin-bottom: 15px;
    font-size: 20px;
}

.popup p {
    color: #FFFFFF; /* سفید */
    margin-bottom: 20px;
    font-size: 16px;
}

.popup button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #C0A062; /* طلایی لوکس */
    color: #1A1A1A; /* مشکی مات */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup button:hover {
    background-color: #A88C4F; /* سایه تیره‌تر از طلایی لوکس */
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.popup-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

footer {
    padding: 30px;
    text-align: center;
    background-color: #1A1A1A; /* مشکی مات */
}

footer p {
    font-size: 14px;
    color: #FFFFFF; /* سفید */
    margin-bottom: 10px;
}

footer .footer-title {
    font-size: 18px;
    color: #C0A062; /* طلایی لوکس */
    margin-bottom: 10px;
}

@media (max-width: 1200px) {
    #about .features {
        grid-template-columns: repeat(2, 1fr);
    }

    #hero img.logo {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-title {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #1A1A1A; /* مشکی مات */
        padding: 20px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        font-size: 16px;
        padding: 10px 20px;
        display: block;
    }

    .nav-menu {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    #hero {
        height: auto;
        padding: 100px 20px 50px;
        margin-top: 0;
    }

    #hero h1 {
        font-size: 36px;
    }

    #hero p {
        font-size: 16px;
    }

    #hero img.logo {
        width: 200px;
    }

    #about .features {
        grid-template-columns: 1fr;
    }

    #plans .plan-card {
        max-width: 100%;
    }

    #search .search-form {
        flex-direction: column;
    }

    #search .search-form input,
    #search .search-form button {
        width: 100%;
    }

    #search .results-list,
    #search .result-content {
        width: 100%;
    }

    #contact .contact-form {
        max-width: 100%;
    }

    #contact .contact-form input,
    #contact .contact-form textarea,
    #contact .contact-form button {
        width: 100%;
    }

    .popup {
        width: 80%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 28px;
    }

    #hero .cta-button {
        padding: 12px 20px;
        font-size: 16px;
    }

    section h2 {
        font-size: 28px;
    }

    #about .feature-card,
    #plans .plan-card {
        padding: 15px;
    }

    #plans .plan-card .price {
        font-size: 22px;
    }
}