﻿@font-face {
    font-family: 'iransansxv';
    src: url('../../../Fonts/IRANSansXV.woff') format('woff-variations'),
    /* will be the standard and works in Safari now */
    url('../../../Fonts/IRANSansXV.woff') format('woff');
    /* for the other supporting browsers */
    font-weight: 100 900;
    font-display: fallback;
}

/*@font-face {
    font-family: iransansx;
    src: url('~/Fonts/IRANSansX-Regular.woff') format('woff');
}

@font-face {
    font-family: iransansx;
    src: url('~/Fonts/IRANSansX-Bold.woff') format('woff');
    font-weight: 700;
}*/
/*font-family: 'iransansx', 'Vazir', sans-serif;*/
body {
    font-family: var(--bs-body-font-family);
    direction: rtl;
    background-color: #f8f9fa;
}

.max-h-200px {
    max-height: 200px;
}

.img-contained {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    display: block; /* برای حذف فضای اضافی زیر عکس */
    margin: 0 auto; /* اگر نیاز به مرکز افقی دارید */
}

.header {
    background-color: #D4A573;
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
    font-weight: bold;
    border-end-end-radius: 10px;
    border-end-start-radius: 10px;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    /*    background-color: white;
    border-bottom: 1px solid #ddd;*/
}

.img-fluid {
    /* border-end-end-radius: 10px;
    border-end-start-radius: 10px;*/
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.box {
    background-color: #2C3E50;
    color: #D4A573;
    border: none;
    border-radius: 10px;
    text-align: center;
    padding: 2rem;
    margin-bottom: 1rem;
}

    .box .socials {
        color: #D4A573;
        text-decoration: none; /* حذف زیرخط */
    }

.card {
    background-color: #2C3E50;
    color: #D4A573;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease;
    text-align: center;
    padding: 2rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

    .card:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    .card i {
        font-size: 2rem;
        margin-bottom: 0.1rem;
    }

.card-text {
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-custom {
    background-color: transparent;
    border: none;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stretched-text {
    letter-spacing: 0.7rem; /* مقدار را آزمایش کنید */
    text-align: center;
    width: 100%;
    white-space: nowrap;
}


#pageMain {
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: none;
}

    #pageMain.active {
        opacity: 1;
        visibility: visible;
        display: block;
    }

#contactOverlay, #RefundRules {
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: none;
}

    #contactOverlay.active, #RefundRules.active {
        opacity: 1;
        visibility: visible;
        display: block;
    }

.arrow-hover i {
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.arrow-hover:hover i {
    transform: translateX(-5px) rotate(180deg);
    font-size: 1.95rem !important;
}

 
#loadingOverlay {
    background: linear-gradient(352deg, #8a85d9c9 0%, #82a9b5cf 100%);
}

#loadingOverlay .spinner-border {
    width: 5rem !important;
    height: 5rem !important;
    color: white !important;
    border-width: 5px !important;
}

#loadingOverlay .text-white {
    color: white !important;
}

#loadingOverlay .fs-5 {
    font-size: 1.25rem !important;
    font-weight: bold !important;
}

 

#splashScreen {
    background: linear-gradient(352deg, #8a85d9 0%, #82a9b5 100%);
}

#splashLogo {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.30);
    }

    100% {
        transform: scale(1);
    }
}

@media (min-width: 576px) {
    .header {
        padding: 10px 0;
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 10px 0;
        font-size: 16px;
    }
}

@media (min-width:992px) {
    .header {
        padding: 10px 0;
        font-size: 20px;
    }
}
