/* فونت */
@font-face {
    font-family: Anjoman;
    src: url("/fonts/Anjoman/woff2/Anjoman-FaNum-Regular.woff2") format("woff2");
    font-weight: normal;
}
@font-face {
    font-family: Anjoman;
    src: url("/fonts/Anjoman/woff2/Anjoman-FaNum-Bold.woff2") format("woff2");
    font-weight: bold;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Anjoman, sans-serif;
    color: #fff;
    background: linear-gradient(270deg,#0d1b2a,#3d0c11,#102820,#1a0b2e,#2d1a06);
    background-size: 1000% 1000%;
    animation: bg 20s ease infinite;
}

@keyframes bg {
    0% {background-position:0% 50%}
    50% {background-position:100% 50%}
    100% {background-position:0% 50%}
}

.header {
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    font-size: 28px;
    font-weight: bold;
}

.header h3 {
    margin-top: 10px;
    font-size: 24px;
}

.container {
    max-width: 1600px;
    margin: auto;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.item {
    position: relative;
    grid-column: span 2;
    overflow: hidden;
    border-radius: 16px;
}

.item.big {
    grid-row: span 2;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.overlay h3 {
    font-size: 18px;
    font-weight: bold;
}

.overlay p {
    font-size: 14px;
    margin-top: 6px;
}

.contact {
    text-align: center;
    padding: 30px;
}

.contact a {
    color: #fff;
    text-decoration: underline;
    margin: 0 5px;
}

.footer {
    text-align: center;
    font-size: 14px;
    padding: 20px;
    color: #ccc;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .item, .item.big {
        grid-column: span 1;
        grid-row: span 1;
    }
}
