﻿@font-face {
    font-family: Vazir;
    src: url(../assets/fonts/Vazir-Regular.ttf)
}

@font-face {
    font-family: BoldVazir;
    src: url(../assets/fonts/Vazir-Bold.ttf)
}

* {
    font-family: Vazir
}

.bold, b, h1, h2, h3, h4, h5, h6 {
    font-family: BoldVazir !important;
    line-height: normal !important
}

/* General Font & Body */
body {
    overflow-x: hidden;
}

/* Sidebar Layout */
#wrapper {
    display: flex;
}

.map-iframe {
    border: 0;
    width: 100%;
    height: 450px; /* ارتفاع ثابت برای نقشه */
}

/* استایل‌های سفارشی برای کادربندی عکس‌ها و افکت Hover */

/* استایل‌های مربوط به عکس‌های کوچک داخل صفحه */
.image-container {
    position: relative;
    overflow: hidden;
}

.gallery-thumbnail .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.gallery-thumbnail:hover .overlay {
    opacity: 1;
}

.gallery-thumbnail img {
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover img {
    transform: scale(1.05);
}

#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    transition: margin 0.25s ease-out;
    background-color: #2D3748 !important; /* Dark Gray-Blue */
}

    #sidebar-wrapper .sidebar-heading {
        padding: 1rem;
        font-size: 1.4rem;
        font-weight: bold;
    }

    #sidebar-wrapper .list-group-item {
        background-color: #2D3748;
        color: #A0AEC0; /* Light Gray Text */
        border: none;
        transition: all 0.2s ease-in-out;
    }

        #sidebar-wrapper .list-group-item:hover,
        #sidebar-wrapper .list-group-item.active {
            background-color: #4A5568;
            color: #FFF;
            border-right: 4px solid #48BB78; /* Green Accent */
        }

#page-content-wrapper {
    width: 100%;
    background-color: #EDF2F7;
}

#wrapper.toggled #sidebar-wrapper {
    margin-right: -250px;
}

/* Login Page Creative Design */
.login-page-body {
    background-image: url('/images/cover.jpg');
    background-size: cover;
}

.login-creative-bg {
    background: linear-gradient(to right, rgba(0,90,156,0.8), rgba(72,187,120,0.8));
    background-size: cover;
    background-position: center;
    padding: 0 20px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

/* General component styling */
.btn-primary {
    background-color: #4A5568;
    border-color: #4A5568;
}

    .btn-primary:hover {
        background-color: #2D3748;
        border-color: #2D3748;
    }


/* Styling for Location Selection Cards */
.location-card-link {
    text-decoration: none;
}

.location-card {
    height: 350px;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
    transition: all 0.4s ease;
    border: none;
}

    .location-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.25) !important;
    }

    .location-card .card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 1.5rem;
        transition: all 0.4s ease;
    }

    .location-card:hover .card-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 70%);
    }

    .location-card .card-title {
        font-size: 2rem;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .location-card:hover .card-title {
        transform: translateY(0);
    }

    .location-card .card-button {
        background-color: rgba(72, 187, 120, 0.9); /* Green Accent */
        padding: 0.5rem 1rem;
        border-radius: 50px;
        display: inline-block;
        width: fit-content;
        font-weight: 500;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s ease;
        transition-delay: 0.1s;
    }

    .location-card:hover .card-button {
        opacity: 1;
        transform: translateY(0);
    }