﻿@font-face {
    font-family: 'Vazirmatn-Bold'; /* نام فونت */
    src: url('../Font/webfonts/Vazirmatn-Bold.woff2') format('woff2'); /* مسیر فایل فونت */
    font-weight: normal; /* وزن فونت */
    font-style: normal; /* سبک فونت */
}
/* ===== VARIABLES ===== */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --danger: #ef4444;
    --success: #10b981;
    --border-radius: 0.375rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn-Bold', sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER STYLES ===== */
.header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0px 0px 29px 0px;
}
.DMegaSubmenu {
    margin-top: 26px !important;
}
.scroll_right {
    border: solid 1px silver;
    padding: 15px 21px 16px 21px;
    border-radius: 34px;
    margin: 8px 0px 0px 0px;
    background: white;
    box-shadow: 0px 0px 4px silver;
    transition: box-shadow 0.3s ease;
    z-index: 1;
    left: 0;
    cursor: pointer;
    position: absolute;
}

.scroll_right:hover {
    box-shadow: 0px 0px 11px silver;
}

.scroll_left {
    border: solid 1px silver;
    padding: 15px 21px 16px 21px;
    border-radius: 34px;
    margin: 8px 0px 0px -6px;
    background: white;
    box-shadow: 0px 0px 4px silver;
    transition: box-shadow 0.3s ease;
    z-index: 1;
    cursor: pointer;
    position: absolute;
    right: 0;
}

    .scroll_left:hover {
        box-shadow: 0px 0px 11px silver;
    }



.sidenav {
    height: 100%;
    position: fixed;
    width: 0px;
    z-index: 10000;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 28px 39px 8px 14px;
    text-decoration: none;
    font-size: 19px;
    color: #000000;
    direction: rtl;
    display: block;
    transition: 0.3s;
}

    .sidenav a:hover {
        color: #960000;
    }

.sidenav .closebtn {
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}


.closebtn {
    position: absolute;
    top: -14px;
    right: 20px;
    font-size: 36px;
    margin-left: 50px;
}

.NavSide {
    padding: 28px 39px 8px 14px;
    text-decoration: none;
    font-size: 19px;
    color: #000000;
    direction: rtl;
    display: block;
    transition: 0.3s;
}

.sidebarMenoButton {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin: 8px 0px -15px 0px;
}

#mySidenav {
    display: none;
    width: 250px;
    padding: 60px 0px 50px 0px;
    background: rgb(243 243 243);
    box-shadow: rgb(140 140 140) 0px 0px 13px;
}

@media (max-width: 768px) {
    .sidebarMenoButton {
        display: block;
    }

    .scroll_right {
        display: none;
    }

    .scroll_left {
        display: none;
    }

    .nav_menud {
        display: none;
    }

    #mySidenav {
        display: block;
    }
}

@media (max-width: 576px) {
    #mySidenav {
        display: block;
    }

    .sidebarMenoButton {
        display: block;
    }

    .scroll_right {
        display: none;
    }

    .scroll_left {
        display: none;
    }

    .nav_menud {
        display: none;
    }
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
}

    .logo span {
        color: var(--secondary);
    }

.header-date {
    font-size: 0.875rem;
    color: var(--gray);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

    .header-actions a {
        color: var(--gray);
        font-size: 0.875rem;
        transition: var(--transition);
    }

        .header-actions a:hover {
            color: var(--primary);
        }

        .header-actions a.active {
            color: var(--primary);
            font-weight: bold;
        }

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--gray);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

    .breadcrumb-item:not(:last-child)::after {
        content: "/";
        margin: 0 0.5rem;
        color: var(--gray-light);
    }
.main-nav {
    position: relative;
    direction: rtl;
    padding: 0px 0px 10px 0px;
}
.nav-item {
    margin: 0px 14px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse; /* Categories on right */
}

.nav-menu {
    margin: 0px 46px 0px 43px;
    white-space: nowrap;
    padding: 20px 0px 0px 0px;
    display: flex;
    display: -webkit-box;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: var(--space-md);
}
.breadcrumb-link {
    color: var(--gray);
    transition: var(--transition);
}

    .breadcrumb-link:hover {
        color: var(--primary);
    }

.breadcrumb-item:last-child .breadcrumb-link {
    color: var(--primary);
    pointer-events: none;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}
.responsiv_Mobile {
    margin-top: 16px;
}
.page-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    padding-right: 1rem;
}

    .section-title::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 24px;
        background-color: var(--primary);
        border-radius: 2px;
    }

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

    .info-item:last-child {
        margin-bottom: 0;
    }

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.info-text {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

    .info-text a {
        color: var(--primary);
        transition: var(--transition);
    }

        .info-text a:hover {
            color: var(--primary-light);
            text-decoration: underline;
        }

.social-links-contact {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link-contact {
    width: 36px;
    height: 36px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

    .social-link-contact:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

/* Contact Form */
.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-light);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1rem;
}

    .form-row .form-group {
        flex: 1;
    }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

    .btn:hover {
        background-color: var(--primary-light);
    }

/* Form validation */
.form-control.is-invalid {
    border-color: var(--danger);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--danger);
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

/* Success message */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: none;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* Map Section */
.map-section {
    margin-bottom: 3rem;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
.a_MenoImageTitle {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    margin: 19px -25px 5px 0px !important;
    font-size: 16px !important;
}
/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

    .faq-item:last-child {
        border-bottom: none;
    }

.faq-question {
    padding: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

    .faq-question:hover {
        background-color: rgba(59, 130, 246, 0.05);
        color: var(--primary);
    }

    .faq-question::after {
        content: "+";
        font-size: 1.5rem;
        color: var(--primary);
        transition: var(--transition);
    }

.faq-item.active .faq-question {
    color: var(--primary);
}

    .faq-item.active .faq-question::after {
        content: "-";
        transform: rotate(180deg);
    }

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

/* Working Hours */
.working-hours {
    margin-top: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--gray-light);
}

    .hours-item:last-child {
        border-bottom: none;
    }

.hours-day {
    font-weight: bold;
}

.hours-time {
    color: var(--gray);
}

.hours-closed {
    color: var(--danger);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

    .social-link:hover {
        background-color: var(--primary);
    }

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-title::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 40px;
        height: 2px;
        background-color: var(--primary);
    }

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

    .footer-links a:hover {
        opacity: 1;
        color: var(--primary-light);
    }

.contact-info-footer li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu {
        display: none;
    }
    .nav-container {
        direction: ltr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .header-top {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        padding: 3px 0px 9px 0px;
    }
    .main-nav {
        padding: 0px 0px 6px 0px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

