@font-face {
    
    font-family: 'UKIJTuz';
    src: url('http://bazaryol.com/fonts/UKIJTuz.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    direction: rtl;
    text-align: right;
    font-family: 'UKIJTuz', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: rgba(200, 0, 0, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 15px 30px;
}

.gallery {
    margin-top: 20px;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery .title {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.gallery_img {
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery_img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery_img figure img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s; 
}

.gallery_img figure img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.gallery-item-caption {
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
    color: #555;
}

.nav-tabs {
    border-bottom: 3px solid #ddd;
}

.nav-tabs .nav-link {
    padding: 0.7rem 1.5rem; 
    font-size: 1.1rem;
    font-family: 'UKIJTuz', sans-serif;
    text-transform: uppercase;
    border: 2px solid transparent; 
    border-radius: 25px; 
    color: #555;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: #d9534f;
    color: #d9534f;
    font-weight: bold;  
}

.nav-tabs .nav-link:hover {
    color: #d9534f;
    background-color: #f1f1f1; 
}

.copyright {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 1px; 
}

.copyright a {
    color: #fff; 
    text-decoration: underline; 
}

/* Combining media queries to remove redundancy */
@media (max-width: 576px) {
    .gallery_img figure img {
        height: 350px; 
    }
    .nav-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem; 
    }
}

@media (max-width: 768px) {
    .nav-tabs .nav-link {
        font-size: 0.9rem; 
        padding: 0.5rem 1rem; 
    }
}

@media (max-width: 992px) {
    .nav-tabs .nav-link {
        font-size: 1rem; 
        padding: 0.6rem 1.2rem; 
    }
}