@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* General Styles */
:root {
    --primary-color: #00aaff;
    --secondary-color: #00ffaa;
    --background-color: #00051a;
    --text-color: #ffffff;
    --card-background: rgba(10, 25, 47, 0.85);
    --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Keyframe for glow effect */
@keyframes imageGlow {
    from {
        filter: drop-shadow(0 0 4px var(--primary-color));
    }
    to {
        filter: drop-shadow(0 0 12px var(--primary-color)) drop-shadow(0 0 20px var(--secondary-color));
    }
}

/* --- HERO SECTION --- */
#hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    position: relative;
    padding: 80px 20px 40px; 
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .presenter {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--secondary-color);
    text-transform: none;
    letter-spacing: normal;
}

.hero-content .event-date {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.venue-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--text-color);
    backdrop-filter: blur(5px);
    margin-top: 2rem; 
}

.venue-badge i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.cta-button {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--primary-color);
    font-weight: bold;
}

.cta-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--secondary-color);
}

/* Countdown Timer */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.timer-box {
    background: var(--card-background);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    width: 100px;
    border: 1px solid var(--primary-color);
    transition: transform 0.3s;
}

.timer-box:hover {
    transform: scale(1.1);
}

.timer-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.timer-box p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* General Sections */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* About Section */
.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--secondary-color);
    border-color: var(--secondary-color);
}

.speaker-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.speaker-info {
    padding: 1.5rem;
}

.speaker-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Gallery Slider Section */
.gallery-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient( to right, transparent 0%, black 10%, black 90%, transparent 100% );
    mask-image: linear-gradient( to right, transparent 0%, black 10%, black 90%, transparent 100% );
}

.gallery-slider {
    display: flex;
    width: fit-content;
    animation: slide 40s linear infinite;
}

.gallery-slider-container:hover .gallery-slider {
    animation-play-state: paused;
}

.gallery-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    margin: 0 10px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-slide:hover img {
    transform: scale(1.1);
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.team-member:hover img {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.team-member h4 {
    margin-top: 1rem;
    color: var(--secondary-color);
}

/* Sponsors Section */
.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.sponsor-logo {
    max-width: 180px;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s, transform 0.3s;
}

.sponsor-logo:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--card-background);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

footer p {
    margin-top: 1rem;
}

#developer {
    color: aqua;
}

/* Responsive Styles */
@media (max-width: 600px) {
    #countdown {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .timer-box {
        width: 80%;
    }

    .timer-box span {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }
    
    #hero {
        padding-top: 60px;
    }

    .gallery-slide {
        width: 250px;
        height: 160px;
    }
}
