/* event-style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    /* Slate 900 */
    color: #e2e8f0;
    /* Slate 200 */
    overflow-x: hidden;
}

/* --- Reusable Components & Animations --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    background-size: 200% 200%;
    color: white;
    animation: gradient-animation 5s ease infinite;
    box-shadow: 0 4px 15px 0 rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px 0 rgba(168, 85, 247, 0.6);
}

/* --- Header --- */
.site-header {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 50;
    animation: fadeIn 0.5s ease-out;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.site-header .logo-highlight {
    color: #818cf8;
    /* Indigo 400 */
}

/* --- Event Banner --- */
.event-banner {
    position: relative;
    padding: 8rem 0;
    color: white;
    text-align: center;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.event-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: 1;
}

.event-banner-content {
    position: relative;
    z-index: 2;
}

.event-banner-content .tag {
    background-color: rgba(99, 102, 241, 0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.event-banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.event-banner-content .date {
    font-size: 1.5rem;
    font-weight: 500;
    color: #cbd5e1;
    /* Slate 300 */
}

/* --- Main Content --- */
.event-main {
    padding: 4rem 0;
}

.section {
    padding: 3rem 0;
    margin-bottom: 2rem;
    background-color: #1e293b;
    /* Slate 800 */
    border-radius: 12px;
    border: 1px solid #334155;
    /* Slate 700 */
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.section:nth-child(1) {
    animation-delay: 0.2s;
}

.section:nth-child(2) {
    animation-delay: 0.4s;
}

.section:nth-child(3) {
    animation-delay: 0.6s;
}

.section:nth-child(4) {
    animation-delay: 0.8s;
}


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-content {
    line-height: 1.8;
    color: #94a3b8;
    /* Slate 400 */
    max-width: 800px;
    margin: 0 auto;
}

/* Schedule / List Styles */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #4f46e5;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #4f46e5;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: #0f172a;
    position: relative;
    border-radius: 8px;
    border: 1px solid #334155;
}

.timeline-content h3 {
    color: #a855f7;
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #cbd5e1;
}

/* --- Registration Form --- */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: #0f172a;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-group .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1e293b;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #e2e8f0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group .form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: #1e293b;
    border-top: 1px solid #334155;
}

.site-footer p {
    color: #64748b;
    /* Slate 500 */
}