@font-face {
    font-family: 'iransansx';
    font-weight: 100;
    src: url('../assets/fonts/IRANSansXFaNum-Thin.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 200;
    src: url('../assets/fonts/IRANSansXFaNum-UltraLight.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 300;
    src: url('../assets/fonts/IRANSansXFaNum-Light.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 400;
    src: url('../assets/fonts/IRANSansXFaNum-Medium.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 500;
    src: url('../assets/fonts/IRANSansXFaNum-DemiBold.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 600;
    src: url('../assets/fonts/IRANSansXFaNum-Bold.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 700;
    src: url('../assets/fonts/IRANSansXFaNum-ExtraBold.woff');
}

@font-face {
    font-family: 'iransansx';
    font-weight: 800;
    src: url('../assets/fonts/IRANSansXFaNum-Black.woff');
}

body {
    font-family: 'iransansx';
    font-weight: 400;
}

.heading-title {
    font-size: 14px;
    color: #909090;
    text-align: center;
}

.gallery-item {
    cursor: zoom-in;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-modal__panel {
    position: relative;
    width: min(92vw, 680px);
    max-height: 90vh;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.45);
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.gallery-modal.is-open .gallery-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.gallery-modal__image-wrap {
    border-radius: 0.875rem;
    overflow: hidden;
    background: #0f172a;
}

.gallery-modal__image {
    width: 100%;
    max-height: calc(90vh - 3rem);
    object-fit: cover;
    display: block;
}

.gallery-modal__close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: #fff;
    color: #404040;
    font-size:12px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
    transition: transform 150ms ease, background-color 150ms ease;
}


@media (max-width: 640px) {
    .gallery-modal__panel {
        width: 96vw;
    }

    .gallery-modal__close {
        top: 20px;
        left: 20px;
    }
}

.sheet-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms ease, visibility 250ms ease;
}

.sheet-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sheet-modal__panel {
    width: min(100%, 540px);
    background: #fff;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -10px 35px rgba(15, 23, 42, 0.18);
    padding: 1rem 1rem 1.1rem;
    transform: translateY(100%);
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sheet-modal.is-open .sheet-modal__panel {
    transform: translateY(0);
}

.sheet-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.sheet-modal__title {
    margin: 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

.sheet-modal__close {
    width: 2rem;
    height: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
}

.sheet-modal__close:hover {
    background: #f9fafb;
    transform: scale(1.03);
}

.sheet-modal__links {
    display: grid;
    gap: 0.55rem;
}

.sheet-modal__link {
    display: block;
    text-decoration: none;
    color: #374151;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    padding: 0.78rem 0.9rem;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.sheet-modal__link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}