/* Events Portal Theme - Premium, Elegant, Professional */

:root {
    --events-primary: #9d4edd;
    --events-secondary: #6a4c93;
    --events-accent: #ff9e00;
    --events-gradient: linear-gradient(135deg, #9d4edd 0%, #6a4c93 100%);
    --events-dark: #1a1a2e;
    --events-gold: #ffd700;
    --glass-bg: rgba(255,255,255,0.05);
}

body.events-theme {
    background: #0a0a0f;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatSphere 20s ease-in-out infinite;
}

.gradient-sphere:nth-child(1) {
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.4) 0%, transparent 70%);
}

.gradient-sphere:nth-child(2) {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(106, 76, 147, 0.4) 0%, transparent 70%);
    animation-delay: -5s;
}

.gradient-sphere:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 158, 0, 0.1) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes floatSphere {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Glass Navigation */
.glass-nav {
    background: rgba(10, 10, 15, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.events-badge {
    background: linear-gradient(135deg, #9d4edd, #6a4c93);
    color: white;
    margin-left: 10px;
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Hero Section */
.events-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-tagline {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: var(--events-gold);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.feature-badge {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-badge i {
    color: var(--events-gold);
    margin-right: 8px;
}

.trust-badges p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.brand-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    opacity: 0.7;
}

.brand-logos span {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

/* Events Showcase */
.events-showcase {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.showcase-card {
    position: absolute;
    width: 280px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.showcase-card.main-card {
    top: 20%;
    right: 0;
    z-index: 3;
    transform: rotate(5deg);
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(106, 76, 147, 0.2));
    border-color: rgba(157, 78, 221, 0.5);
}

.showcase-card:nth-child(2) {
    top: 40%;
    left: 0;
    z-index: 2;
    transform: rotate(-3deg);
}

.showcase-card:nth-child(3) {
    bottom: 10%;
    right: 50px;
    z-index: 1;
    transform: rotate(8deg);
}

.showcase-card:hover {
    transform: rotate(0) scale(1.05);
    z-index: 10;
    border-color: var(--events-gold);
}

.card-content i {
    font-size: 2rem;
    color: var(--events-gold);
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Stats Section */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--events-gold);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #9d4edd, #ff9e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Corporate Cards */
.corporate-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.corporate-card:hover {
    transform: translateY(-10px);
    border-color: var(--events-gold);
}

.corporate-card.featured {
    border: 2px solid var(--events-gold);
    transform: scale(1.05);
}

.corporate-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff9e00, #ffd700);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9d4edd, #6a4c93);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Exclusive Cards */
.exclusive-card {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.btn-exclusive {
    color: var(--events-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-exclusive i {
    transition: transform 0.3s ease;
}

.btn-exclusive:hover i {
    transform: translateX(5px);
}

/* B2B Section */
.b2b-section {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(106, 76, 147, 0.1));
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.b2b-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.b2b-feature:hover {
    transform: translateX(10px);
    background: rgba(157, 78, 221, 0.1);
}

.b2b-feature i {
    font-size: 2rem;
    color: var(--events-gold);
}

.b2b-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.b2b-feature p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-box .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--events-gold);
}

.stat-box .label {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio-filters .filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.active {
    border-color: var(--events-gold);
    background: rgba(255, 215, 0, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(157, 78, 221, 0.9), rgba(106, 76, 147, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h4 {
    color: white;
    margin-bottom: 0.3rem;
}

.portfolio-item .overlay p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--events-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .client {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

.testimonial-card .client strong {
    display: block;
    color: var(--events-gold);
}

.testimonial-card .client span {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(106, 76, 147, 0.2));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    opacity: 0.8;
    margin: 0;
}

/* Footer */
.events-footer {
    background: #050508;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.events-footer h5 i {
    color: var(--events-gold);
    margin-right: 10px;
}

.events-footer ul {
    list-style: none;
    padding: 0;
}

.events-footer ul li {
    margin-bottom: 0.5rem;
}

.events-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.events-footer a:hover {
    color: var(--events-gold);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.scroll-indicator span {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: block;
    animation: scrollDown 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Modals */
.modal-content {
    background: #1a1a2e;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.modal .form-control,
.modal .form-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.modal .form-control:focus,
.modal .form-select:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--events-gold);
    box-shadow: none;
}

.modal .btn-primary {
    background: linear-gradient(135deg, #9d4edd, #6a4c93);
    border: none;
}

.modal .btn-primary:hover {
    background: linear-gradient(135deg, #6a4c93, #9d4edd);
}

/* Responsive */
@media (max-width: 991px) {
    .showcase-card {
        position: static;
        margin-bottom: 1rem;
        transform: none !important;
        width: 100%;
    }
    
    .showcase-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .stats-grid {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
    }
    
    .brand-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-card {
        padding: 2rem;
        text-align: center;
    }
    
    .cta-card .text-lg-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}