/* استایل‌های اصلی سایت */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
}

header {
    background: #1a1a1a;
    padding: 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #d32f2f;
}

.hero {
    background: url('https://via.placeholder.com/1200x800') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 600px;
    color: #fff;
    padding: 20px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #d32f2f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #b71c1c;
    transform: scale(1.1);
}

.section-padding {
    padding: 80px 20px;
    text-align: center;
}

/* استایل صفحه حریم خصوصی */
#privacy-policy {
    padding: 30px;
    background-color: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-height: 100%;
    overflow: auto;
}

h2 {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    margin-left: 40px;
    text-align: left;
}

ul li {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 10px;
}

footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    font-size: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* استایل‌های مربوط به منو و کارت‌ها */
.menu-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.menu-item {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
}

.menu-item h3 {
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 10px;
}

.menu-item .price {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.menu-item .description {
    font-size: 1rem;
    color: #ddd;
    margin-top: 10px;
    line-height: 1.5;
    display: none;
    transition: max-height 0.3s ease-out;
    max-height: 0;
}

.menu-item:hover .description {
    display: block;
    max-height: 100px;
}

.menu-item:hover {
    transform: translateY(-10px);
}

/* فرم تماس */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.contact input,
.contact textarea {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #333;
    color: #fff;
    transition: border 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border: 1px solid #d32f2f;
    outline: none;
}

.contact button {
    background-color: #d32f2f;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact button:hover {
    background-color: #b71c1c;
    transform: scale(1.05);
}

/* استایل‌های واکنش‌گرا (Responsive) */

/* برای دستگاه‌های کوچک (موبایل) */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    header {
        padding: 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header nav ul {
        flex-direction: row;
        gap: 20px;
        text-align: center;
    }

    .hero {
        background-position: center;
        background-size: cover;
        height: 60vh;
    }

    .hero-content {
        max-width: 90%;
        padding: 10px;
    }

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 50px 10px;
    }

    .menu-items {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    .menu-item {
        width: 45%;
        margin-bottom: 20px;
    }

    .contact form {
        padding: 20px;
        gap: 15px;
    }

    .contact input,
    .contact textarea {
        font-size: 1rem;
        padding: 12px;
        width: 100%;
    }

    .contact button {
        font-size: 1rem;
        padding: 12px;
        width: 100%;
    }
}

/* برای دستگاه‌های بسیار کوچک (موبایل عمودی) */
@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .menu-item {
        width: 100%;
        padding: 20px;
    }

    .contact form {
        padding: 15px;
        gap: 10px;
    }

    .contact input,
    .contact textarea {
        font-size: 0.9rem;
        padding: 10px;
        width: 100%;
    }

    .contact button {
        font-size: 1rem;
        padding: 12px;
        width: 100%;
    }

    /* برای بخش حریم خصوصی */
    #privacy-policy {
        padding: 20px;
        max-height: none;
        overflow: visible;
    }

    #privacy-policy h2 {
        font-size: 1.8rem;
    }

    #privacy-policy p {
        font-size: 1rem;
    }

    #privacy-policy ul li {
        font-size: 1rem;
    }
}
