@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700&family=Poppins:wght@700;800&display=swap');

:root {
    /* Color System */
    --primary: #7C3AED;
    --accent: #FF2E93;
    --secondary: #0A0D14;
    --card-bg: #151823;
    --highlight: #FF4DD2;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --glow-primary: rgba(124, 58, 237, 0.5);
    --glow-accent: rgba(255, 46, 147, 0.5);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography Classes */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

h4, h5, h6 {
    font-family: var(--font-subheading);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--text-primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Effects */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, var(--secondary) 100%);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--highlight);
    box-shadow: 0 0 10px var(--highlight), 0 0 20px var(--accent);
    animation: floatParticle linear infinite;
    opacity: 0.4;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; scale: 1; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent);
    text-shadow: 0 0 10px var(--glow-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--highlight);
    box-shadow: 0 0 10px var(--highlight);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-subheading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-accent);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--accent);
    box-shadow: 0 0 15px var(--glow-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(10,13,20,0.4), rgba(10,13,20,1)), url('images/photo-1540039155732-680874b37c0d-hero.png');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--glow-primary), transparent);
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 4rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: var(--font-subheading);
}

/* Search Bar */
.search-container {
    background: rgba(21, 24, 35, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px var(--glow-primary);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.search-field:last-of-type {
    border-right: none;
}

.search-field i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

.search-field input,
.search-field select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.search-field select option {
    background: var(--card-bg);
    color: var(--text-primary);
}

.search-field input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 0.5rem;
}

/* Layout Utilities */
.section-padding {
    padding: 6rem 5%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Event Cards */
.event-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.05);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px var(--glow-primary);
    border-color: var(--primary);
}

.event-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-content {
    padding: 1.5rem;
}

.event-date {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-subheading);
}

.event-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-card .btn {
    width: 100%;
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    group: hover;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(124,58,237,0.3));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), var(--glow-accent));
}

.category-icon {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: translateY(0);
}

.category-title {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
}

/* City Cards */
.city-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(10,13,20,1), transparent);
}

.city-name {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.city-events {
    color: var(--highlight);
    font-weight: 600;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.step-box {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px var(--glow-primary);
}

.step-box h3 {
    margin-bottom: 1rem;
}

.step-box p {
    color: var(--text-secondary);
}

/* Internal Page Headers */
.page-header {
    padding: 12rem 5% 5rem;
    background: linear-gradient(to bottom, rgba(124, 58, 237, 0.2), var(--secondary));
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--glow-primary);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Filter Bar */
.filter-bar {
    background: var(--card-bg);
    padding: 1rem 5%;
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 76px;
    z-index: 100;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow-primary);
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 10px rgba(255, 77, 210, 0.2);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.legal-content h2 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-subheading);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--highlight);
    text-shadow: 0 0 10px var(--glow-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3rem;
    }
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--card-bg);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .grid-container, .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
        border-radius: 20px;
        background: var(--card-bg);
    }
    
    .search-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 1rem;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .search-btn {
        width: 100%;
        border-radius: 0 0 20px 20px;
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}