@import url('../fonts/vazirmatn/vazirmatn.css');

/* استایل انتخاب سرویس‌ها - عمودی */
.service-selection {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
    max-height: 200px;
    overflow-y: auto;
}

.service-selection .form-check {
    margin-bottom: 0.5rem;
}

.service-selection .form-check:last-child {
    margin-bottom: 0;
}

.service-selection .form-check-input {
    margin-top: 0.25rem;
}

.service-selection .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    transition: color 0.15s ease-in-out;
}

.service-selection .form-check-label:hover {
    color: #0d6efd;
}

.service-selection .form-check-input:checked + .form-check-label {
    color: #0d6efd;
    font-weight: 600;
}

.service-selection .form-check-input:checked + .form-check-label i {
    color: #0d6efd;
}

/* استایل انتخاب سرویس‌ها - افقی */
.service-selection-horizontal {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.service-selection-horizontal .form-check {
    margin-bottom: 0;
    padding: 0.25rem 0;
    flex-shrink: 0;
}

.service-selection-horizontal .form-check-input {
    margin-top: 0.25rem;
}

.service-selection-horizontal .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    transition: color 0.15s ease-in-out;
    white-space: nowrap;
    padding-right: 0.5rem;
}

.service-selection-horizontal .form-check-label i {
    margin-left: 0.5rem;
    margin-right: 0.25rem;
}

.service-selection-horizontal .form-check-label:hover {
    color: #0d6efd;
}

.service-selection-horizontal .form-check-input:checked + .form-check-label {
    color: #0d6efd;
    font-weight: 600;
}

.service-selection-horizontal .form-check-input:checked + .form-check-label i {
    color: #0d6efd;
}

/* استایل برای موبایل */
@media (max-width: 768px) {
    .service-selection {
        max-height: 150px;
        padding: 0.75rem;
    }
    
    .service-selection .form-check {
        margin-bottom: 0.75rem;
    }
    
    .service-selection-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-selection-horizontal .form-check {
        width: 100%;
    }
}

/* اصلاح ظاهر گروه کد تخفیف در حالت RTL */
#discount_code_group {
    direction: rtl;
    max-width: 500px;
}

#discount_code_group .form-control {
    font-size: 0.9rem;
}

#discount_code_group .btn {
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
}
#discount_code_group .form-control {
    border-top-right-radius: 7PX;
    border-bottom-right-radius: 7PX;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#discount_code_group .btn {
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* استایل چک‌باکس برای RTL */
.form-check.rtl-checkbox {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.form-check.rtl-checkbox .form-check-input {
    margin-left: 0.5rem;
    margin-right: 0;
}

.form-check .form-check-input {
    float: left;
    margin-left: 1.5em;
}

/* استایل‌های سفارشی فارسی */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
}

/* پنهان کردن اسکرول بار مرورگر */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    line-height: 1.7;
    padding-top: 0;
    background-color: var(--gray-50);
    color: var(--gray-800);
    font-weight: 400;
    direction: rtl;
    text-align: right;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* فاصله برای قرارگیری هایلایت‌ها زیر منوی fixed-top در دسکتاپ */
#highlights { margin-top: 0px; }
@media (max-width: 768px) { #highlights { margin-top: 0px; } }

/* بهبود تایپوگرافی فارسی */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.about-content {
    text-align: justify;
}

.about-content p,
.about-content .lead {
    text-align: justify;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* بهبود فونت‌های فارسی */
.form-control, .form-select, .btn, .nav-link {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
}

/* نوار ناوبری لوکس و مدرن */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 1.75rem 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.navbar .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.05), 
        rgba(6, 182, 212, 0.05), 
        transparent);
    transition: left 3s ease;
    z-index: 0;
}

.navbar:hover::before {
    left: 100%;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--info-color) 25%,
        #8b5cf6 50%,
        var(--info-color) 75%,
        var(--primary-color) 100%);
    z-index: 1;
}

.navbar-brand {
    font-weight: 900;
    padding: 0px 0px 0px 19px;
    font-size: 1.7rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.navbar-brand:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.4));
}

.navbar-brand i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

.navbar-brand:hover i {
    transform: scale(1.1);
}

.navbar-nav {
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-nav .nav-link {
    font-weight: 700;
    margin: 0 0.25rem;
    padding: 0.875rem 1rem !important;
    color: #334155 !important;
    position: relative;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    background: transparent;
    z-index: 2;
    overflow: hidden;
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-dark .navbar-nav .nav-link::before,
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.15), 
        rgba(6, 182, 212, 0.15),
        transparent);
    transition: left 0.6s ease;
    z-index: -1;
    border-radius: 12px;
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-dark .navbar-nav .nav-link::after,
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color), #8b5cf6);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50%);
    z-index: 1;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-dark .navbar-nav .nav-link:not(.active),
.navbar-nav .nav-link:not(.active) {
    color: #334155 !important;
}

.navbar-dark .navbar-nav .nav-link:hover:not(.active),
.navbar-nav .nav-link:hover:not(.active) {
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(6, 182, 212, 0.08) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2),
                0 4px 8px rgba(6, 182, 212, 0.15);
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--info-color) 50%,
        #8b5cf6 100%);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4),
                0 4px 12px rgba(6, 182, 212, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    bottom: -2px;
}

.navbar-dark .navbar-nav .nav-link i,
.navbar-nav .nav-link i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.navbar-dark .navbar-nav .nav-link:hover i,
.navbar-nav .nav-link:hover i {
    transform: translateY(-3px) scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

.navbar-dark .navbar-nav .nav-link.active i,
.navbar-nav .nav-link.active i {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.625rem 0.875rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3),
                0 2px 6px rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.navbar-toggler::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.navbar-toggler:hover::before {
    left: 100%;
}

.navbar-toggler:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4),
                0 4px 12px rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0891b2 100%);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25),
                0 8px 20px rgba(37, 99, 235, 0.4);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* منوی ریسپانسیو لوکس */
.navbar-collapse {
    background: transparent;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    position: relative;
    overflow: visible;
}

.navbar-collapse::before {
    display: none;
}

.navbar-collapse .navbar-nav {
    text-align: center;
    gap: 0.5rem;
}

.navbar-collapse .nav-link {
    margin: 0.5rem 0;
    padding: 1.125rem 2rem !important;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155 !important;
    font-weight: 700;
    position: relative;
    background: transparent;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.navbar-collapse .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.15), 
        rgba(6, 182, 212, 0.15),
        transparent);
    transition: left 0.6s ease;
    z-index: 0;
    border-radius: 14px;
}

.navbar-collapse .nav-link:hover::before {
    left: 100%;
}

.navbar-collapse .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color), #8b5cf6);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50%);
    z-index: 1;
}

.navbar-collapse .nav-link:not(.active) {
    color: #334155 !important;
}

.navbar-collapse .nav-link:hover:not(.active) {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.12) 0%, 
        rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary-color) !important;
    transform: translateX(-8px) translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2),
                0 4px 8px rgba(6, 182, 212, 0.15);
}

.navbar-collapse .nav-link:hover:not(.active)::after {
    width: 70%;
}

.navbar-collapse .nav-link.active {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--info-color) 50%,
        #8b5cf6 100%);
    color: white !important;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4),
                0 4px 12px rgba(6, 182, 212, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateX(-5px) translateY(-2px);
}

.navbar-collapse .nav-link.active::after {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    bottom: -2px;
}

.navbar-collapse .nav-link > * {
    position: relative;
    z-index: 1;
}

/* بهبود انیمیشن منو */
.navbar-collapse.show {
    animation: slideDownFancy 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownFancy {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.navbar-collapse.show .nav-link {
    animation: fadeInUpSmooth 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

@keyframes fadeInUpSmooth {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show .nav-link:nth-child(1) { animation-delay: 0.05s; }
.navbar-collapse.show .nav-link:nth-child(2) { animation-delay: 0.1s; }
.navbar-collapse.show .nav-link:nth-child(3) { animation-delay: 0.15s; }
.navbar-collapse.show .nav-link:nth-child(4) { animation-delay: 0.2s; }
.navbar-collapse.show .nav-link:nth-child(5) { animation-delay: 0.25s; }
.navbar-collapse.show .nav-link:nth-child(6) { animation-delay: 0.3s; }
.navbar-collapse.show .nav-link:nth-child(7) { animation-delay: 0.35s; }
.navbar-collapse.show .nav-link:nth-child(8) { animation-delay: 0.4s; }

/* بهبود منو در حالت تاریک */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
        border-bottom-color: rgba(51, 65, 85, 0.8);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
                    0 2px 8px rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    
    .navbar-brand {
        background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #a78bfa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
        border: 1px solid rgba(51, 65, 85, 0.8);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    
    .navbar-nav .nav-link:not(.active) {
        color: #cbd5e1 !important;
    }
    
    .navbar-nav .nav-link:hover:not(.active) {
        background: linear-gradient(135deg, 
            rgba(37, 99, 235, 0.2) 0%, 
            rgba(6, 182, 212, 0.15) 100%);
        color: #60a5fa !important;
    }
    
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, 
            var(--primary-color) 0%, 
            var(--info-color) 50%,
            #8b5cf6 100%);
        color: white !important;
    }
    
    .navbar-collapse .nav-link:not(.active) {
        color: #cbd5e1 !important;
    }
    
    .navbar-collapse .nav-link:hover:not(.active) {
        background: linear-gradient(135deg, 
            rgba(37, 99, 235, 0.2) 0%, 
            rgba(6, 182, 212, 0.15) 100%);
    }
    
    .navbar-collapse .nav-link.active {
        background: linear-gradient(135deg, 
            var(--primary-color) 0%, 
            var(--info-color) 50%,
            #8b5cf6 100%);
    }
}

/* بهبود منو برای صفحات لمسی */
@media (hover: none) and (pointer: coarse) {
    .navbar-nav .nav-link {
        padding: 1rem 1.5rem !important;
        margin: 0.5rem 0;
    }
    
    .navbar-toggler {
        padding: 0.75rem;
        font-size: 1.1rem;
    }
}

/* بخش قهرمان مدرن */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #1e40af 100%);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 3rem;
}

/* استوری‌ها */
.stories-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.stories-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.story-item {
    position: relative;
    width: 86px;
    min-width: 86px;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    overflow: visible;
}
.story-ring {
    position: absolute;
    top: 4px; right: 50%; transform: translateX(50%);
    width: 78px; height: 78px;
    border-radius: 50%;
    background: conic-gradient(#F59E0B, #06B6D4, #2563EB, #F59E0B);
    padding: 4px;
    z-index: 0;
}
.story-thumb {
    width: 70px; height: 70px;
    border-radius: 50%;
    background-color: #000;
    border: 0;
    z-index: 2;
    position: relative;
    top: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.story-title {
    font-size: .85rem; color: var(--gray-800); font-weight: 600; text-align: center; max-width: 86px;
}

.story-view-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.3rem 0.5rem;
    border-radius: 15px;
    font-size: 0.7rem;
    color: white;
    z-index: 3;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 45px;
}

.story-view-count i {
    font-size: 0.7rem;
    opacity: 0.95;
    color: #60a5fa;
}

.story-view-count .view-number {
    font-weight: 800;
    font-size: 0.75rem;
    line-height: 1;
    color: white;
    letter-spacing: 0.3px;
}

/* ریسپانسیو برای نمایش تعداد بازدید */
@media (max-width: 576px) {
    .story-view-count {
        bottom: 22px;
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 12px;
        min-width: 40px;
    }
    
    .story-view-count i {
        font-size: 0.65rem;
    }
    
    .story-view-count .view-number {
        font-size: 0.7rem;
    }
}

/* مودال استوری */
.story-modal .modal-content { background: #000; color: #fff; position: relative; }
.story-modal .modal-body { padding: 0; position: relative; }
.story-progress { position: absolute; top: 8px; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.2); z-index: 10; direction: rtl; }
.story-frame { position: relative; display: inline-block; width: 100%; }
/* لوگوی گرد بالا-چپ داخل مودال استوری/گالری - کنار عکس */
.story-modal .story-logo { position: absolute; top: 12px; left: 12px; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 0; z-index: 25; box-shadow: 0 2px 8px rgba(0,0,0,0.25); pointer-events: none; }
.story-modal .story-logo img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.story-progress .bar { height: 100%; width: 0; background: #fff; transition: width .1s linear; position: absolute; top: 0; right: 0; }
.story-progress .load-bar { background: #06b6d4; z-index: 11; opacity: 1; transition: width .2s linear, opacity .2s ease; }
/* نمایش درصد لود در وسط */
.story-load-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 20;
    pointer-events: none;
    font-family: 'Vazirmatn', sans-serif;
}
.story-media { max-height: 80vh; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: 0 auto; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* مخفی‌کردن کنترل‌های ویدیو داخل استوری */
.story-modal video.story-media::-webkit-media-controls { display: none !important; }
.story-modal video.story-media::-webkit-media-controls-enclosure { display: none !important; }
.story-modal video.story-media::-webkit-media-controls-overlay-play-button { display: none !important; }
.story-modal video.story-media { outline: none; }
.story-modal video.story-media::-moz-media-controls { display: none !important; }

/* دکمه تمام‌صفحه استوری */

/* فول‌اسکرین 9:16 برای استوری */
.story-modal .modal-content:fullscreen { width: 100vw; height: 100vh; background: #000 !important; }
.story-modal .modal-content:-webkit-full-screen { width: 100vw; height: 100vh; background: #000 !important; }
.story-modal .modal-content:fullscreen .modal-body,
.story-modal .modal-content:-webkit-full-screen .modal-body { background: #000 !important; padding: 0 !important; }
.story-modal .modal-content:fullscreen .story-frame,
.story-modal .modal-content:-webkit-full-screen .story-frame { height: 100vh; width: min(calc(100vh * 9 / 16), 100vw); aspect-ratio: 9/16; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; background: #000; }
.story-modal .modal-content:fullscreen .story-media,
.story-modal .modal-content:-webkit-full-screen .story-media { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; background: #000; }
.story-modal .modal-content:fullscreen .story-logo,
.story-modal .modal-content:-webkit-full-screen .story-logo { top: 20px; left: 20px; width: 52px; height: 52px; }

/* دکمه بستن استوری/هایلایت در سمت راست بالا */
.btn-close-story {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.btn-close-story:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.btn-close-story:active {
    transform: scale(0.95);
}

.btn-close-story i {
    font-size: 20px;
}

/* در حالت فول‌اسکرین */
.story-modal .modal-content:fullscreen .btn-close-story,
.story-modal .modal-content:-webkit-full-screen .btn-close-story {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
}

/* پشتیبانی از عکس پس‌زمینه */
.hero-section.has-bg-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 20px 20px 0px 0px;}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* لایه تیره برای خوانایی بهتر متن */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-overlay {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 100vh;
    border-radius: 20px;
    padding: 20px;
    margin: 25px 5px 15px 5px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: justify;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: justify;
    line-height: 1.6;
}

.hero-section .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* عناوین بخش‌ها مدرن */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
    border-radius: 3px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    border-radius: 1px;
}

/* گالری مدرن */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 20px 20px 0 0;
    aspect-ratio: 3/4;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
    border-radius: 0 0 20px 20px;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* فرم‌های مدرن */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* استپر رزرو */
.reservation-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-600);
    min-width: 0;
    overflow: hidden;
}
.step-indicator .step-number {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-200);
    font-weight: 800;
    color: var(--gray-700);
    flex-shrink: 0;
}
.step-indicator .step-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}
.step-indicator.active {
    border-color: var(--primary-color);
    background: #eef2ff;
    color: var(--primary-color);
}
.step-indicator.active .step-number {
    background: var(--primary-color);
    color: #fff;
}
@media (max-width: 768px) {
    .reservation-steps {
        gap: 0.5rem;
    }
    .step-indicator {
        padding: 0.5rem 0.4rem;
        gap: 0.35rem;
        font-size: 0.85rem;
    }
    .step-indicator .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
    .step-indicator .step-label {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .reservation-steps {
        gap: 0.35rem;
    }
    .step-indicator {
        padding: 0.4rem 0.3rem;
        gap: 0.3rem;
        font-size: 0.75rem;
    }
    .step-indicator .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    .step-indicator .step-label {
        font-size: 0.7rem;
    }
}

/* خلاصه رزرو چسبان */
.reservation-summary {
    position: sticky;
    top: 100px;
}

@media (max-width: 768px) {
    .reservation-summary {
        position: static;
        border-radius: 12px;
        margin-top: 0.5rem;
    }
    .reservation-summary .card-header {
        padding: 0.75rem 1rem;
    }
    .reservation-summary .card-body {
        padding: 0.75rem 1rem;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--gray-50);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background-color: white;
    transform: translateY(-1px);
}

.form-label {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* دکمه‌های مدرن */
.btn {
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light i {
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 15px;
}

.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8f0f8 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    animation: contactFlow 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes contactFlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(30px, 30px) rotate(5deg);
        opacity: 0.8;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: transparent;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    border: none;
    overflow: visible;
    width: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.1), rgba(37, 99, 235, 0.15));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(8px);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.contact-card:hover .contact-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.15));
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.contact-icon {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.contact-card:hover .contact-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.contact-title {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-link {
    display: block;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    line-height: 1.4;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--info-color));
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-8px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-link:last-child {
    margin-bottom: 0;
}


/* فوتر مدرن */
.footer-modern {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: white;
    padding: 0rem 0 2rem;
    position: relative;
    overflow: hidden;
}


.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
}

.footer-brand {
    text-align: right;
}

.footer-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
}

.footer-logo:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.footer-logo i {
    font-size: 2rem;
    color: white;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
    border-radius: 2px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-contact-item:hover i {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: white;
    transform: scale(1.1);
}

.footer-certificate-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.enamad-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.enamad-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.enamad-logo {
    display: block;
    max-width: 100px;
    height: auto;
    border-radius: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-certificate-wrapper {
    order: 2;
    flex: 0 0 auto;
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright strong {
    color: white;
    font-weight: 700;
}

.footer-developer {
    margin: 0;
}

.footer-developer p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.developer-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.developer-link i {
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.developer-link:hover i {
    transform: rotate(360deg);
    color: var(--primary-color);
}

/* انیمیشن‌های مدرن */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ریسپانسیو برای تبلت */
@media (max-width: 992px) {
    .navbar {
        padding: 0.875rem 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
        padding: 0.625rem 0.875rem !important;
    }
    
    /* فرم رزرو - تنظیمات تبلت */
    #reservationForm .row .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }
    
    #reservationForm .row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }
    
    /* تنظیمات خاص برای فیلدهای فرم در تبلت */
    /* ردیف اول: نام و نام خانوادگی در یک سطر */
    #reservationForm .row:first-child .col-4:nth-child(1),
    #reservationForm .row:first-child .col-4:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* شماره تماس در سطر جداگانه */
    #reservationForm .row:first-child .col-4:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* ردیف دوم: حوزه فعالیت و تاریخ رزرو در یک سطر */
    #reservationForm .row:nth-child(2) .col-4:nth-child(1),
    #reservationForm .row:nth-child(2) .col-4:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* ساعت شروع در سطر جداگانه */
    #reservationForm .row:nth-child(2) .col-4:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* ردیف سوم: مدت زمان و کد تخفیف در یک سطر */
    #reservationForm .row:nth-child(3) .col-6:nth-child(1),
    #reservationForm .row:nth-child(3) .col-6:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ریسپانسیو مدرن */
@media (max-width: 768px) {
    body {
        padding-top: 0px;
    }
    
    /* بهبود منو در موبایل */
    .navbar {
        padding: 1.25rem 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.875rem 1.25rem !important;
    }
    
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0;
        position: static;              /* بازشدن از زیر نوار */
        width: 100%;
        left: auto; right: auto;       /* جلوگیری از بازشدن از کنار */
        transform: none !important;    /* حذف هر گونه ترنسفورم افقی */
        max-height: 70vh;              /* اسکرول عمودی ایمن */
        overflow-y: auto;
    }

    .navbar-collapse.collapse { display: none !important; }
    .navbar-collapse.show    { display: block !important; }

    /* جلوگیری از بازشدن اولیه داخل خود نوار (فلیکر Bootstrap) */
    .navbar .collapsing {
        position: fixed !important;
        top: 64px; left: 0; right: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        margin: 0;
        padding: .5rem .75rem;
        height: auto !important;            /* حذف انیمیشن ارتفاع */
        overflow: hidden;
        transition: none !important;        /* جلوگیری از انیمیشن پیش‌فرض Bootstrap */
        transform: translateY(-10px);
        opacity: 0;
        z-index: 1050;
        border-radius: 0 0 14px 14px;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center; /* آیتم‌ها وسط‌چین شوند */
    }
    
    .navbar-collapse .nav-link {
        padding: 0.875rem 1.25rem !important;
        width: auto;                    /* عرض خودکار برای مرکز */
        text-align: center;             /* متن وسط */
        display: inline-block;          /* در یک خط و وسط */
        transform: none !important;     /* جلوگیری از سر خوردن افقی در hover */
    }

    /* پنل کشویی تمام‌عرض زیر نوار در حالت باز */
    .navbar.fixed-top .navbar-collapse.show,
    .navbar.navbar-expand-lg .navbar-collapse.show {
        position: fixed;               /* از داخل نوار جدا شود */
        top: 64px;                     /* ارتفاع تقریبی نوار در موبایل */
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        z-index: 1050;
        margin: 0;
        border-radius: 0 0 14px 14px;
        padding: .5rem .75rem;
        animation: slideDownFancy .35s ease both;
        opacity: 1;
        transform: translateY(0);
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2.4rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-link {
        font-size: 1rem;
        margin-bottom: 0.875rem;
        padding: 0.65rem 0.875rem;
    }
    
    .card-header {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .form-control, .form-select {
        padding: 0.875rem 1rem;
    }
    
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-certificate-wrapper {
        order: 0;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1.25rem;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-heading {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-heading::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    /* بهبود منو در صفحات کوچک */
    .navbar {
        padding: 1rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-toggler {
        padding: 0.5rem 0.7rem;
    }
    
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .navbar-collapse .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-link {
        font-size: 1rem;
        margin-bottom: 0.875rem;
        padding: 0.7rem 1rem;
    }
    
    .gallery-item img {
        height: 280px;
    }
    
    #gallery .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    
    .card {
        border-radius: 15px;
    }
    
    .form-control, .form-select {
        border-radius: 10px;
        padding: 0.75rem 0.875rem;
    }
    
    .footer-modern {
        padding: 2.5rem 0 1.25rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .footer-logo i {
        font-size: 1.75rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-contact-item {
        font-size: 0.9rem;
    }
    
    .footer-contact-item i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .enamad-logo {
        max-width: 80px;
    }
    
    .footer-copyright,
    .footer-developer p {
        font-size: 0.85rem;
    }
}

/* استایل‌های مدرن برای داشبورد ادمین */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--gray-900), var(--gray-800));
    border-left: 4px solid var(--primary-color);
}

.sidebar .nav-link {
    color: var(--gray-300);
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    margin: 0.25rem 0;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar .nav-link:hover {
    color: white;
    background: rgba(37, 99, 235, 0.1);
    padding-right: 2rem;
}

.sidebar .nav-link:hover::before {
    transform: scaleY(1);
}

.sidebar .nav-link.active {
    color: white;
    background: rgba(37, 99, 235, 0.2);
    padding-right: 2rem;
}

.sidebar .nav-link.active::before {
    transform: scaleY(1);
}

.sidebar .nav-link i {
    margin-left: 0.75rem;
    font-size: 1.1rem;
}

.stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stats-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-card .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.stats-card .label {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1.1rem;
}

/* جدول‌های مدرن */
.table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: none;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    font-weight: 700;
    padding: 1.25rem 1rem;
    font-size: 1rem;
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
}

.table tbody tr:hover {
    background-color: var(--gray-50);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    vertical-align: middle;
}

/* فرم‌های مدیریت */
.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating .form-control {
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    padding: 1rem 1.25rem;
}

.form-floating .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* آپلود فایل مدرن */
.file-upload {
    border: 3px dashed var(--gray-300);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.file-upload::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.file-upload:hover::before {
    opacity: 1;
}

.file-upload.dragover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

/* نوتیفیکیشن‌های مدرن */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-md);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

/* بج‌های وضعیت مدرن */
.badge {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--info-color), #0891b2) !important;
}

/* مودال‌های مدرن */
.modal-content {
    border-radius: 25px;
    border: none;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 2rem;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border: none;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
}

/* استایل‌های اضافی */
.input-group-text {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-left: none;
    font-weight: 600;
    color: var(--gray-700);
}

.form-control:focus + .input-group-text {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* بهبود نمایش کدها */
code {
    background: var(--gray-100);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* بهبود نمایش قیمت */
.price-display {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.price-display .amount {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-display .label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
}

/* استایل‌های شماره تلفن */
.phone-number {
    direction: ltr;
    text-align: left;
    display: inline-block;
}

/* استایل برای فیلدهای تلفن */
input[type="tel"] {
    direction: ltr;
    text-align: left;
}

/* استایل برای نمایش شماره تلفن در جداول */
td .phone-number,
span[dir="ltr"] {
    direction: ltr;
    text-align: left;
    display: inline-block;
}

/* اصلاح آیکن dropdown برای RTL */
.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-position: left 0.75rem center !important;
    padding-left: 2.25rem !important;
    padding-right: 0.75rem !important;
}

/* استایل‌های بخش درباره ما */
.working-hours,
.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* فاصله‌های بهتر برای دسکتاپ */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-section {
        padding: 0 4rem;
    }
    
    .navbar {
        padding: 1.75rem 4rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
        padding-left: 3rem;
        padding-right: 0rem;
    }
    
    .hero-section {
        padding: 0px 1rem 0px 1rem;
        margin: 5px;
    }
    
    .navbar {
        padding: 1.75rem 5rem;
        border-radius: 0px 0px 25px 25px;
    }
}

/* استایل اختصاصی بخش درباره ما */
#about .about-content,
#about .about-content p,
#about .about-content .lead,
#about .about-content h3,
#about .working-hours p,
#about .contact-info p {
    color: #000000 !important;
}

#about .working-hours h4,
#about .contact-info h4 {
    color: #111827 !important; /* خاکستری خیلی تیره برای تیترک‌ها */
}


.working-hours:hover,
.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.working-hours h4,
.contact-info h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.working-hours p,
.contact-info p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* ریسپانسیو برای فرم رزرو */
@media (max-width: 768px) {
    /* فرم رزرو - تنظیمات موبایل */
    #reservationForm .row .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    #reservationForm .row .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    /* تنظیمات خاص برای فیلدهای فرم در موبایل */
    /* ردیف اول: نام و نام خانوادگی در یک سطر */
    #reservationForm .row:first-child .col-4:nth-child(1),
    #reservationForm .row:first-child .col-4:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* شماره تماس در سطر جداگانه */
    #reservationForm .row:first-child .col-4:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* ردیف دوم: حوزه فعالیت و تاریخ رزرو در یک سطر */
    #reservationForm .row:nth-child(2) .col-4:nth-child(1),
    #reservationForm .row:nth-child(2) .col-4:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* ساعت شروع در سطر جداگانه */
    #reservationForm .row:nth-child(2) .col-4:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* ردیف سوم: مدت زمان و کد تخفیف در یک سطر */
    #reservationForm .row:nth-child(3) .col-6:nth-child(1),
    #reservationForm .row:nth-child(3) .col-6:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    /* فرم رزرو - تنظیمات موبایل کوچک */
    #reservationForm .row .col-4,
    #reservationForm .row .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    /* در موبایل کوچک همه فیلدها در سطر جداگانه */
    #reservationForm .row:first-child .col-4:nth-child(1),
    #reservationForm .row:first-child .col-4:nth-child(2),
    #reservationForm .row:nth-child(2) .col-4:nth-child(1),
    #reservationForm .row:nth-child(2) .col-4:nth-child(2),
    #reservationForm .row:nth-child(3) .col-6:nth-child(1),
    #reservationForm .row:nth-child(3) .col-6:nth-child(2) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ریسپانسیو برای بخش درباره ما */
@media (max-width: 768px) {
    .about-content .row.mt-4 {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem;
    }
    
    .about-content .row.mt-4 .col-md-6 {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: 50% !important;
    }
    
    .working-hours,
    .contact-info {
        margin-bottom: 0;
        padding: 1rem;
    }
    
    .working-hours h4,
    .contact-info h4 {
        font-size: 1rem;
    }
    
    .working-hours p,
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 0 1.5rem;
    }
    
    .navbar {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-content .row.mt-4 {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem;
    }
    
    .about-content .row.mt-4 .col-md-6 {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: 50% !important;
    }
    
    .working-hours,
    .contact-info {
        padding: 0.75rem;
    }
    
    .working-hours h4,
    .contact-info h4 {
        font-size: 0.9rem;
    }
    
    .working-hours p,
    .contact-info p {
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 1rem 1rem;
        border-radius: 0px 0px 20px 20px;
    }
}

/* استایل دکمه‌های عملیات */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-buttons .btn {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-buttons .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    background-color: transparent;
}

.action-buttons .btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.action-buttons .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background-color: transparent;
}

.action-buttons .btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

/* استایل‌های پاپ آپ خوش آمدگویی */
.welcome-modal-dialog {
    max-width: 380px;
}

#welcomeModal .modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.5);
}

.welcome-popup {
    border-radius: 25px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    animation: welcomeSlideIn 0.6s ease-out;
}

@keyframes welcomeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #1e40af 100%);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.welcome-header .btn-close {
    margin-left: 0;
    margin-right: auto;
    filter: invert(1);
    opacity: 0.9;
}

.welcome-header .btn-close:hover {
    opacity: 1;
}

.welcome-header .welcome-icon {
    flex-shrink: 0;
}

.welcome-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.welcome-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    animation: bounce 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.welcome-body {
    padding: 0.75rem;
    background: white;
}

.welcome-content {
    text-align: center;
}

.welcome-message {
    font-size: 0.75rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.discount-offer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 0.75rem;
    margin: 0.75rem 0;
    border: 2px solid #f59e0b;
    position: relative;
    overflow: hidden;
}

.discount-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
    z-index: 1;
}

.discount-code-container {
    position: relative;
    z-index: 1;
}

.discount-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    border: 2px dashed #f59e0b;
    border-radius: 10px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.discount-code:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.code-text {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-copy {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.discount-description {
    font-size: 0.7rem;
    color: var(--gray-700);
    margin: 0;
    font-weight: 600;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item span {
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    font-size: 1rem;
}

.welcome-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border: none !important;
    padding: 0.5rem 0.75rem !important;
    display: flex !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    border-top: 1px solid var(--gray-200) !important;
}

.welcome-footer .btn {
    padding: 0.4rem 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    min-width: 90px !important;
    font-size: 0.75rem !important;
}

.welcome-footer .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.welcome-footer .btn-outline-secondary {
    color: var(--gray-600) !important;
    border-color: var(--gray-300) !important;
    background-color: transparent !important;
}

.welcome-footer .btn-outline-secondary:hover {
    color: var(--gray-700) !important;
    background-color: var(--gray-100) !important;
    border-color: var(--gray-400) !important;
}

.welcome-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%) !important;
    border: none !important;
    color: white !important;
}

.welcome-footer .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    color: white !important;
}

/* اطمینان از نمایش صحیح footer */
.modal-content .welcome-footer {
    position: relative !important;
    z-index: 1 !important;
    margin-top: auto !important;
}

/* ریسپانسیو برای پاپ آپ */
@media (max-width: 768px) {
    .welcome-modal-dialog {
        max-width: 90%;
        margin: 0.5rem auto;
    }
    
    .welcome-popup {
        margin: 60px;
        border-radius: 12px;
    }
    
    .welcome-header {
        padding: 0.5rem 0.6rem;
    }
    
    .welcome-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .welcome-body {
        padding: 0.5rem;
    }
    
    .welcome-message {
        font-size: 0.7rem;
    }
    
    .discount-offer {
        padding: 0.5rem;
        margin: 0.5rem 0;
    }
    
    .discount-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .code-text {
        font-size: 0.9rem;
    }
    
    .btn-copy {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .discount-description {
        font-size: 0.65rem;
    }
    
    .welcome-features {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-item i {
        font-size: 1.25rem;
    }
    
    .welcome-footer {
        padding: 0.5rem !important;
        flex-direction: row !important;
        gap: 0.4rem !important;
    }
    
    .welcome-footer .btn {
        flex: 1 !important;
        margin: 0 !important;
        padding: 0.4rem 0.75rem !important;
        font-size: 0.7rem !important;
    }
    
    .discount-code {
        flex-direction: row !important;
    }
}

@media (max-width: 576px) {
    .welcome-modal-dialog {
        max-width: 95%;
        margin: 0.25rem auto;
    }
    
    .welcome-popup {
        margin: 60px;
        border-radius: 10px;
    }
    
    .welcome-header {
        padding: 0.4rem 0.5rem;
    }
    
    .welcome-icon {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
    
    .welcome-body {
        padding: 0.4rem;
    }
    
    .welcome-message {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .discount-offer {
        padding: 0.4rem;
        margin: 0.4rem 0;
    }
    
    .discount-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.4rem;
    }
    
    .discount-code {
        flex-direction: row;
        gap: 0.4rem;
        padding: 0.4rem;
    }
    
    .code-text {
        font-size: 0.85rem;
    }
    
    .btn-copy {
        padding: 0.3rem 0.45rem;
        font-size: 0.65rem;
    }
    
    .discount-description {
        font-size: 0.6rem;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .feature-item {
        padding: 0.4rem;
    }
    
    .feature-item i {
        font-size: 1rem;
    }
    
    .welcome-footer {
        padding: 0.4rem !important;
        flex-direction: row !important;
    }
    
    .welcome-footer .btn {
        flex: 1 !important;
        padding: 0.35rem 0.6rem !important;
        font-size: 0.65rem !important;
    }
    
    .discount-code {
        flex-direction: row !important;
    }
}

/* استایل‌های تقویم شمسی */
.persian-calendar-modal .modal-dialog {
    max-width: 320px;
}

#datePickerModal .modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.5);
}

.persian-calendar-wrapper .modal-content {
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.persian-calendar-header {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 0.4rem 0.6rem !important;
    flex-direction: row-reverse !important;
}

.persian-calendar-header .modal-title {
    color: white !important;
    font-weight: 700;
    font-size: 0.8rem;
    flex: 1;
    text-align: center;
}

.persian-calendar-header .btn-close {
    filter: invert(1);
    opacity: 0.9;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.persian-calendar-header .btn-close:hover {
    opacity: 1;
}

.persian-calendar {
    width: 100%;
    background: white;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.prev-month, .next-month {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.prev-month:hover, .next-month:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.prev-month {
    flex-direction: row-reverse;
}

.next-month {
    flex-direction: row;
}

.month-year-selector {
    text-align: center;
    flex: 1;
}

.month-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.chevron-down {
    font-size: 0.7rem;
    color: #6c757d;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.3rem 0;
}

.weekday {
    text-align: center;
    padding: 0.2rem;
    font-size: 0.7rem;
}

.weekday.friday {
    color: #ffeb3b;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #dee2e6;
    padding: 1px;
}

.calendar-day {
    background: white;
    min-height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover:not(.empty) {
    background: #f8f9fa;
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-day.empty {
    background: #f8f9fa;
    cursor: default;
}

.calendar-day.today {
    background: #dbeafe;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
}

.calendar-day.today .jalali-date {
    color: #dc3545;
    font-weight: 700;
}

.calendar-day.today.holiday .jalali-date {
    color: #d32f2f !important;
    font-weight: bold !important;
}

.calendar-day.friday:not(.today):not(.holiday) .jalali-date {
    color: #dc3545;
    font-weight: 600;
}

.calendar-day.friday.holiday .jalali-date {
    color: #d32f2f !important;
    font-weight: bold !important;
}

.jalali-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #212529;
}

.calendar-footer {
    padding: 0.4rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.calendar-footer .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.calendar-day.disabled,
.calendar-day.holiday {
    cursor: not-allowed !important;
    pointer-events: none;
}

.calendar-day.disabled .jalali-date,
.calendar-day.holiday .jalali-date {
    color: #d32f2f !important;
    font-weight: bold;
}

.event-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2196F3;
    position: absolute;
    top: 5px;
    right: 5px;
}

.event-indicator.holiday {
    background-color: #f44336;
}

/* استایل بخش مناسبت‌های تقویم */
.calendar-events {
    padding: 1rem !important;
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6 !important;
    margin-top: 0 !important;
}

.events-title,
h6.events-title {
    font-size: 0.95rem !important;
    font-weight: bold !important;
    color: #495057 !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid #dee2e6 !important;
    margin-top: 0 !important;
}

.events-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.event-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.6rem 0.75rem !important;
    background-color: white !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    margin-bottom: 0 !important;
}

.event-item.holiday-event {
    background-color: #ffebee !important;
    border-color: #f44336 !important;
}

.event-day {
    font-weight: bold !important;
    color: #495057 !important;
    min-width: 75px !important;
    margin-left: 0.5rem !important;
    font-size: 0.9rem !important;
    display: inline-block !important;
}

.event-item.holiday-event .event-day {
    color: #d32f2f !important;
}

.event-title {
    color: #6c757d !important;
    flex: 1 !important;
    line-height: 1.5 !important;
    display: inline-block !important;
}

.event-item.holiday-event .event-title {
    color: #c62828 !important;
    font-weight: 500 !important;
}

.calendar-footer .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
    color: white;
}


@media (max-width: 768px) {
    .persian-calendar-modal .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    .persian-calendar-header {
        padding: 0.35rem 0.5rem !important;
    }
    
    .persian-calendar-header .modal-title {
        font-size: 0.75rem;
    }
    
    .calendar-header {
        padding: 0.3rem;
    }
    
    .prev-month, .next-month {
        font-size: 0.65rem;
        padding: 0.2rem 0.35rem;
    }
    
    .month-name {
        font-size: 0.8rem;
    }
    
    .calendar-weekdays {
        padding: 0.25rem 0;
    }
    
    .weekday {
        font-size: 0.65rem;
        padding: 0.15rem;
    }
    
    .calendar-day {
        min-height: 45px;
        padding: 0.25rem;
    }
    
    .jalali-date {
        font-size: 0.85rem;
    }
    
    .calendar-footer {
        padding: 0.35rem;
    }
    
    .calendar-footer .btn {
        padding: 0.35rem 0.9rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .persian-calendar-modal .modal-dialog {
        max-width: 98%;
        margin: 0.25rem auto;
    }
    
    .persian-calendar-header {
        padding: 0.3rem 0.4rem !important;
    }
    
    .persian-calendar-header .modal-title {
        font-size: 0.7rem;
    }
    
    .calendar-header {
        padding: 0.25rem;
    }
    
    .prev-month, .next-month {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .month-name {
        font-size: 0.75rem;
    }
    
    .calendar-weekdays {
        padding: 0.2rem 0;
    }
    
    .weekday {
        font-size: 0.6rem;
        padding: 0.1rem;
    }
    
    .calendar-day {
        min-height: 40px;
        padding: 0.2rem;
    }
    
    .jalali-date {
        font-size: 0.75rem;
    }
    
    .calendar-footer {
        padding: 0.3rem;
    }
    
    .calendar-footer .btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.65rem;
    }
}

/* استایل بخش نظرات و رضایت مشتریان */
.reviews-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.reviews-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.reviews-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* استایل کارت‌های Review */
.review-card {
    background: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-card .card-body {
    padding: 1.5rem;
}

.review-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.review-card .card-text {
    color: #495057 !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
    margin-top: 1rem !important;
    text-align: justify !important;
    font-weight: 400 !important;
}

.review-card .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

/* استایل ستاره‌های امتیاز */
.rating-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.rating-stars .fa-star {
    font-size: 1.1rem;
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-stars .far.fa-star {
    color: #dee2e6;
}

/* استایل فرم Review */
.reviews-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.reviews-section .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem;
}

.reviews-section .card-header h4 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

.reviews-section .card-body {
    padding: 2rem;
    background: #ffffff;
}

.reviews-section .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.reviews-section .form-control,
.reviews-section .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.reviews-section .form-control:focus,
.reviews-section .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.reviews-section .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.reviews-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.reviews-section .btn-primary:active {
    transform: translateY(0);
}

/* استایل پیام‌های Alert */
.reviews-section .alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.reviews-section .alert-success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.reviews-section .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

/* استایل Modal نمایش همه Review‌ها */
#allReviewsModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#allReviewsModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem;
}

#allReviewsModal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

#allReviewsModal .modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

#allReviewsModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#allReviewsModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#allReviewsModal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

#allReviewsModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5568d3 0%, #65408f 100%);
}

#allReviewsModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#allReviewsModal .btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

#allReviewsModal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* استایل دکمه نمایش بیشتر */
.reviews-section .btn-primary.btn-lg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.reviews-section .btn-primary.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.reviews-section .btn-primary.btn-lg:active {
    transform: translateY(-1px);
}

/* استایل کارت خلاصه امتیاز */
.rating-summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.rating-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.rating-stars-large {
    font-size: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.rating-stars-large .fa-star,
.rating-stars-large .fa-star-half-alt {
    color: #ffc107;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rating-stars-large .far.fa-star {
    color: #dee2e6;
}

.rating-average {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.rating-count {
    font-size: 0.9rem;
    color: #6c757d;
}

/* استایل کارت توزیع امتیازها */
.rating-breakdown-card {
    background: #ffffff;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.rating-breakdown-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.rating-breakdown-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.rating-breakdown-item {
    margin-bottom: 1rem;
}

.rating-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.rating-count-badge {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

.rating-breakdown-item .progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.rating-breakdown-item .progress-bar {
    transition: width 0.6s ease;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0;
    }
    
    .reviews-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .review-card .card-body {
        padding: 1.25rem;
    }
    
    .reviews-section .card-body {
        padding: 1.5rem;
    }
    
    #allReviewsModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #allReviewsModal .modal-body {
        padding: 1.5rem;
        max-height: 60vh;
    }
    
    .reviews-section .btn-primary.btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
    
    .rating-stars-large {
        font-size: 1.5rem;
    }
    
    .rating-average {
        font-size: 2.5rem;
    }
    
    .rating-breakdown-card .card-title {
        font-size: 1.1rem;
    }
    
    .rating-label {
        font-size: 0.85rem;
    }
    
    .rating-count-badge {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
        min-width: 35px;
    }
}