/* متغیرهای تم */
:root {
    --white: #ffffff;
    --orange: #ff6200;
    --teal: #00b894;
    --red: #ff3d00;
    --light-blue: #40c4ff;
    --gray: #f5f5f5;
    --dark-gray: #2d2d2d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --glow: 0 0 12px rgba(255, 98, 0, 0.4);
}

body * {
    font-family: 'Vazirmatn', sans-serif;
}

header {
    max-width: 100dvw !important;
}

/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


p {
    font-weight: 400;
}

body {
    font-family: "Vazirmatn", sans-serif !important;
    background: linear-gradient(to bottom, #f9f9f9, var(--white));
    color: var(--dark-gray);
    line-height: 1.6;
    direction: rtl;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 4px var(--tab-color);
    }

    50% {
        box-shadow: 0 0 12px var(--tab-color);
    }

    100% {
        box-shadow: 0 0 4px var(--tab-color);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* هدر */
.header {
    background: var(--white);
    padding: 5px 0.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.header-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.5px;
    position: relative;
}

.header-title:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(45, 45, 45, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}

.current-datetime {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 15px;
    background: var(--gray);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

#current-date,
#current-time {
    transition: var(--transition);
}

.current-datetime:hover #current-date,
.current-datetime:hover #current-time {
    color: var(--orange);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}


.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
}

.nav-list li {
    position: relative;
    margin-left: 30px;
}

.nav-list a {
    color: var(--dark-gray);
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-list a:hover {
    background: var(--light-blue);
    color: var(--white);
}

.nav-list i {
    color: var(--light-blue);
    position: relative;
}

.nav-list i:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background: rgba(45, 45, 45, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray);
}

.dropdown-menu a {
    padding: 10px 25px;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.dropdown-menu a:hover {
    background: var(--teal);
    color: var(--white);
}

.header-search {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-input {
    padding: 12px 50px 12px 20px;
    border: none;
    border-radius: 30px;
    background: var(--gray);
    color: var(--dark-gray);
    font-size: 1rem;
    width: 100%;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05), var(--shadow-sm);
    transition: var(--transition);
}

.search-input:focus {
    background: var(--white);
    box-shadow: 0 0 15px rgba(64, 196, 255, 0.4);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-blue);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-icon:hover {
    color: var(--orange);
}

.search-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(45, 45, 45, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    border: 1px solid var(--gray);
}

.suggestion-item {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-item:hover {
    background: var(--teal);
    color: var(--white);
}

.suggestion-item img {
    width: 30px;
    height: 30px;
    border-radius: 0.5rem;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.login-btn,
.signup-btn {
    color: var(--white);
    font-size: 0.95rem;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn {
    background: var(--orange);
}

.login-btn:hover {
    background: var(--teal);
}

.signup-btn {
    background: var(--light-blue);
}

.signup-btn:hover {
    background: var(--orange);
}

.user-profile {
    position: relative;
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--gray);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-toggle:hover {
    background: var(--light-blue);
    color: var(--white);
}

.profile-pic-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-icon-small {
    font-size: 1.8rem;
    color: var(--orange);
}

.profile-icon-small:hover::after,
.dropdown-arrow:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background: rgba(45, 45, 45, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.dropdown-arrow {
    color: var(--dark-gray);
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray);
}

.user-profile:hover .profile-dropdown {
    display: block;
}

.profile-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.profile-option:hover {
    background: var(--teal);
    color: var(--white);
}

.profile-option.logout {
    color: var(--red);
}

.profile-option.logout:hover {
    background: var(--red);
    color: var(--white);
}

.profile-option i:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background: rgba(45, 45, 45, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}

/* مراحل خرید بلیط */
.ticket-steps,
.mobile-ticket-steps {
    display: flex;
    justify-content: space-between;
    background: var(--white);
    padding: 15px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    gap: 5px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-ticket-steps {
    display: none;
    padding: 10px;
    background: var(--gray);
    border-bottom: 1px solid var(--gray);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) var(--gray);
}

.mobile-ticket-steps::-webkit-scrollbar {
    height: 6px;
}

.mobile-ticket-steps::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 10px;
}

.mobile-ticket-steps::-webkit-scrollbar-track {
    background: var(--gray);
    border-radius: 10px;
}

.step {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--dark-gray);
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}

.step i {
    color: var(--light-blue);
    font-size: 1rem;
}

.step.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--glow);
}

.step.active i {
    color: var(--white);
}

@media (max-width: 768px) {
    .ticket-steps {
        display: none;
    }

    .mobile-ticket-steps {
        display: flex;
        margin: 10px auto 20px;
        width: 100%;
    }

    .step {
        font-size: 0.75rem;
        padding: 6px 10px;
        flex: 0 0 auto;
    }

    .step i {
        font-size: 0.9rem;
    }
}

/* بدنه اصلی */
.main-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.content {
    flex: 1;
}

/* رویدادها */
.event-section {
    margin-bottom: 80px;
}

.event-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var (--dark-gray);
    margin-bottom: 40px;
    position: relative;
}

.event-section h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--orange);
    position: absolute;
    bottom: -10px;
    right: 0;
    border-radius: 2px;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var (--transition);
}

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

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image {
    transform: scale(1.08);
}

.event-details {
    padding: 15px;
}

.event-card h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 15px;
}

.event-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card i {
    color: var(--light-blue);
}

.countdown {
    color: var(--red);
}

/* Enhanced Buy Ticket Button */
.buy-ticket-btn {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
    position: relative;
    overflow: hidden;
}

.buy-ticket-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.5s;
}

.buy-ticket-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
    color: white;
}

.buy-ticket-btn:hover:before {
    left: 100%;
}

.buy-ticket-btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.buy-ticket-btn:hover i {
    transform: translateX(-3px);
}

/* برگزارکننده‌ها */
.organizer-section {
    margin-bottom: 80px;
}

.organizer-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 40px;
    position: relative;
}

.organizer-section h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--orange);
    position: absolute;
    bottom: -10px;
    right: 0;
    border-radius: 2px;
}

.organizer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.organizer-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.organizer-card h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 15px;
}

.organizer-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.organizer-card i {
    color: var(--light-blue);
}

/* فوتر */
.footer {
    background: var(--white);
    padding: 50px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    font-size: 0.95rem;
    color: var(--dark-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--light-blue);
}

.footer-section i:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background: rgba(45, 45, 45, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}

.footer p {
    font-size: 0.9rem;
    color: var (--dark-gray);
    text-align: center;
    margin-top: 30px;
}

.social-links {
    padding: 20px 0;
    text-align: center;
}

.social-links h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: white;
}

.social-icon:hover:before {
    transform: scale(1.2);
    opacity: 0;
}

/* Social Media Brand Colors */
.instagram {
    background: linear-gradient(45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888);
}

.telegram {
    background: #0088cc;
}

.whatsapp {
    background: #25d366;
}

.facebook {
    background: #4267b2;
}

.linkedin {
    background: #0077b5;
}

.twitter {
    background: #1da1f2;
}

/* Hover Effects */
.social-icon:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0) 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover:after {
    opacity: 1;
}


.header-brand {
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    /* فاصله بین لوگو و عنوان */
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    /* اختیاری: برای دایره‌ای کردن لوگو */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }

    .social-icons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}

/* رسپانسیو */
@media (max-width: 768px) {

    /* Header mobile layout */
    .header {
        padding: 0.5rem;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }

    /* Logo and brand mobile */
    .header-brand {
        order: 1;
        flex: 1;
        min-width: 0;
    }

    .header-logo {
        gap: 0.25rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .header-title {
        font-size: 1.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Current datetime mobile */
    .current-datetime {
        order: 2;
        font-size: 0.8rem;
        padding: 6px 10px;
        gap: 10px;
        flex-shrink: 0;
    }

    #current-date,
    #current-time {
        font-size: 0.75rem;
    }

    /* Hamburger menu mobile */
    .hamburger {
        order: 3;
        display: flex;
        font-size: 1.3rem;
        background: var(--gray);
        transition: all 0.3s ease;
        flex-shrink: 0;
        aspect-ratio: 1;
    }

    .hamburger:hover {
        background: var(--light-blue);
        color: var(--white);
    }

    .hamburger.active {
        padding: 4px;
        border-radius: 4px;
        background: var(--orange);
        color: var(--white);
    }

    /* Navigation mobile */
    .header-nav {
        order: 4;
        width: 100%;
        display: none;
        background: var(--white);
        border-radius: 0.5rem;
        box-shadow: var(--shadow-md);
        margin-top: 0.25rem;
        border: 1px solid var(--gray);
    }

    .header-nav.active {
        display: block;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 0;
        margin: 0;
        position: static;
        top: auto;
        right: auto;
        width: 100%;
    }

    .nav-list li {
        margin: 0;
        width: 100%;
    }

    .nav-list a {
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 8px;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .nav-list a:hover {
        background: var(--light-blue);
        color: var(--white);
        transform: translateX(-5px);
    }

    /* Dropdown menu mobile */
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: var(--gray);
        margin-top: 10px;
        border-radius: 8px;
        padding: 10px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: 6px;
        margin: 2px 0;
    }

    .dropdown-menu a:hover {
        background: var(--teal);
        color: var(--white);
    }

    /* Search mobile */
    .header-search {
        /* order: 5;
        width: 100%;
        max-width: none;
        margin-top: 10px; */
        display: none;
    }

    .search-input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
        border-radius: 25px;
    }

    .search-icon {
        right: 15px;
        font-size: 1.2rem;
    }

    .search-suggestions {
        max-height: 150px;
        border-radius: 8px;
    }

    /* Auth buttons mobile */
    .auth-buttons {
        display: flex;
        gap: 0.5rem;
        order: 3;
    }

    .login-btn,
    .signup-btn {
        flex: 1;
        justify-content: center;
        padding: 0.35rem;
        font-size: 0.75rem;
        border-radius: 25px;
        gap: 0.25rem;
    }

    /* User profile mobile */
    .user-profile {
        order: 3;
    }

    .profile-toggle {
        width: 100%;
        justify-content: center;
        padding: 0.25rem;
        border-radius: 25px;
    }

    .profile-dropdown {
        position: absolute;
        top: 2rem;
        left: 0;
        box-shadow: none;
        border: 1px solid var(--gray);
        border-radius: 8px;
        margin-top: 10px;
        /* background: var(--white); */
    }

    .profile-dropdown li {
        padding: 0;
    }

    .profile-dropdown a {
        padding: 12px 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--gray);
    }

    .profile-dropdown a:last-child {
        border-bottom: none;
    }

    /* Mobile ticket steps */
    .mobile-ticket-steps {
        order: 7;
        width: 100%;
        margin-top: 15px;
        padding: 10px;
        background: var(--gray);
        border-radius: 12px;
        overflow-x: auto;
        gap: 8px;
        display: flex;
    }

    .ticket-steps {
        display: none;
    }

    .step {
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
        background: var(--white);
        color: var(--dark-gray);
        box-shadow: var(--shadow-sm);
    }

    .step.active {
        background: var(--orange);
        color: var(--white);
    }

    .step i {
        font-size: 0.9rem;
        margin-left: 5px;
    }

    .mobile-ticket-steps {
        display: flex;
        overflow-x: auto;
    }

    .ticket-steps {
        display: none;
    }

    .step {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .step i {
        font-size: 0.9rem;
    }

    .main-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .sidebar {
        width: 100%;
        position: static;
        box-shadow: none;
        padding: 20px;
        border-bottom: 1px solid var(--gray);
    }

    .filter-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .filter-item i {
        font-size: 1rem;
    }

    .filter-item .event-count {
        font-size: 0.75rem;
    }

    .event-card {
        border-radius: 12px;
    }

    .event-image {
        height: 180px;
    }

    .event-details {
        padding: 0px;
    }

    .current-datetime {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* رویداد و سانس‌ها */
.event-header {
    text-align: center;
    margin-bottom: 40px;
}

.event-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    position: relative;
}

.event-header h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--orange);
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

.event-image {
    width: 100%;
    max-width: 1100px;
    height: 400px;
    object-fit: cover;
    border-radius: 0 15px 15px 0; 
    box-shadow: var(--shadow-md);
    display: block;
    margin: 0 auto 40px;
    transition: var(--transition);
}

.event-image:hover {
    transform: scale(1.02);
}

.event-description {
    background: var(--gray);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.event-description p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* ابزارهای پیشرفته */
.tools-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-sort {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select {
    padding: 12px 20px;
    border: 1px solid var(--gray);
    border-radius: 25px;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover {
    border-color: var(--light-blue);
    box-shadow: 0 0 10px rgba(64, 196, 255, 0.2);
}

.compare-btn {
    padding: 12px 25px;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.compare-btn:hover {
    background: var(--orange);
    box-shadow: var(--glow);
}

/* گرید سانس‌ها */
.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.session-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.session-card h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 15px;
}

.date-time {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.date-time i {
    color: var(--light-blue);
}

.availability {
    font-size: 0.95rem;
    color: var(--teal);
    margin-bottom: 12px;
}

.price {
    font-size: 1rem;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 15px;
}

.session-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-compare {
    padding: 10px 20px;
    background: var(--gray);
    color: var(--dark-gray);
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-compare:hover {
    background: var(--light-blue);
    color: var(--white);
}

.no-sessions {
    text-align: center;
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin: 50px 0;
}

/* پاپ‌آپ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1500;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    z-index: 2000;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.popup h2 {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.popup ul {
    list-style: none;
}

.popup ul li {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--gray);
}

.popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--red);
    cursor: pointer;
    transition: var(--transition);
}

.popup .close-btn:hover {
    color: var(--orange);
}

/* رسپانسیو برای سانس‌ها */
@media (max-width: 768px) {
    .event-header h1 {
        font-size: 2rem;
    }

    .event-image {
        height: 300px;
    }

    .tools-bar {
        justify-content: center;
    }

    .sessions-grid {
        grid-template-columns: 1fr;
    }

    .session-card {
        padding: 20px;
    }
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    display: none;
    max-width: 500px;
    width: 90%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.event-ended-notice {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.event-ended-notice:before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1em;
}

.event-card.expired {
    position: relative;
    opacity: 0.9;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.expired .event-image {
    filter: grayscale(70%);
    transition: filter 0.3s ease;
}

.expired .event-details {
    color: #6c757d;
}

.expired:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.expired:hover .event-image {
    filter: grayscale(50%);
}

.event-ended-notice:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.dropdown-menu.category-menu {
    width: 280px;
    padding: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 2px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    position: relative;
}

.category-item:hover,
.category-item.active {
    background: linear-gradient(45deg,
            var(--category-color, #4a90e2) 0%,
            rgba(74, 144, 226, 0.1) 100%);
    color: white;
}

.category-item i {
    margin-left: 12px;
    width: 24px;
    text-align: center;
    color: var(--category-color, #4a90e2);
}

.category-item:hover i,
.category-item.active i {
    color: white;
}

.category-count {
    margin-right: auto;
    background: var(--category-color, #4a90e2);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

.category-item:hover .category-count,
.category-item.active .category-count {
    background: white;
    color: var(--category-color, #4a90e2);
}

.divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.location-filter .category-item {
    --category-color: #2ecc71;
}

/* Animation for dropdown */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .categories-wrapper {
        margin: 10px 0;
        padding: 10px;
    }

    .category-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

.category-group {
    padding: 8px 0;
}

.category-group-title {
    display: block;
    padding: 8px 15px;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.category-menu {
    width: 280px;
    padding: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 2px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    position: relative;
}

.category-item:hover,
.category-item.active {
    background: linear-gradient(45deg,
            var(--category-color, #4a90e2) 0%,
            rgba(74, 144, 226, 0.1) 100%);
    color: white;
}

.category-item i {
    margin-left: 12px;
    width: 24px;
    text-align: center;
    color: var(--category-color, #4a90e2);
}

.category-item:hover i,
.category-item.active i {
    color: white;
}

.category-count {
    margin-right: auto;
    background: var (--category-color, #4a90e2);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

.category-item:hover .category-count,
.category-item.active .category-count {
    background: white;
    color: var(--category-color, #4a90e2);
}

.divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.location-filter .category-item {
    --category-color: #2ecc71;
}

/* Animation for dropdown */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}


.slideshow-container {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 500px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    transform: translateX(0%);
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(to left,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    overflow: hidden;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.slide:hover .slide-image img {
    transform: scale(1);
}

.slide-content {
    color: white;
    padding: 60px;
    max-width: 650px;
    animation: fadeInRight 0.5s ease;
}

.slide-content h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.slide-content p {
    margin: 15px 0;
    font-size: 1.2em;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.slide-content i {
    margin-left: 10px;
    color: #ffd700;
    font-size: 1.1em;
}

/* Enhanced Slide Button */
.slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
    position: relative;
    overflow: hidden;
}

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

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
    color: white;
}

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

.slide-btn i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.slide-btn:hover i {
    transform: translateX(-3px);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav:hover {
    background: white;
    width: 55px;
    height: 55px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prev {
    right: 30px;
}

.next {
    left: 30px;
}

.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1200px) {
    .slideshow-container {
        height: 450px;
    }

    .slide-content h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .slideshow-container {
        height: 400px;
        width: 95%;
        margin: 20px auto;
    }

    .slide-content {
        padding: 30px;
    }

    .slide-content h2 {
        font-size: 1.8em;
    }

    .slide-content p {
        font-size: 1.1em;
    }

    .slide-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .slide-nav {
        width: 40px;
        height: 40px;
    }

    .prev {
        right: 15px;
    }

    .next {
        left: 15px;
    }
}

.promo-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.promo-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}

.promo-slideshow {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.promo-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.promo-slide {
    min-width: 100%;
    background: white;
}

.promo-content {
    display: flex;
    height: 100%;
    padding: 40px;
}

.promo-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #ffd700;
    color: #000;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 20px;
    width: fit-content;
}

.promo-info h3 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.promo-info p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: linear-gradient(45deg, #4a90e2, #5ca8ff);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.promo-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-slide:hover .promo-image img {
    transform: scale(1.05);
}

.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-promo {
    right: 20px;
}

.next-promo {
    left: 20px;
}

.promo-nav:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.promo-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.promo-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-indicator.active {
    background: #4a90e2;
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .promo-content {
        flex-direction: column;
        padding: 20px;
    }

    .promo-info {
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .promo-info h3 {
        font-size: 1.8em;
    }

    .promo-slideshow {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .promo-slideshow {
        height: 500px;
        width: 95%;
    }

    .promo-info h3 {
        font-size: 1.5em;
    }

    .promo-info p {
        font-size: 1.1em;
    }

    .promo-btn {
        padding: 10px 20px;
    }
}

.site-footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.social-links {
    padding: 20px 0;
    text-align: center;
    border: 2px solid black;
}

.social-links h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: white;
}

.social-icon:hover:before {
    transform: scale(1.2);
    opacity: 0;
}

/* Social Media Brand Colors */
.instagram {
    background: linear-gradient(45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888);
}

.telegram {
    background: #0088cc;
}

.whatsapp {
    background: #25d366;
}

.facebook {
    background: #4267b2;
}

.linkedin {
    background: #0077b5;
}

.twitter {
    background: #1da1f2;
}

/* Hover Effects */
.social-icon:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0) 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover:after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }

    .social-icons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}

.sidebar-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 20px;
}

.sidebar-title {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.top-sales-table {
    width: 100%;
    overflow-x: auto;
}

.top-sales-table table {
    width: 100%;
    border-collapse: collapse;
}

.top-sales-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: right;
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #eee;
}

.top-sales-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.event-link {
    text-decoration: none;
    color: #333;
    display: block;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-thumb {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.event-details {
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 0.9em;
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.event-date {
    font-size: 0.8em;
    color: #666;
}

.sales-count {
    text-align: center;
    font-weight: 500;
    color: #2ecc71;
}

/* Hover Effects */
.top-sales-table tr:hover {
    background-color: #f8f9fa;
}

.event-link:hover .event-title {
    color: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .event-thumb {
        width: 40px;
        height: 40px;
    }

    .event-title {
        font-size: 0.85em;
    }

    .event-date {
        font-size: 0.75em;
    }
}

/* Social Media Links in Footer */
.social-media-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.social-link img {
    width: 50%;
    height: 50%;
}

/* Social Media Brand Colors */
.social-link.instagram {
    background: linear-gradient(45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link.facebook {
    background: #4267b2;
}

.social-link.linkedin {
    background: #0077b5;
}

/* Hover Effects */
.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0) 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }

    .social-media-links {
        gap: 10px;
    }
}

/* Update footer layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2em;
}

/* Social Messengers Styles */
.social-messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.messenger-link i {
    font-size: 1.2rem;
}

.messenger-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.messenger-link.telegram {
    background-color: #0088cc;
}

.messenger-link.whatsapp {
    background-color: #25d366;
}

.messenger-link.instagram {
    background: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
}

.messenger-link.facebook {
    background-color: #0084ff;
}

.messenger-link:hover {
    opacity: 0.9;
}

/* Responsive styles for social messengers */
@media (max-width: 768px) {
    .social-messengers {
        justify-content: center;
    }

    .messenger-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ...existing code... */

.event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.session-btn,
.address-btn {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.session-btn {
    background: linear-gradient(45deg, #40c4ff, #0288d1);
    color: white;
    box-shadow: 0 4px 15px rgba(64, 196, 255, 0.2);
}

.address-btn {
    background: linear-gradient(45deg, #ff9100, #ff6d00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 145, 0, 0.2);
}

.session-btn:hover,
.address-btn:hover {
    transform: translateY(-2px);
}

.session-btn:hover {
    box-shadow: 0 6px 20px rgba(64, 196, 255, 0.3);
}

.address-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 145, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .event-actions {
        flex-direction: column;
    }

    .session-btn,
    .address-btn {
        width: 100%;
    }
}

/* ...existing code... */

/* Common button styles for event actions */
.buy-ticket-btn,
.session-btn,
.address-btn {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: #1a237e;
    /* Navy blue */
    color: white;
    min-width: 100px;
    text-align: center;
}

.buy-ticket-btn:hover,
.session-btn:hover,
.address-btn:hover {
    background: #283593;
    /* Slightly lighter navy blue */
}

.event-actions {
    display: flex;
    gap: 5px;
    /* Reduced gap between buttons */
    margin-top: 15px;
    justify-content: flex-start;
    /* Align buttons to the start */
}

/* Remove any hover transformations and shadows */
.buy-ticket-btn:hover,
.session-btn:hover,
.address-btn:hover {
    transform: none;
    box-shadow: none;
}

/* ...existing code... */

/* Sales Statistics Styles */
.sales-statistics {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sales-statistics h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
    position: relative;
}

.sales-statistics h2:after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--orange);
}

.stat-info h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

.stat-info p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.growth {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.growth.positive {
    color: #2ecc71;
}

.growth.negative {
    color: #e74c3c;
}

/* Sales Table Styles */
.sales-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.table-header h3 {
    font-size: 1.2rem;
    color: #333;
}

.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.period-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
}

.refresh-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: var(--teal);
}

.table-responsive {
    overflow-x: auto;
}

.sales-table {
    width: 100%;
    border-collapse: collapse;
}

.sales-table th,
.sales-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.sales-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #444;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.active {
    background: #e3fcef;
    color: #00a854;
}

.status-badge.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.status-badge.ended {
    background: #fff1f0;
    color: #f5222d;
}

.sparkline {
    height: 30px;
    width: 100px;
}

@media (max-width: 768px) {
    .sales-statistics {
        padding: 20px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card i {
        font-size: 2rem;
    }

    .stat-info p {
        font-size: 1.2rem;
    }

    .table-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* Session and Address Popup Styles */
.sessions-table {
    width: 100%;
    overflow-x: auto;
}

.sessions-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.sessions-table th,
.sessions-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.sessions-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #444;
}

.address-details {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.address-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.address-details i {
    color: var(--orange);
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-data,
.error {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 1.1rem;
}

.error {
    color: var(--red);
}

.category-title-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-title-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #007bff;
    border-radius: 3px;
}

.category-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.event-category {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

.event-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-details {
    padding: 15px;
    text-align: center;
}

.event-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.session-btn,
.buy-ticket-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.session-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.session-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.buy-ticket-btn {
    background: #007bff;
    color: #fff;
    border: none;
}

.buy-ticket-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.session-btn i,
.buy-ticket-btn i {
    font-size: 16px;
}

.event-ended-notice {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 20px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.event-title-box {
    background: #e3f2fd;
    /* Light blue background for a soothing feel */
    color: #0d47a1;
    /* Dark blue text for contrast */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.organizer-section {
    padding: 50px 20px;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.organizer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.organizer-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 400px;
    /* Increased width */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.organizer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.organizer-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.organizer-details {
    padding: 20px;
    text-align: center;
}

.organizer-box {
    background: #f0f8ff;
    color: #333;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.organizer-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.organizer-about-box {
    background: #e6f7ff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.organizer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.organizer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-box {
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.email-box {
    background: #fff4e6;
    color: #d35400;
}

.phone-box {
    background: #e8f5e9;
    color: #2e7d32;
}

.contact-box i {
    color: inherit;
}

.contact-box a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-word;
}

.contact-box a:hover {
    text-decoration: underline;
}

.no-organizers {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow-y: auto;
    max-height: 90%;
}

.modal h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sessions-section,
.address-section {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sessions-section h3,
.address-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
}

.sessions-table th,
.sessions-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.sessions-table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.sessions-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.sessions-table tr:hover {
    background-color: #ddd;
}

.address-section p {
    font-size: 1.1rem;
    margin: 8px 0;
    color: #555;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.slideshow-container:hover .slide-nav {
    opacity: 1;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slide-nav i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.slide-nav:hover i {
    transform: scale(1.2);
}

.slide-nav.prev {
    right: 20px;
}

.slide-nav.next {
    left: 20px;
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Slideshow section button styles */
.slideshow-container .event-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.slideshow-container .session-btn,
.slideshow-container .buy-ticket-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.slideshow-container .session-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slideshow-container .session-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.slideshow-container .buy-ticket-btn {
    background: #007bff;
    color: #fff;
    border: none;
}

.slideshow-container .buy-ticket-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.slideshow-container .session-btn i,
.slideshow-container .buy-ticket-btn i {
    font-size: 16px;
}

.slideshow-container .event-ended-notice {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 20px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

/* Original event section button styles */
.event-section .event-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.event-section .buy-ticket-btn,
.event-section .session-btn {
    flex: 1;
    text-align: center;
}

.event-section .buy-ticket-btn {
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.event-section .buy-ticket-btn:hover {
    background: #0056b3;
}

.event-section .session-btn {
    background: #f0f0f0;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.event-section .session-btn:hover {
    background: #e0e0e0;
}

/* Styles for the event category tag */
.event-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    /* Position top-left for RTL */
    background-color: var(--secondary-color, #2c3e50);
    /* Example: Use secondary theme color */
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    /* Smaller font size */
    font-weight: bold;
    z-index: 2;
    /* Ensure tag is above image */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Additional Mobile Header Improvements */
@media (max-width: 768px) {

    /* Better mobile dropdown handling */
    .dropdown {
        position: relative;
    }

    .dropdown>a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-right: auto;
        transition: transform 0.3s ease;
    }

    .dropdown.active>a::after {
        transform: rotate(180deg);
    }

    /* Mobile search improvements */
    .search-suggestions {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1000;
    }

    .suggestion-item {
        padding: 12px 15px;
        border-bottom: 1px solid var(--gray);
    }

    .suggestion-item:last-child {
        border-bottom: none;
    }

    /* Mobile profile improvements */
    .profile-toggle {
        position: relative;
    }

    /* Mobile animations */
    .header-nav,
    .dropdown-menu,
    .profile-dropdown {
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .header-nav.active,
    .user-profile.active .profile-dropdown {
        transform: translateY(0);
        opacity: 1;
        position: absolute;
        left: 0;
        top: 3rem;
    }

    /* Mobile scroll improvements */
    .mobile-ticket-steps {
        scrollbar-width: thin;
        scrollbar-color: var(--orange) var(--gray);
    }

    .mobile-ticket-steps::-webkit-scrollbar {
        height: 6px;
    }

    .mobile-ticket-steps::-webkit-scrollbar-track {
        background: var(--gray);
        border-radius: 3px;
    }

    .mobile-ticket-steps::-webkit-scrollbar-thumb {
        background: var(--orange);
        border-radius: 3px;
    }

    .mobile-ticket-steps::-webkit-scrollbar-thumb:hover {
        background: var(--teal);
    }
}

/* Mobile header performance optimizations */
@media (max-width: 768px) {
    .header {
        will-change: transform;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .header-nav,
    .dropdown-menu,
    .profile-dropdown {
        will-change: transform, opacity;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {

        .header-nav,
        .dropdown-menu,
        .profile-dropdown,
        .hamburger,
        .nav-list a {
            transition: none;
        }
    }
}