﻿:root {
    --bg-base: #CBA676;
    --bg-accent: #F4E3C3;
    --brown-dark: #7A3F17;
    --brown-mid: #A35E2F;
    --green: #2F6E3E;
    --paper: #F9EAD2;
    --text: #4B3A27;
    --muted: #6B5642;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

body {
    font-family: 'Vazirmatn','Crimson Pro',serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.35), transparent 55%), radial-gradient(circle at 80% 30%, rgba(255,255,255,.2), transparent 50%), linear-gradient(135deg, #B78C59 0%, #8F5B2C 60%, #704018 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Nav */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: saturate(120%) blur(8px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(244,227,195,.9);
    border-bottom: 1px solid rgba(122,63,23,.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--brown-dark);
}

    .brand img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        object-fit: cover;
    }

    .brand .title-fa {
        font-weight: 700
    }

    .brand .title-en {
        font-family: 'Crimson Pro',serif;
        font-weight: 600;
        color: var(--brown-mid);
        font-size: .95rem;
    }

.menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

    .menu a {
        font-weight: 600;
        color: var(--muted)
    }

        .menu a:hover {
            color: var(--brown-dark)
        }

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg,var(--green),#1f4026);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(47,110,62,.35);
}

.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(122,63,23,.3);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    cursor: pointer;
}

    .hamburger span {
        width: 18px;
        height: 2px;
        background: var(--brown-dark);
        position: relative;
    }

        .hamburger span::before,
        .hamburger span::after {
            content: "";
            position: absolute;
            left: 0;
            width: 18px;
            height: 2px;
            background: var(--brown-dark);
        }

        .hamburger span::before {
            top: -6px
        }

        .hamburger span::after {
            top: 6px
        }

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 78vh;
    min-height: 520px;
    max-height: 880px;
    border-bottom: 1px solid rgba(122,63,23,.15);
    background: var(--bg-accent);
}

.slides {
    position: absolute;
    inset: 0
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s ease;
}

    .slide.active {
        opacity: 1;
        pointer-events: auto
    }

    .slide .bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(108%) contrast(92%);
        transform-origin: center;
        animation: kenburns 16s ease-in-out infinite;
    }
    /* Slightly different pan per slide */
    .slide:nth-child(2) .bg {
        animation-name: kenburns2
    }

    .slide:nth-child(3) .bg {
        animation-name: kenburns3
    }

    .slide:nth-child(4) .bg {
        animation-name: kenburns4
    }

.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 80% 20%, rgba(47,110,62,.35), transparent 65%), linear-gradient(180deg, rgba(244,227,195,.85) 0%, rgba(244,227,195,.65) 45%, rgba(244,227,195,.35) 100%);
    mix-blend-mode: multiply;
}

.slide .content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content .inner {
    width: 100%;
    max-width: 1100px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 30px;
    align-items: center;
}

.caption {
    background: rgba(244,227,195,.78);
    border: 1px solid rgba(122,63,23,.18);
    box-shadow: 0 24px 50px rgba(67,37,13,.28), inset 0 0 35px rgba(255,255,255,.16);
    border-radius: 26px;
    padding: 28px;
    transform: translateY(18px);
    opacity: 0;
    transition: transform .8s ease, opacity .8s ease;
}

.slide.active .caption {
    transform: translateY(0);
    opacity: 1
}

.caption h1 {
    margin: 0;
    font-size: clamp(2rem,5vw,3.2rem);
    line-height: 1.25;
    color: var(--brown-dark);
}

.caption p {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--muted);
}

.caption .actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: .25s;
}

    .btn.primary {
        background: linear-gradient(135deg,var(--green),#1f4026);
        color: #fff;
        box-shadow: 0 10px 22px rgba(47,110,62,.35);
    }

        .btn.primary:hover {
            transform: translateY(-2px)
        }

    .btn.outline {
        border: 1px solid rgba(163,94,47,.55);
        color: var(--brown-mid);
        background: rgba(163,94,47,.08);
    }

        .btn.outline:hover {
            background: rgba(163,94,47,.15)
        }

.visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(67,37,13,.35);
    border: 1px solid rgba(122,63,23,.25);
    transform: translateY(18px);
    opacity: 0;
    transition: transform .8s ease .1s, opacity .8s ease .1s;
}

.slide.active .visual {
    transform: translateY(0);
    opacity: 1
}

.visual img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ornament {
    position: absolute;
    inset: auto auto -55px -55px;
    width: 180px;
    height: 180px;
    opacity: .35;
    pointer-events: none;
}

    .ornament svg {
        width: 100%;
        height: 100%
    }

    .ornament.parallax {
        transform: translate3d(0,0,0);
        transition: transform .2s ease
    }

/* Navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--bg-accent),#f1d9b5);
    border: 1px solid rgba(122,63,23,.35);
    box-shadow: 0 10px 20px rgba(67,37,13,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-dark);
    cursor: pointer;
    z-index: 5;
}

    .nav-btn:hover {
        transform: translateY(-50%) scale(1.05)
    }

.prev {
    left: 18px
}

.next {
    right: 18px
}

.dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
    background: rgba(244,227,195,.7);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(122,63,23,.2);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(122,63,23,.35);
    cursor: pointer;
    transition: .25s;
}

    .dot.active {
        background: var(--green);
        box-shadow: 0 0 0 4px rgba(47,110,62,.12);
    }

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg,var(--green),#1f4026);
    z-index: 6;
    box-shadow: 0 6px 16px rgba(47,110,62,.35);
}

/* Leaf particles for subtle atmosphere */
.leafs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

    .leafs span {
        position: absolute;
        width: 10px;
        height: 18px;
        background: linear-gradient(135deg,var(--brown-mid),var(--brown-dark));
        clip-path: path('M5 0 C10 6 10 12 5 18 C0 12 0 6 5 0 Z');
        opacity: .15;
        animation: floatUp 14s linear infinite;
        transform: translateY(100%);
    }

        .leafs span:nth-child(odd) {
            background: linear-gradient(135deg,var(--green),#1f4026);
            opacity: .22;
        }

        .leafs span:nth-child(1) {
            left: 8%;
            animation-duration: 16s
        }

        .leafs span:nth-child(2) {
            left: 18%;
            animation-duration: 13s;
            animation-delay: 2s
        }

        .leafs span:nth-child(3) {
            left: 28%;
            animation-duration: 17s;
            animation-delay: 4s
        }

        .leafs span:nth-child(4) {
            left: 40%;
            animation-duration: 12s;
            animation-delay: 1s
        }

        .leafs span:nth-child(5) {
            left: 52%;
            animation-duration: 15s;
            animation-delay: 3s
        }

        .leafs span:nth-child(6) {
            left: 64%;
            animation-duration: 12s;
            animation-delay: 6s
        }

        .leafs span:nth-child(7) {
            left: 76%;
            animation-duration: 18s;
            animation-delay: 5s
        }

        .leafs span:nth-child(8) {
            left: 88%;
            animation-duration: 14s;
            animation-delay: 2s
        }

@keyframes floatUp {
    0% {
        transform: translateY(110%) rotate(-6deg)
    }

    50% {
        transform: translateY(45%) rotate(6deg)
    }

    100% {
        transform: translateY(-20%) rotate(-6deg)
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1.08) translateX(10px) translateY(-8px)
    }

    50% {
        transform: scale(1.12) translateX(-6px) translateY(8px)
    }

    100% {
        transform: scale(1.16) translateX(12px) translateY(-6px)
    }
}

@keyframes kenburns2 {
    0% {
        transform: scale(1.08) translateX(-10px) translateY(6px)
    }

    50% {
        transform: scale(1.12) translateX(6px) translateY(-6px)
    }

    100% {
        transform: scale(1.16) translateX(-12px) translateY(6px)
    }
}

@keyframes kenburns3 {
    0% {
        transform: scale(1.08) translateX(6px) translateY(6px)
    }

    50% {
        transform: scale(1.12) translateX(-8px) translateY(-6px)
    }

    100% {
        transform: scale(1.16) translateX(10px) translateY(4px)
    }
}

@keyframes kenburns4 {
    0% {
        transform: scale(1.07) translateX(-6px) translateY(-8px)
    }

    50% {
        transform: scale(1.11) translateX(6px) translateY(10px)
    }

    100% {
        transform: scale(1.15) translateX(-10px) translateY(-6px)
    }
}

/* Sections */
section {
    padding: 64px 0
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

    .section-title h2 {
        font-size: clamp(1.6rem,3.5vw,2rem);
        color: var(--brown-dark);
        margin: 0;
    }

    .section-title .leaf {
        width: 28px;
        height: 28px
    }

.features {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.feature {
    background: var(--bg-accent);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(122,63,23,.18);
    box-shadow: 0 10px 24px rgba(67,37,13,.18);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .feature:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 30px rgba(67,37,13,.25);
    }

    .feature .icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        background: linear-gradient(135deg,var(--brown-dark),var(--brown-mid));
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-bottom: 10px;
    }

    .feature h3 {
        margin: 0 0 6px;
        font-size: 1.05rem;
        color: var(--brown-dark);
    }

    .feature p {
        margin: 0;
        color: var(--muted);
        font-size: .95rem
    }

    .feature::after {
        content: "";
        position: absolute;
        right: -20px;
        bottom: -20px;
        width: 120px;
        height: 120px;
        background: radial-gradient(circle at 50% 50%, rgba(47,110,62,.12), transparent 60%);
        border-radius: 50%;
    }

.workshops {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.card {
    background: var(--paper);
    border: 1px solid rgba(122,63,23,.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(67,37,13,.22);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 38px rgba(67,37,13,.28);
    }

    .card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

    .card .content {
        padding: 16px
    }

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47,110,62,.1);
    color: var(--green);
    font-weight: 700;
    font-size: .85rem;
}

.card h3 {
    margin: 10px 0 6px;
    color: var(--brown-dark)
}

.meta {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 10px
}

.card .actions {
    display: flex;
    gap: 10px;
    margin-top: 8px
}

.price {
    margin-inline-start: auto;
    font-weight: 700;
    color: var(--brown-mid)
}

.gallery {
    columns: 3 280px;
    column-gap: 16px;
}

    .gallery figure {
        break-inside: avoid;
        margin: 0 0 16px;
        border-radius: 18px;
        overflow: hidden;
        position: relative;
        border: 1px solid rgba(122,63,23,.18);
        box-shadow: 0 10px 24px rgba(67,37,13,.18);
        transition: transform .25s ease;
    }

        .gallery figure:hover {
            transform: scale(1.02)
        }

    .gallery img {
        width: 100%;
        height: auto;
        display: block
    }

    .gallery figcaption {
        position: absolute;
        inset: auto 0 0 0;
        background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
        color: #fff;
        padding: 10px 12px;
        font-size: .9rem;
    }

.shop {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.product {
    background: var(--bg-accent);
    border: 1px solid rgba(122,63,23,.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(67,37,13,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .product:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 30px rgba(67,37,13,.24);
    }

    .product img {
        width: 100%;
        height: 200px;
        object-fit: cover
    }

    .product .content {
        padding: 14px
    }

    .product h3 {
        margin: 0 0 4px;
        color: var(--brown-dark);
        font-size: 1rem
    }

    .product .desc {
        color: var(--muted);
        font-size: .92rem
    }

    .product .bottom {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 10px
    }

    .product .price {
        font-weight: 700;
        color: var(--brown-mid)
    }

.add {
    margin-inline-start: auto;
    padding: 8px 12px;
    border: 1px solid rgba(163,94,47,.55);
    border-radius: 999px;
    font-weight: 700;
    color: var(--brown-mid);
    background: rgba(163,94,47,.08);
}

    .add:hover {
        background: rgba(163,94,47,.15)
    }

.testimonials {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.quote {
    background: var(--paper);
    border: 1px solid rgba(122,63,23,.2);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 26px rgba(67,37,13,.2);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .quote:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 34px rgba(67,37,13,.26);
    }

    .quote p {
        margin: 0 0 10px;
        color: var(--text);
        line-height: 1.9
    }

    .quote .author {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--muted)
    }

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--brown-mid),var(--brown-dark));
}

.stars {
    color: #F7B700;
    font-size: 1rem
}

.newsletter {
    background: linear-gradient(135deg, rgba(244,227,195,.95), rgba(249,234,210,.95));
    border: 1px solid rgba(122,63,23,.18);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(67,37,13,.18);
}

    .newsletter h3 {
        margin: 0;
        color: var(--brown-dark)
    }

    .newsletter p {
        margin: 6px 0 0;
        color: var(--muted)
    }

    .newsletter form {
        display: flex;
        gap: 10px;
        margin-inline-start: auto;
        flex-wrap: wrap;
    }

    .newsletter input {
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid rgba(122,63,23,.3);
        background: #fff;
        min-width: 260px;
    }

    .newsletter button {
        padding: 12px 16px;
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg,var(--green),#1f4026);
        color: #fff;
        font-weight: 700;
        box-shadow: 0 10px 22px rgba(47,110,62,.35);
        cursor: pointer;
    }

        .newsletter button:hover {
            transform: translateY(-2px)
        }

footer {
    margin-top: 60px;
    background: rgba(244,227,195,.92);
    border-top: 1px solid rgba(122,63,23,.2);
}

.footer-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 28px 20px;
    color: var(--muted);
}

.footer-brand {
    color: var(--brown-dark)
}

    .footer-brand p {
        margin: 8px 0 0
    }

.footer-col h4 {
    margin: 0 0 10px;
    color: var(--brown-dark)
}

.footer-col a {
    display: block;
    margin: 6px 0
}

.copyright {
    padding: 12px 20px;
    border-top: 1px solid rgba(122,63,23,.18);
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 980px) {
    .content .inner {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .hero-slider {
        height: 68vh;
        min-height: 460px
    }

    .features {
        grid-template-columns: repeat(2,1fr)
    }

    .workshops {
        grid-template-columns: repeat(2,1fr)
    }

    .shop {
        grid-template-columns: repeat(2,1fr)
    }

    .testimonials {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-wrap {
        grid-template-columns: 1fr 1fr
    }
}

/* پیش‌فرض: منوی موبایل مخفی */
.mobile-menu {
    display: none
}

/* دسکتاپ: حتی اگر کلاس open داشته باشد مخفی بماند */
@media (min-width: 681px) {
    .mobile-menu {
        display: none !important
    }
}

/* موبایل: منوی دسکتاپ مخفی، همبرگر نمایش؛ منوی موبایل فقط وقتی open شد */
@media (max-width: 680px) {
    .menu {
        display: none
    }

    .hamburger {
        display: flex
    }

    /* تنظیمات موبایل دیگر (غیرتکراری) */
    .hero-slider {
        height: 64vh;
        min-height: 420px
    }

    .caption {
        padding: 22px
    }

    .newsletter form {
        margin-inline-start: 0;
        width: 100%
    }

    .newsletter input {
        min-width: unset;
        flex: 1
    }

    /* استایل‌های ظاهری منوی موبایل (بدون تعیین display) */
    .mobile-menu {
        flex-direction: column;
        gap: 8px;
        background: var(--bg-accent);
        padding: 12px;
        border-bottom: 1px solid rgba(122,63,23,.18);
    }

        .mobile-menu a {
            padding: 8px;
            border-radius: 10px
        }

            .mobile-menu a:hover {
                background: rgba(163,94,47,.1)
            }

        /* نمایش فقط در حالت باز */
        .mobile-menu.open {
            display: flex
        }
}
.user-box {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    color: #4a2c10;
    background: rgba(255, 250, 245, 0.6);
    padding: 5px 10px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

    .user-box:hover {
        background: rgba(255, 243, 230, 0.9);
    }

.user-icon svg {
    width: 22px;
    height: 22px;
    stroke: #7A3F17;
}

.user-name a {
    color: #7A3F17;
    font-weight: 600;
    text-decoration: none;
}

    .user-name a:hover {
        color: #d87d31;
    }

.logout-form {
    margin: 0;
}

.logout-btn {
    background: none;
    border: none;
    color: #7A3F17;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.3s ease;
}

    .logout-btn:hover {
        color: #d87d31;
    }

.login-link {
    color: #7A3F17;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

    .login-link:hover {
        color: #d87d31;
    }




.calendar-section {
    background: #F5E9D3;
    padding: 3rem 1rem;
    border-radius: 16px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(122, 63, 23, 0.15);
}

.section-header {
    text-align: center;
    color: #7A3F17;
}

.calendar-logo {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.subtitle {
    color: #2E6B4E;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* ----- فیلترها ----- */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-group label {
    font-weight: 600;
    color: #7A3F17;
    margin-left: 6px;
}

.filter-group select {
    padding: 6px 10px;
    border: 1px solid #7A3F17;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    background: #fffaf5;
    color: #4a2c10;
}

.filter-btn {
    background: #7A3F17;
    color: #fff;
    padding: 7px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

    .filter-btn:hover {
        background: #2E6B4E;
    }

/* ----- تقویم ----- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.day-card {
    background: #fffdf9;
    border: 1px solid #e0b885;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.25s ease;
}

    .day-card:hover {
        transform: translateY(-4px);
    }

.day-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d8c0a2;
    padding-bottom: 6px;
    margin-bottom: 10px;
    color: #7A3F17;
    font-weight: 600;
}

.workshop-item {
    background: rgba(122,63,23,0.05);
    border-radius: 8px;
    padding: 7px 10px;
    margin-bottom: 10px;
}

    .workshop-item .time {
        display: block;
        color: #2E6B4E;
        font-weight: 600;
    }

    .workshop-item .title {
        display: block;
        color: #4a2c10;
        font-size: 0.9rem;
        margin-top: 4px;
    }

.register-btn {
    display: inline-block;
    padding: 4px 10px;
    color: #fff;
    background: #7A3F17;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

    .register-btn:hover {
        background: #2E6B4E;
    }


.logout-form {
    display: inline-flex;
    align-items: center;
}

.logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.25s ease;
}

.logout-icon {
    width: 24px;
    height: 24px;
    color: #7A3F17;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.logout-btn:hover .logout-icon {
    stroke: #2E6B4E;
    transform: translateX(-2px);
}

.logout-btn:active {
    transform: scale(0.92);
    background: rgba(122, 63, 23, 0.08);
}
/* ============================================
   دکمه بازگشت به صفحه اصلی
   ============================================ */
.back-button-container {
    padding: 20px;
    text-align: right;
    direction: rtl;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-btn .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.back-btn:hover .arrow {
    transform: translateX(5px);
}

/* موبایل */
@media (max-width: 680px) {
    .back-button-container {
        padding: 15px;
        text-align: center;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
