/* Custom Properties & Reset */
:root {
    --primary: #1ca0e3; /* Cyan Blue from poster */
    --primary-light: #5dc4ee;
    --secondary: #111827; /* Dark from poster */
    --dark: #111827;
    --light: #e8eaeb; /* Lighter grey background */
    --white: #FFFFFF;
    --text: #222222;
    --text-muted: #555555;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; background: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 1px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 900px; }
.section { padding: 5rem 0; }
.bg-light { background: var(--light); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.section-title {
    font-size: 2.5rem; margin-bottom: 2rem; position: relative;
    text-align: center;
}
.section-title::after {
    content: ''; position: absolute; width: 60px; height: 4px;
    background: var(--primary); bottom: -10px; left: 50%;
    transform: translateX(-50%); border-radius: 2px;
}

.btn {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 50px;
    font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
    transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary {
    background: var(--dark); color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
    background: var(--primary); transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 0.5rem 5%;
}
.navbar.scrolled .logo, .navbar.scrolled .nav-links a { color: var(--dark); }
.logo-container { display: flex; align-items: center; gap: 0.8rem; }
.logo-wrapper { background: transparent; padding: 5px 0; display: flex; align-items: center; }
.navbar-logo { max-height: 45px; width: auto; object-fit: contain; }
.logo-separator { color: rgba(0,0,0,0.2); font-size: 1.5rem; font-weight: 300; }
.navbar.scrolled .logo-separator { color: rgba(0,0,0,0.2); }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--dark); margin: 0; line-height: 1; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-family: var(--font-heading); font-weight: 600; color: var(--dark); }
.mobile-menu-btn { display: none; color: var(--dark); font-size: 1.5rem; }

/* Hero */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--light);
    position: relative; overflow: hidden; color: var(--dark); text-align: center;
}
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-event-logo { width: 120px; height: 120px; object-fit: contain; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }
.hero-title { font-size: clamp(3.5rem, 8vw, 6rem); color: var(--dark); line-height: 1; margin-bottom: 0.5rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; }
.hero-title span { color: var(--dark); font-weight: 800; }
.hero-subtitle { font-size: 1.5rem; font-weight: 400; margin-bottom: 2rem; color: var(--text); }
.hero-date {
    display: inline-block; background: rgba(0,0,0,0.05); backdrop-filter: blur(5px);
    padding: 0.8rem 1.5rem; border-radius: 50px; font-family: var(--font-heading);
    border: 1px solid rgba(0,0,0,0.1); margin-bottom: 2rem; color: var(--text); font-weight: 600;
}
.shape { position: absolute; border-radius: 50%; background: linear-gradient(45deg, rgba(28, 160, 227, 0.05), rgba(28, 160, 227, 0.15)); animation: pulseShape 15s infinite alternate ease-in-out; }
.shape-1 { width: 600px; height: 600px; top: -150px; right: -150px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-duration: 20s; animation-direction: alternate-reverse; }

/* Animated Floating Course Artifacts */
.floating-course-artifacts {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1; overflow: hidden;
}
.floating-icon {
    position: absolute;
    color: var(--primary);
    animation: floatAnimation 10s infinite ease-in-out;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
    font-size: 2rem;
}

@keyframes floatAnimation {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.05; }
    50% { transform: translateY(-40px) rotate(25deg); opacity: 0.2; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.05; }
}

@keyframes driftAnimation {
    0% { transform: translate(0, 0) rotate(0deg) scale(0.8); opacity: 0.1; }
    33% { transform: translate(40px, -60px) rotate(45deg) scale(1.1); opacity: 0.5; }
    66% { transform: translate(-30px, -30px) rotate(90deg) scale(0.9); opacity: 0.3; }
    100% { transform: translate(0, 0) rotate(180deg) scale(0.8); opacity: 0.1; }
}

@keyframes pulseShape {
    0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
    50% { transform: scale(1.1) translate(-20px, 20px); opacity: 0.6; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.4; }
}


/* Enquadramento / Objectives */
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: center; }
.about-text p { font-size: 1.1rem; color: var(--text-muted); text-align: center; margin-bottom: 2rem; }
.objectives { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.obj-item {
    background: var(--light); padding: 1rem 1.5rem; border-radius: 50px;
    display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--primary);
}

/* Timeline */
.timeline { position: relative; margin-top: 3rem; border-left: 2px solid var(--primary-light); padding-left: 2rem; margin-left: 2rem; }
.timeline-item { margin-bottom: 2rem; position: relative; }
.timeline-item::before {
    content: ''; position: absolute; left: -39px; top: 5px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--dark); border: 4px solid var(--white);
}
.time { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--primary); margin-bottom: 0.5rem; }
.time small { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.content { background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.content h3 { margin-bottom: 0.5rem; }
.location { font-size: 0.9rem; color: var(--dark); margin-bottom: 0.5rem; font-weight: 600; }

/* Grid / Cards */
.grid { display: grid; gap: 2rem; margin-top: 2rem; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
    background: var(--white); padding: 2rem; border-radius: 1rem; text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); border-top: 4px solid var(--dark);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-top-color: var(--primary); }
.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.workshop-badge {
    background: rgba(28, 160, 216, 0.1); color: var(--primary);
    padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; display: inline-block;
}

/* Espaços */
.spaces-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.space-item {
    background: var(--white); padding: 1rem 1.5rem; border-radius: 8px; border-left: 3px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); font-weight: 600;
}
.lazer-card { text-align: center; background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.lazer-card i { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 1rem; }

/* Footer */
.footer { background: var(--dark); color: var(--white); padding: 3rem 0; text-align: center; }
.footer-info h3 { color: var(--white); margin-bottom: 0.5rem; }
.footer-info p { color: var(--text-muted); }

/* Animation Utils */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%; 
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
        flex-direction: column; padding: 2rem; gap: 1.5rem; text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--dark); font-size: 1.2rem; }
    .navbar.scrolled .nav-links a { color: var(--dark); }
    .mobile-menu-btn { display: block; color: var(--dark); cursor: pointer; }
    .navbar.scrolled .mobile-menu-btn { color: var(--dark); }
    .hero-title { font-size: 2.5rem; }
}
