@font-face {
    font-family: "Nian";
    src: url(../font/Nian.eot);
    src: url(../font/Nian.eot?#iefix) format("embedded-opentype"), url(../font/Nian.woff) format("woff"), url(../font/Nian.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: "yekan-r";
    src: url(../font/YEKAN-BAKH-REGULAR.eot);
    src: url(../font/YEKAN-BAKH-REGULAR.eot?#iefix) format("embedded-opentype"), url(../font/YEKAN-BAKH-REGULAR.woff) format("woff"), url(../font/YEKAN-BAKH-REGULAR.TTF) format("truetype");
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: "yekan-b";
    src: url(../font/YEKAN-BAKH-HEAVY.eot);
    src: url(../font/YEKAN-BAKH-HEAVY.eot) format("embedded-opentype"), url(../font/YEKAN-BAKH-HEAVY.woff) format("woff"), url(../font/YEKAN-BAKH-HEAVY.TTF) format("truetype");
    font-weight: normal;
    font-style: normal;

}

body {
    font-family: "yekan-r" !important;
}

strong {
    font-family: "yekan-r" !important;
}

.uk-card-title {
    padding-top: 20px;
    font-family: "yekan-b" !important;
    color: #fff;
}

p {
    font-family: "yekan-r" !important;
}

.nian {
    font-family: yekan-r !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

h2 {
    font-family: "yekan-r" !important;
}

h1 {
    font-family: "yekan-r" !important;
}

.jran-background {
    background-image: url('../img/bak\ jran.svg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: left;
    background-position-x: left;
    background-position-x: -700px !important; */
    width: 100% !important;
    left: -50% !important;
    top: 0 !important;
    background-position: left;
    background-position-x: -92vh;
    padding: 20px !important;
}

.jran-background1 {
    background-image: url('../img/background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: left;
    background-position-x: left;
    background-position-x: -700px !important; */
    width: 100% !important;
    right: -50% !important;
    top: 0 !important;
    background-position: right;
    background-position-x: 92vh;
    padding: 20px !important;
}

.jran-background2 {
    background-image: url('../img/background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: left;
    background-position-x: left;
    background-position-x: -700px !important; */
    width: 100% !important;
    left: -50% !important;
    top: 0 !important;
    background-position: right;
    background-position-x: 92vh;
    padding: 20px !important;
}

.jran-background3 {
    background-image: url('../img/background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: left;
    background-position-x: left;
    background-position-x: -700px !important; */
    width: 100% !important;
    left: -50% !important;
    top: 0 !important;
    background-position: left;
    background-position-x: -92vh;
    padding: 20px !important;
}



.jran-padding {
    padding: 40px !important;
}

.jran-logo {
    width: 400px;
}

.jran-container {
    max-width: 100% !important;
    padding: 0px 0px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: yekan-r !important;
}

/* body {
    direction: rtl;
    background-color: #f4f4f9;
    padding: 20px;
} */
.uk-section-kia {
    /* background-color: #d0b1d1 !important; */
    background-color: #eee2f0 !important;
    overflow: hidden !important;
}

.container {
    /* max-width: 1200px; */
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    direction: ltr;
    /* برای چیدمان چپ به راست تصویر و محتوا */
    background-color: #d0b1d1;
}

.left-image {
    flex: 1;
    order: 1;
    /* تصویر سمت چپ */
}

.left-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.main-content {
    flex: 2;
    text-align: center;
    order: 2;
    /* محتوا سمت راست */
}

.main-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.search-box {
    margin-bottom: 30px;
}

.search-box input {
    padding: 10px;
    width: 300px;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    text-align: right;
    /* برای تایپ فارسی */
}

.search-box input:focus {
    border-color: #007bff;
}

.items {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.item {
    background-color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.font-bold {
    font-family: yekan-b !important;
}


.jran-card-header {
    background-color: #ae8caf80;
    padding: 20px 20px !important;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    max-width: 75% !important;
}

.text-shadow {
    font-family: yekan-b !important;
    text-shadow: 5px 5px 10px #886e8a;
}

.buy-button {
    font-family: yekan-b !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    /* font-weight: 900 !important; */
    font-weight: bold !important;
    color: #D6AE66;
    background-color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    font-size: 1.5rem !important;
    text-decoration: none !important;
}

.buy-button:hover {
    background-color: #ececec;
}

.buy-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
}

.glow {
    opacity: 1 !important;
}

.cart-icon {
    width: 24px;
    height: 24px;
    stroke: #D6AE66;
}


.delivery-container {
    display: flex;
    justify-content: right;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    font-family: "yekan-r" !important;
}

.delivery-box {
    /* background-color: white; */
    border-radius: 10px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    width: 320px;
    height: 450px;
    padding: 20px;
    text-align: center;
    font-family: "yekan-r" !important;
    /*background-color: #eee2f0;*/
}

.delivery-box .logo-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    /* line-height: 100px; */
    margin: 0 auto 15px;
    font-size: 14px;
    color: #333;
    border-radius: 10px !important;
    font-family: "yekan-r" !important;
}

.delivery-box h3 {
    color: #333;
    font-size: 1.5em;
    margin: 10px 0;
    font-family: "yekan-b" !important;
}

.delivery-box p {
    color: #666;
    font-size: 1em;
    margin-bottom: 20px;
    font-family: "yekan-r" !important;
}

.delivery-box a {
    background-color: #ffffff;
    color: #a987ab;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.5rem;
    display: inline-block;
    font-family: "yekan-b" !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.delivery-box a:hover {
    background-color: #ffffff;
    color: #dcc6dd !important;
    text-decoration: none !important;
}

.jiran-box {
    /* border: 2px solid #d0b1d1; */
}

.snapfood-box {
    /* border: 2px solid #d0b1d1; */
}

@media (max-width: 768px) {
    .delivery-box {
        width: 100%;
        margin-bottom: 20px;
    }
}


.uk-navbar-container:not(.uk-navbar-transparent) {
    border-radius: 10px !important;
    background: #ffffffb0 !important;
    max-width: 100% !important;
    min-width: 100% !important;
}




.blog-card {
    max-width: 550px;
    width: 100%;
    height: 500px;
    position: absolute;
    font-family: 'Droid Serif', serif;
    color: #fff;
    top: 20%;
    right: 0;
    left: 0;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0px 10px 20px -9px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.4s;
    background: url(https://unsplash.it/600/800?image=1061) center no-repeat;
    background-size: 100%;
    border-radius: 100%;
}

.blog-card a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s
}

.blog-card .color-overlay {
    background: rgba(64, 84, 94, 0.5);
    width: 550px;
    height: 500px;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.blog-card .gradient-overlay {
    background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.6) 21%);
    width: 550px;
    height: 500px;
    position: absolute;
    top: 350px;
    left: 0;
    z-index: 15;
}

.blog-card:hover {
    box-shadow: 0px 18px 20px -9px rgba(0, 10, 30, 0.75);
}

.blog-card:hover .card-info {
    opacity: 1;
    bottom: 100px;
}

.blog-card:hover .color-overlay {
    background: rgba(64, 64, 70, 0.8);
}

.blog-card:hover .title-content {
    margin-top: 70px
}

.title-content {
    text-align: center;
    margin: 170px 0 0 0;
    position: absolute;
    z-index: 20;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.6s
}

.blog-card:hover h3:after {

    animation: changeLetter 0.3s 1 linear;
    width: 80%
}

.blog-card h3,
h1 {
    font-size: 1.9em;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Abril Fatface', serif;
    margin-bottom: 0;
    display: inline-block;
}

.blog-card h3 a {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.2s
}

.blog-card h3 a:hover {
    text-shadow: 0px 8px 20px rgba(0, 0, 0, 0.95);
}

h3:after {
    content: " ";
    display: none;
    width: 10%;
    height: 2px;
    margin: 20px auto;
    border: 0;
    /* background: #BDA26B; */
    transition: all 0.2s
}

@keyframes changeLetter {
    0% {
        width: 10%;
    }

    100% {
        width: 80%;
    }
}

.intro {
    width: 170px;
    margin: 0 auto;
    color: #ddd;
    font-style: italic;
    line-height: 18px;
}

.intro a {
    color: #ddd
}

.intro a:hover {
    text-decoration: underline
}

.uk-card-default {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.card-info {
    box-sizing: border-box;
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: -40px;
    left: 0;
    margin: 0 auto;
    padding: 0 50px;
    font-style: 16px;
    line-height: 24px;
    z-index: 20;
    opacity: 0;
    transition: bottom 0.64s, opacity 0.63s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.card-info a {
    display: block;
    width: 100px;
    margin: 15px auto;
    background: #fff;
    color: #444;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 0.8em
}

.card-info a:hover {
    background: #8e7c49;
    color: #fff;
}

.card-info a:hover span {
    filter: brightness(10);
    opacity: 1
}

.utility-info {
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 20;
    width: 100%;
    text-align: left
}

.utility-info:after {
    content: " ";
    background: url(https://rawcdn.githack.com/Nodws/NodPen/ffad95aa5244b4b09a3c7c1508a018959bbedb7e/postItem/licons.svg) center no-repeat;
    background-size: 30px auto;
    display: block;
    opacity: 0.4;
    position: absolute;
    bottom: 25px;
    right: 15px;
    width: 30px;
    height: 15px
}

.utility-info a:hover {
    text-decoration: underline
}

.utility-list {
    list-style-type: none;
    margin: 0 0 10px 20px;
    padding: 0;
    width: 100%;

}

.utility-list li {
    margin: 0 5px 0 0;
    padding: 3px 0 15px 0px;
    display: inline-block;

    font-size: 0.8em
}

.licon {
    position: relative;
    width: 23px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
}

.licon:before {
    content: "";
    background: url(https://rawcdn.githack.com/Nodws/NodPen/ffad95aa5244b4b09a3c7c1508a018959bbedb7e/postItem/licons.svg?) -2px -6px no-repeat;
    background-size: 250px;
    width: 26px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: -3px;
    left: 0;
}

.icon-white {
    filter: brightness(10);
}

.icon-black {
    filter: brightness(0);
    opacity: 0.6
}

.icon-like:before {
    background-position: -183px -6px;

}

.icon-com:before {
    background-position: -63px -4px;

}

.icon-dat:before {
    background-position: -94px -7px;
}

.icon-tag:before {
    background-position: -33px -6px;

}

@media (max-width:750px) {
    .utility-info {
        text-align: center;
    }

    .utility-info ul {
        width: 100%;
        margin: 0;
        box-sizing: border-box
    }

    .utility-info li {
        width: 49%;
        display: inline-block;
        box-sizing: border-box;
        margin: 0
    }
}

@media (max-width:500px) {
    .utility-info li:last-of-type {
        width: 100%
    }

    .card-info {
        display: none
    }

    .blog-card:hover .title-content,
    .title-content {
        margin-top: 40px
    }

    .blog-card {
        height: 300px
    }

    .blog-card h3 {
        font-size: 1.3em
    }

    .intro {
        font-size: 0.8em
    }
}


/*  ================  */

/* ignore this bit :P */
#profile-badges:after {
    content: "BRO";
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 1px 4px 1px 4px;
    color: black !important;
    border-radius: 3px;
    position: relative;
    top: -2px;
    text-shadow: none !important;
    white-space: nowrap;
    letter-spacing: 0;
    background: #FFDD40;
}

.profile-header {
    background: #333 url(https://images.unsplash.com/photo-1435783099294-283725c37230?dpr=1&auto=compress,format&fit=crop&w=1376&h=635&q=80&cs=tinysrgb&crop=&bg=) top center no-repeat;
    background-size: cover;
    font-size: 3em;
    position: relative
}

.profile-header:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(23, 23, 31, 0.42);
    z-index: 0
}

#profile-links a {
    font-family: 'Abril Fatface', serif;
    font-size: 1.2em
}


.profile-links a[href*=nodws\.com]:before {
    content: "\2616";
    color: #0a45b5;
    padding-right: 3px
}

.profile-links a[href*=twitter]:before {
    content: "\1f426";
    color: #08c
}

.profile-links a[href*=dribbble]:before {
    content: "\26BE";
    color: #d055bf
}

#following-this-user {
    pointer-events: none
}

#follow-this-user {
    font-size: 1.2em;
    border-color: #359ef9
}

#follow-this-user:after {
    content: "\1f448"
}

.links-and-stats {
    background: rgb(20, 20, 21);
}

.profile-name h1 {
    text-shadow: 0 6px 9px rgba(0, 0, 0, 0.48)
}

.profile-avatar {
    bottom: -10px;
    width: 150px;
    height: 150px;
    border: 0px solid #1E1E1E;
    background: rgba(2, 2, 2, 0.49);
    box-shadow: 0 19px 19px -10px rgba(0, 0, 0, 0.63)
}

.profile-username,
.upsell,
.profile-location,
.primary-pro {
    opacity: 0;
}

.upsell,
#pen-as-header-question {
    display: none
}

.profile-nav-1 a {
    font-size: 1.2rem;
}

.profile-bio,
.profile-nav-1 a.active,
.profile-nav-1 a:hover {
    color: rgba(20, 20, 21, 0.59) !important;
    font-size: 1.2rem
}

.meta .pen-title {
    font-family: 'Droid Serif', serif;
    text-align: center
}

.pagination-button {
    background-color: #2f2f31;
    border-color: #2f2f31;
    transition: all 0.2s
}

.pagination-button:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2)
}

.single-project .stats,
.single-pen .stats {
    text-align: center;
    width: 100%
}

.stats svg {
    fill: #bda26b;
}

.stats svg,
.loves .icon-heart {
    fill: rgba(47, 47, 49, 0) !important;
    stroke: #ba6 !important;
    stroke-width: 0.1em !important;
}

.loves .icon-heart {
    stroke-width: 0.5em !important;
}

.comments svg {
    stroke-width: 0.35em !important;
}

.single-stat.loves.loved-1 svg {
    stroke: #fff !important
}

.single-pen:hover h3:after {
    width: 40%;
    transition: all 0.2s
}

.pen-actions {
    border: 0px !important
}

.meta {
    box-shadow: none !important
}




.card-container {
    max-width: 70% !important;
}

.uk-card-media-top {
    overflow: hidden !important;
    padding: 0px !important;
}

.uk-card-body {
    padding: 10px !important;
    text-align: center !important;
}

.kia-body {
    background-color: #ffffff8e !important;
}

.uk-card-title {
    line-height: 0 !important;
}

[class*="uk-align"] {
    margin-bottom: 0px !important;
}

.card {
    width: 100%;
    height: 100px;
    /* border-radius: 10px; */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
}

.effect-shine {
    -webkit-mask-image: linear-gradient(-75deg,
            #3e2040 30%,
            #613b6494 10%,
            #774f7ab3 80%);
    -webkit-mask-size: 50%;
    animation: shine 4s infinite;
}

@-webkit-keyframes shine {
    from {
        -webkit-mask-position: 150%;
    }

    to {
        -webkit-mask-position: -50%;
    }
}


.card:hover {
    transform: scale(1.05);
}

/* عکس‌های پس‌زمینه */
.card-1 {
    background-image: url('../img/bakerz.jpg');
}

.card-2 {
    background-image: url('../img/ghanadi.jpg');
}

.card-3 {
    background-image: url('../img/cafe.jpg');
}

.card-text {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    color: white;
    font-size: 1.6rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    background: #00000079;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    font-family: "yekan-r" !important;
}

.extra-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: "yekan-r" !important;
}




.kia-h {
    font-family: yekan-b !important;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.kia-p {
    font-family: yekan-r !important;
    color: #fff;
    font-size: 1.3rem;
    text-align: justify;
}


.orb-group {
    display: inline-flex;
    align-items: center;
    position: relative;
    perspective: 1000px;
    overflow: hidden;
    padding: 50px !important;
}

.orb {
    position: relative;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden !important;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transform-style: preserve-3d;

}

.orb-left,
.orb-right {
    width: 300px;
    height: 300px;
    z-index: 1;
    overflow: hidden;
}

.orb-middle {
    width: 400px;
    height: 400px;
    z-index: 2;
    overflow: hidden;
}

.orb-left {
    background-image: url('../img/shahin.png');
    margin-right: 20px;
    overflow: hidden;
    /* همپوشانی افقی در دسکتاپ */
}

.orb-right {
    background-image: url('../img/sepah.png');
    margin-left: 20px;
    overflow: hidden;
    /* همپوشانی افقی در دسکتاپ */
}

.orb-middle {
    background-image: url('../img/farmanieh.png');
    overflow: hidden;
}

.orb-caption {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 8px;
    opacity: 0;
    font-family: yekan-b !important;
}

.orb-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
}

/* ریسپانسیو: چیدمان عمودی */
@media (max-width: 768px) {
    .orb-group {
        flex-direction: column;
        /* عمودی شدن */
        gap: 0;
        /* فاصله بین دایره‌ها */
    }

    .orb-left,
    .orb-right {
        width: 200px;
        height: 200px;
    }

    .orb-middle {
        width: 250px;
        height: 250px;
    }

    /* ترتیب: راست بالا، وسط، چپ پایین */
    .orb-right {
        order: -1;
        /* میره بالا */
        margin-left: 0;
        margin-bottom: -30px;
        /* همپوشانی عمودی */
    }

    .orb-middle {
        order: 0;
        /* وسط می‌مونه */
    }

    .orb-left {
        order: 1;
        /* میره پایین */
        margin-right: 0;
        margin-top: -30px;
        /* همپوشانی عمودی */
    }

    .orb-caption {
        font-size: 0.9rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {

    .orb-left,
    .orb-right {
        width: 150px;
        height: 150px;
    }

    .orb-middle {
        width: 220px;
        height: 220px;
    }

    .orb-right {
        margin-bottom: -20px;
    }

    .orb-left {
        margin-top: -20px;
    }

    .orb-caption {
        font-size: 0.7rem;
        padding: 6px;
    }
}















@media (max-width: 768px) {
    .container {
        flex-direction: column;
        direction: rtl;
        /* تو موبایل برمی‌گرده به حالت راست به چپ */
    }

    .left-image {
        order: 2;
        /* تو موبایل می‌ره پایین */
    }

    .main-content {
        order: 1;
        /* تو موبایل می‌ره بالا */
    }

    .search-box input {
        width: 100%;
    }
}






.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding-bottom: 30px;
}

.card {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 1s ease, box-shadow 1s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* سایه سنگین‌تر */
    background-color: #503551;

}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    opacity: 0.5;
    transition: 0.3s;
}

.card .text {
    font-family: yekan-b !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    font-weight: bold;
    opacity: 1;
    transition: opacity 1s ease;
    z-index: 10;
    text-align: center;
}


.card:hover img {
    transform: scale(1.1);
    /* بزرگ شدن تصویر هنگام هاور */
    opacity: 1;
}

.card:hover .text {
    opacity: 0;
    /* محو شدن نوشته هنگام هاور */
}




.gallery-1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
}

.card-1 {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 1s ease, box-shadow 1s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* سایه سنگین‌تر */
    background-color: #0000006b;

}

.card-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    opacity: 0.5;
    transition: 0.3s;
}

.card-1 .text {
    font-family: yekan-b !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    font-weight: bold;
    opacity: 1;
    transition: opacity 1s ease;
    z-index: 10;
    text-align: center;
}


.card-1:hover img {
    transform: scale(1.1);
    /* بزرگ شدن تصویر هنگام هاور */
    opacity: 1;
}

.card-1:hover .text {
    opacity: 0;
    /* محو شدن نوشته هنگام هاور */
}




.nav-mobile {
    display: none;
}

.nav-windows {
    display: block;
}

@media (max-width: 768px) {
    .card {
        width: 150px;
        height: 150px;
    }

    .nav-mobile {
        display: block !important;
    }

    .nav-windows {
        display: none !important;
    }

    .card .text {
        font-size: 25px;
    }
}