* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Vazirmatn", sans-serif
}

body {
    background: #121212;
    /* مشکی دارک */
    color: #d0d0d0;
    /* خاکستری روشن */
    line-height: 1.9
}

header {
    position: relative;
    min-height: 25vh;
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(34, 34, 34, 0.85)), url("/res/img/pack.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f5f5f5;
    padding: 120px 20px;
}

* {
    box-sizing: border-box
}


/* Slideshow container */

.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
}


/* Hide the images by default */

.mySlides {
    display: none;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #ffea00;
    /* زرد جیغ */
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


/* Position the "next button" to the right */

.next {
    left: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a dark transparent background color */

.prev:hover,
.next:hover {
    background-color: rgba(50, 50, 50, 0.8);
}


/* Caption text */

.text {
    color: #ffea00;
    /* زرد جیغ */
    font-size: 25px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}


/* Number text (1/4 etc) */

.numbertext {
    color: #cccccc;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


/* The dots/bullets/indicators */

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #ffea00;
}


/* Fading animation */

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}


/* Top navigation */

.topnav {
    background-color: #1b1b1b;
    overflow: hidden;
}

.topnav a {
    float: right;
    display: block;
    color: #d0d0d0;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ffea00;
    color: #121212;
}

.topnav a.active {
    background-color: #333333;
    /* خاکستری تیره */
    color: #ffea00;
}

.topnav .icon {
    display: none;
}

.hero-content {
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

header h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    text-shadow: 0 6px 25px rgba(0, 0, 0, .7)
}

header p {
    max-width: 760px;
    margin: 0 auto 15px;
    color: #d0d0d0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .7);
    font-weight: 500;
}

header p.city-slogan {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #ffea00;
    font-weight: 600;
}

section {
    max-width: 1100px;
    margin: auto;
    padding: 70px 20px
}

.section-title {
    text-align: center;
    margin-bottom: 50px
}

.section-title h2 {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffea00;
    /* زرد جیغ */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #1f1f1f;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
    text-align: center;
    color: #d0d0d0;
}

.grid .card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.stars {
    color: #ffea00;
    margin-bottom: 10px
}

details {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    cursor: pointer;
    color: #d0d0d0;
}

footer {
    background: #333333;
    color: #ffea00;
    text-align: center;
    font-size: .9rem;
}

.a {
    background-color: #1a1a1a;
    padding-bottom: 1.2rem;
    padding-top: 3.2rem;
}

.bottom-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1px;
    z-index: 1000;
    justify-content: center;
}

a {
    text-decoration: none;
}

.bottom-buttons a {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    transition: 0.3s;
    white-space: nowrap;
    color: #ffea00;
}

.bottom-buttons a:hover {
    transform: scale(1.05);
}

.about-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.about-video {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 1;
    min-width: 250px;
    text-align: right;
    color: #d0d0d0;
}

.mySlides img {
    border-radius: 1rem;
}

.footer-cols {
    padding: 25px 15px;
    display: flex;
    padding-bottom: 1rem;
    gap: 4rem;
    background-image: linear-gradient(rgba(18, 18, 18, 0.85), rgba(34, 34, 34, 0.85)), url("/res/img/pack.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-cols img {
    border-radius: 1rem;
}

.footer-cols>* {
    flex: 1;
    border-right: 4px solid #444;
    padding-right: 1rem;
}

.copyright {
    padding-top: 1rem;
}

.cols img {
    inline-size: 200px;
    aspect-ratio: 16/16;
    object-fit: cover;
}

article {
    width: min(85ch, 100% - 4rem);
    margin-inline: auto;
    padding: 2rem;
    list-style: none;
    background-color: #1f1f1f;
    color: #d0d0d0;
}

.postlist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(85ch, 100% - 4rem);
    margin-inline: auto;
    padding: 2rem;
    list-style: none;
}

.postlist>* {
    border-radius: 1rem;
    background-color: #1f1f1f;
    padding-inline: 2rem;
    width: 100%;
}

article ul {
    list-style: none;
}

@media(max-width:768px) {
    header {
        min-height: 75vh
    }
    header h1 {
        font-size: 1.9rem
    }
    .bottom-buttons {
        gap: 12px;
    }
    .bottom-buttons a {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    .grid .card img {
        width: 100px;
        height: 100px;
    }
    .about-card {
        flex-direction: column;
    }
    .about-video {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .about-text {
        text-align: center;
    }
    .bottom-buttons a {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.8rem;
    }
    .footer-cols {
        flex-direction: column;
    }
    .cols {
        text-align: right;
    }
}