@font-face {
    font-family: 'Vazir';
    src: url('static/font/Vazirmatn-Black.ttf') format('ttf');
}

@media (max-width: 800px) {
    .hide-mobile {
        display: none;
    }
}

body {
    font-family: 'Vazir';
}

.hero {
    background: linear-gradient(to right, #ffffff 55%, #23404D66 90%);
    /*height: 10vh;*/
    position: relative;
}

.grid-container {
    background: linear-gradient(to right, #ffffff 55%, #23404D66 90%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.cablecar-img {
    width: 100%;
    height: 500px;
}

.container-img-cabl {
    overflow: hidden;
}

.my-btn {
    background-color: #23404D;
    color: #ffffff;
    width: 147px;
    height: 56px;
    padding-top: 15px;
}

.my-font {
    color: #07206B;
    font-weight: bold;
}

.my-fontv2 {
    font-weight: 800;
    color: #000000;
}

    .my-fontv2:hover {
        color: #213121;
        text-shadow: 1px 6px 10px rgb(75, 64, 64);
    }

.my-fontv3 {
    color: #07206B;
    font-weight: 400;
}

.my-fontv4 {
    font-size: 19pt;
}

.container-info {
    background-color: #23404D;
    color: white;
    padding: 50px 0;
    padding-right: 15px;
}

.icon {
    margin-right: 20px;
}

.btn-red {
    background-color: #B22222;
    color: white;
    border: none;
    width: 150px;
    border-radius: 14px;
}

.btn-red2 {
    background-color: #B22222;
    color: white;
    border: none;
    border-radius: 12px;
}

.btn-red:hover {
    background-color: #8B0000;
}

.btn-red2:hover {
    background-color: #8B0000;
}

.my-lucid {
    width: 40px;
    height: 45px;
    stroke-width: 1
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.8s ease;
}

.card {
    flex: 0 0 calc(25% - 10px); /* 4 کارت در هر اسلایدر، فاصله 10px */
    margin-right: 5px;
    text-align: center;
    box-shadow: none;
    border: none;
}

    .card img {
        width: 100%;
        height: 280px;
    }

.nav-buttons {
    text-align: center;
    margin-top: 10px;
}

.nav-buttons {
    text-align: center;
    margin-top: 10px;
}

.my-btn-slider {
    background-color: #ffffff;
    color: #000000;
    width: 60px;
    height: 40px;
    padding-top: 10px;
    padding-bottom: 10;
    box-shadow: 0 2px 6px rgba(190, 182, 182, 0.822);
}

    .my-btn-slider:hover {
        background-color: #23404D;
        color: #ffffff;
    }


.coming-box {
    padding: 30px 20px;
    border: 2px dashed #ccc;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .coming-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .coming-box h3 {
        color: #23404D;
        font-weight: bold;
    }

.footer {
    background-color: #23404D;
    padding: 30px 20px;
    font-family: sans-serif;
    direction: ltr;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    gap: 20px;
}

.footer-left, .footer-right {
    flex: 1;
    min-width: 280px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffffff;
}

    .contact-item .icon {
        font-size: 20px;
        margin-left: 8px;
    }

.footer-right h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-right p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.join-btn {
    background-color: #ffffff;
    color: #07206B;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

    .join-btn:hover {
        background-color: #858585;
    }

/* کارت‌های مودال */
.cablecard {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

    .cablecard img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .cablecard:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .cablecard .card-body {
        padding: 10px;
    }

    .cablecard .card-title {
        font-weight: 500;
        margin-bottom: 5px;
    }

    .cablecard .card-text {
        font-size: 22px;
        color: #333333;
    }

    /* دکمه انتخاب */
    .cablecard .select-btn {
        margin-top: 10px;
        width: 60%;
    }

.modal-backdrop.show {
    background-color: #23404D; /* رنگ دلخواهت */
    opacity: 0.98 !important; /* شفافیت را حذف می‌کند */
}
/* موبایل: کارت‌ها زیر هم */
@media (max-width: 767px) {
    .modal-body .row > div {
        margin-bottom: 15px;
    }
}

.card-text {
    display: flex;
    align-items: start; /* وسط چین عمودی */
    justify-content: flex-start; /* متن و آیکون به سمت راست */
    gap: 4px; /* فاصله بین آیکون و متن */
}

.input-group {
    position: relative;
    margin-bottom: 10px;
}

    .input-group .icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #888;
    }

    .input-group input {
        width: 100%;
        padding: 10px 40px 10px 10px; /* فضای کافی برای آیکون سمت راست */
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

#secondModal .col-md-5 img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* بخش سمت چپ مدال */
#secondModal .col-md-5 {
    height: 100%; /* ستون باید کل ارتفاع مدال رو بگیره */
}

/* عکس داخل ستون */
#secondModal #selectedCabinImg {
    width: 100%;
    height: 100%;
    object-fit: fill; /* عکس برش بخوره ولی کل کادر پر بشه */
    border-top-left-radius: .5rem; /* گردی گوشه سمت چپ */
    border-bottom-left-radius: .5rem;
}

#secondModal img {
    object-fit: fill; /* عکس کل ستون رو پر میکنه */
}

/* برای مدال دوم */



.modal-body .row {
    height: 100%; /* مطمئن شوید که ردیف 100% ارتفاع مدال را بگیرد */
}

.modal-body {
    padding: 2px 2px;
}

#secondModal .col-md-5 {
    height: 100%;
}

.modal-header {
    border-bottom: none;
}

.login-bg {
    background-image: url('/static/images/loginimg.jpg');
    background-size: cover;
    background-position: center;
}

.message-box {
    transition: opacity 0.3s ease-in-out;
}