/* arash.css */
@font-face {
    font-family: "Shabnam";
    src: url('../font/Shabnam.woff2') format('woff2'),
    url('../font/Shabnam.woff') format('woff'),
    url('../font/Shabnam.ttf') format('truetype');
}

@font-face {
    font-family: "ShabnamB";
    src: url('../font/Shabnam-Bold.woff2') format('woff2'),
    url('../font/Shabnam-Bold.woff') format('woff'),
    url('../font/Shabnam-Bold.ttf') format('truetype');
}

.f1 {
    font-family: 'ShabnamB', Arial, sans-serif;
    font-weight: normal;
}

html, body {
    font-family: 'Shabnam', Arial, sans-serif;
}

.img1 {
    background-blend-mode: overlay;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    border: 1px solid rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 250px;
}

.bg1 {
    background-color: #b55c0d;
}

.bg2 {
    background-color: #9d4c05;
}

.bg3 {
    background-color: #9d055b;
}

.card-body {
    background-color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    height: 100%;
}

.color-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.card {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: #007bff;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
}

.img-container {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.blink {
    animation: blinkAnimation 1s infinite;
}

@keyframes blinkAnimation {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.header-container {
    background: linear-gradient(135deg, #ffeb3b, #ff9800);
    border-bottom: 2px solid #e65100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 150px;
}

.header-logo {
    width: 45%;
    padding: 5px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-title {
    font-family: 'ShabnamB', Arial, sans-serif;
    font-size: 1.8rem;
    color: #1e88e5;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header-address {
    font-family: 'Shabnam', Arial, sans-serif;
    font-size: 1rem;
    color: #2e7d32;
    margin-bottom: 10px;
}

.header-contact .contact-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.iconsize1 {
    font-size: 32px;
}

/* استایل‌های جدید برای جستجو و اتوکامپلیت */
.search-card {
    background-color: #1848a1;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    text-align: center;
}

.search-card h3 {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(197, 146, 19, 0.5);
}

.search-card .input-group {

    margin: 0 auto;
}

.search-card input {
    background-color: lightcyan;
    border: none;
    color: #d35f19 !important; /* رنگ متن همیشه سفید */
    border-radius: 25px 0 0 25px;
    padding: 10px 20px;
    text-align: center;

}

.search-card input:focus {
    outline: none;
}

.search-card input::placeholder {
    color: #ccc;
}



.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ui-autocomplete .ui-menu-item {
    padding: 10px;
    cursor: pointer;
}

.ui-autocomplete .ui-menu-item:hover {
    background: #f0f0f0;
}

/* استایل‌های نتایج جستجو (برای searchone.php) */
.list-group-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f8f9fa;
}

.list-group-item a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.list-group-item a:hover {
    color: #0056b3;
}

.text-muted {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* استایل‌های عمومی برای searchone.php */
.search-results-container {
    padding: 20px;
}

.search-results-container .h4 {
    margin-bottom: 20px;
}

.search-results-container .btn {
    margin: 5px;
}

/* ریسپانسیو */
@media (max-width: 767px) {
    .search-card {
        width: 100%;
        max-width: 350px;
    }
    .search-card h3 {
        font-size: 1.5rem;
    }
}