:root {
    --primary: #9c27b0;
    /* Vibrant purple */
    --secondary: #7b1fa2;
    /* Deep purple */
    --dark: #2a2438;
    /* Dark slate */
    --light: #f5f5f5;
    /* Light background */
    --accent: #ff4081;
    /* Pink accent */
    --highlight: #e91e63;
    /* Bright pink */
    --text: #333333;
    /* Main text color */
    --text-light: #ffffff;
    /* Light text */
}

/* Base Styles */
body {
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--light);
    font-family: 'Poppins', sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
}

/* Section Styling */
.section-padding {
    padding: 50px 0;
}

.bg-light {
    background-color: var(--light);
}

/* Hero Section - Enhanced */
.hero {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.9), rgba(123, 31, 162, 0.9)),
        url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--light), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out both;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
    opacity: 0.9;
}

/* Navigation - Glowing Effect */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 0;
    background-color: transparent !important;
}

.navbar.scrolled {
    background-color: rgba(42, 36, 56, 0.98) !important;
    padding: 15px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-light) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-light) !important;
    margin: 0 12px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: 0 0 15px var(--accent);
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Event Cards - 3D Effect */
.event-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    /* transform-style: preserve-3d; */
    /* perspective: 1000px; */
    margin-bottom: 30px;
}

.event-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.event-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-img {
    transform: scale(1.05);
}

.event-info {
    padding: 25px;
    background: white;
}

.event-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.event-card:hover .event-info h4 {
    color: var(--primary);
}

.event-info p {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.event-info i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

/* Category Cards - Gradient Effect */
.category-card {
    background: white;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(156, 39, 176, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.category-card:hover::before {
    animation: shine 1.5s;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
    color: var(--accent);
}

.category-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.category-card:hover h4 {
    color: var(--primary);
}

.category-card p {
    color: var(--text);
    opacity: 0.8;
}

/* Artist Cards - Circular with Hover Effect */
.artist-card {
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.artist-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.artist-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.4), rgba(233, 30, 99, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.artist-card:hover .artist-img::before {
    opacity: 1;
}

.artist-card:hover .artist-img {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.artist-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.artist-card:hover h5 {
    color: var(--primary);
}

.artist-card p {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

/* Buttons - Animated Gradient */
.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 13px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(156, 39, 176, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(156, 39, 176, 0.2);
    transform: translateY(-3px);
}

/* Section Headings */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Footer - Modern Design */
.footer {
    background: linear-gradient(135deg, var(--dark), #1a1423);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -5px;
}

/* Newsletter Form */
.input-group {
    position: relative;
}

.input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.3);
    border-color: var(--accent);
}

.input-group button {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 5px;
    border-radius: 50px;
    padding: 0 20px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-card,
    .category-card {
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-outline-primary {
        padding: 10px 20px;
    }
}

/* Language Switcher Styles */

/* Basic positioning */
.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* RTL support for language switcher */
body.ltr .language-switcher {
    right: 20px;
    left: auto;
}

body.rtl .language-switcher {
    left: 20px;
    right: auto;
}

/* Button styles */
.language-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* Options dropdown styles */
body.ltr .language-options {
    position: absolute;
    bottom: 60px;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
}

body.rtl .language-options {
    position: absolute;
    bottom: 60px;
    left: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
}

.language-options.show {
    display: block !important;
}

.language-option {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.rtl .language-switcher {
        left: 10px;
    }

    body.ltr .language-switcher {
        right: 10px;
    }
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-links i {
    color: #fff;
    font-size: 1.7rem;
}


#errorList {
    margin: 0;
    list-style: none;
    padding: 0;
}

#errorList .error-message {
    color: #dc3545;
    /* Red color for errors */
    background-color: #f8d7da;
    padding: 8px;
    margin: 4px 0;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

#errorList .success-message {
    color: #28a745;
    /* Green color for success */
    background-color: #d4edda;
    padding: 8px;
    margin: 4px 0;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}



/* checkboxes */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25);
    border-color: var(--primary);
}

/* Upload Spinner */
.loader {
    display: none;
    /* hidden by default */
    width: 25px;
    aspect-ratio: 1;
    --_c: no-repeat linear-gradient(var(--primary) 0 0) 50%;
    background:
        var(--_c)/100% 50%,
        var(--_c)/50% 100%;
    border-radius: 50%;
    animation: l29 2s infinite linear;
}

.loader.show {
    display: inline-block;
    /* visible when .show is added */
}

@keyframes l29 {
    100% {
        transform: rotate(1turn);
    }
}