* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Vazirmatn',sans-serif; background:#f8f9fa; color:#333; line-height:1.7; direction:rtl; }

.container { max-width:1300px; margin:auto; padding:0 20px; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; }

/* رنگ‌های اصلی */
:root {
    --primary: #1e40af;
    --secondary: #365314;
    --accent: #84cc16;
    --dark: #1a2e05;
    --light: #f0fdf4;
}

/* هدر */
header { background:rgba(26,46,5,0.95); backdrop-filter:blur(10px); position:fixed; width:100%; top:0; z-index:1000; padding:15px 0; }
header .container { display:flex; justify-content:space-between; align-items:center; }
.logo img { height:65px; border-radius:8px; }
nav ul { display:flex; gap:30px; list-style:none; }
nav a { color:white; font-weight:500; padding:8px 16px; border-radius:8px; transition:0.3s; }
nav a:hover, nav a.active { background:var(--accent); color:var(--dark); }
.hamburger { display:none; font-size:28px; color:white; cursor:pointer; }

/* هیرو */
.hero { height:100vh; min-height:650px; background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.8)), url('uploads/workshop.jpg') center/cover no-repeat fixed; 
         display:flex; align-items:center; text-align:center; color:white; }
.hero h1 { font-size:4.5rem; font-weight:900; margin-bottom:20px; }
.hero p { font-size:1.6rem; max-width:800px; margin:0 auto 40px; }
.btn { padding:16px 40px; border-radius:50px; font-weight:bold; margin:10px; display:inline-block; transition:0.4s; }
.btn.primary { background:var(--accent); color:var(--dark); }
.btn.secondary { background:transparent; border:3px solid var(--accent); color:white; }
.btn:hover { transform:translateY(-5px); box-shadow:0 15px 30px rgba(132,204,22,0.4); }

/* بخش‌ها */
.section { padding:100px 20px; }
.section h2 { font-size:3rem; text-align:center; color:var(--dark); margin-bottom:60px; position:relative; }
.section h2::after { content:''; width:100px; height:5px; background:var(--accent); display:block; margin:20px auto; border-radius:5px; }

.grid-4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:40px; text-align:center; color:white; }
.services-grid, .gallery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:30px; }

.card { background:white; border-radius:20px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.1); transition:0.4s; text-align:center; padding:25px; }
.card:hover { transform:translateY(-15px); box-shadow:0 25px 50px rgba(0,0,0,0.2); }
.card img { border-radius:15px; height:220px; object-fit:cover; }

.stats { background:linear-gradient(135deg, var(--dark), var(--secondary)); padding:100px 20px; }
.workshop-gallery { background:#f1f8e9; }

.gallery-grid img { border-radius:15px; transition:0.4s; cursor:pointer; }
.gallery-grid img:hover { transform:scale(1.05); box-shadow:0 20px 40px rgba(0,0,0,0.3); }

/* فوتر */
footer { background:#111; color:#aaa; padding:60px 20px 20px; text-align:center; font-size:1rem; }

/* ریسپانسیو */
@media (max-width:768px) {
    {
        .hamburger { display:block; }
        nav ul { position:fixed; top:80px; right:-100%; width:100%; height:100vh; background:var(--dark); flex-direction:column; padding-top:80px; transition:0.4s; }
        nav ul.active { right:0; }
        .hero h1 { font-size:2.8rem; }
        .hero p { font-size:1.3rem; }
    }
}

/* ==================== منوی حرفه‌ای موبایل (Drawer) ==================== */
nav {
    position: relative;
}

.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.close-menu {
    display: none;
    position: absolute;
    top: 28px;
    left: 30px;
    font-size: 34px;
    color: #84cc16;
    cursor: pointer;
    z-index: 1002;
}

/* نمایش منوی موبایل */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(20, 35, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 110px 30px 60px;
        transition: right 0.45s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        box-shadow: -15px 0 40px rgba(0,0,0,0.6);
        z-index: 1000;
        overflow-y: auto;
    }

    nav ul.active {
        right: 0;
    }

    nav ul.active .close-menu {
        display: block;
    }

    nav ul li {
        margin: 18px 0;
        opacity: 0;
        transform: translateY(30px);
        animation: slideDown 0.6s forwards;
    }

    nav ul li:nth-child(1) { animation-delay: 0.1s; }
    nav ul li:nth-child(2) { animation-delay: 0.2s; }
    nav ul li:nth-child(3) { animation-delay: 0.3s; }
    nav ul li:nth-child(4) { animation-delay: 0.4s; }
    nav ul li:nth-child(5) { animation-delay: 0.5s; }

    nav ul a {
        font-size: 1.5rem;
        font-weight: 500;
        color: white;
        padding: 15px 30px;
        display: block;
        border-radius: 15px;
        transition: 0.3s;
    }

    nav ul a:hover, nav ul a.active {
        background: #84cc16;
        color: #1a2e05;
        transform: scale(1.05);
    }

    .menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.75);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================== اسلایدر درباره ما – حرفه‌ای و مدرن ==================== */
.about-hero-slider {
    width: 100%;
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: 0;
}

.aboutSwiper {
    width: 100%;
    height: 100%;
}

.aboutSwiper .swiper-slide {
    position: relative;
    background: #000;
}

.aboutSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(26,46,5,0.8), rgba(132,204,22,0.3));
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 1000px;
}

.slide-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.slide-content p {
    font-size: 1.8rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* دکمه‌های اسلایدر */
.aboutSwiper .swiper-button-next,
.aboutSwiper .swiper-button-prev {
    color: #84cc16;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.aboutSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.aboutSwiper .swiper-pagination-bullet-active {
    background: #84cc16;
    opacity: 1;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .about-hero-slider { height: 70vh; }
    .slide-content h1 { font-size: 2.8rem; }
    .slide-content p { font-size: 1.3rem; }
}

.about-features {
    margin: 30px 0;
    line-height: 2.2;
    font-size: 1.1rem;
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}