/* style.css - Full Version - English */

:root {
    --primary-color: #00ffff; /* Cyan */
    --secondary-color: #00ff88; /* Neon Green */
    --bg-overlay: rgba(0, 10, 30, 0.85);
    --card-bg: rgba(0, 0, 0, 0.5);
    --text-main: #fff;
    --text-muted: #a0ffff;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: #000; /* Fallback */
    overflow-x: hidden;
}

/* --- BACKGROUND AND VIDEO (Global) --- */
.video-background-youtube {
    position: fixed;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
}

.video-background-youtube iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    filter: brightness(0.5) grayscale(0.2);
    transform: scale(1.1);
}

.overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 10, 30, 0.9) 0%, rgba(0, 40, 80, 0.8) 100%);
    z-index: -1;
    backdrop-filter: blur(4px);
}

/* --- NAVBAR (Navigation) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
    transition: color 0.3s, text-shadow 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}

/* --- GENERAL LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 80vh;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.page-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 50px;
}

/* --- CARDS (Used on Home and Team) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.card p {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- TIMELINE (Updates Page) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
    box-shadow: 0 0 10px var(--primary-color);
}

.update-item {
    padding: 10px 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    border-radius: 8px;
    margin-left: 50px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.update-item::before {
    content: ' ';
    height: 20px;
    width: 20px;
    background-color: #000;
    border: 4px solid var(--secondary-color);
    position: absolute;
    left: -42px;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--secondary-color);
}

.version-tag {
    background: var(--primary-color);
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.update-item ul {
    list-style-type: none;
    padding: 0;
}

.update-item ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.update-item ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* --- TEAM (Team Page) --- */
.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.role {
    color: var(--secondary-color);
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

/* --- CONTACT (Contact Page) --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0,0,0,0.4);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0,255,255,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

button.btn-neon {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

button.btn-neon:hover {
    background: #00e67e;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.8);
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    .nav-links {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .timeline::after {
        left: 10px;
    }
    .update-item {
        margin-left: 30px;
        padding: 15px;
    }
    .update-item::before {
        left: -29px;
    }
}

/* --- SMART CITY DEMO BUTTON --- */
.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 12px 30px;
    background: rgba(0, 10, 30, 0.6); /* Fundo escuro tecnológico */
    border: 1px solid var(--primary-color); /* Borda Ciano */
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden; /* Importante para o efeito de scan */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

/* Ícone dentro do botão */
.btn-demo i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Efeito Hover: Brilho intenso e preenchimento */
.btn-demo:hover {
    background: var(--primary-color);
    color: #000; /* Texto fica preto para contraste */
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); /* Glow externo forte */
    transform: translateY(-3px);
    border-color: #fff;
}

.btn-demo:hover i {
    transform: rotate(360deg); /* Ícone gira ao passar o mouse */
}

/* Efeito "Scan Line" (Feixe de luz passando) */
.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: none;
}

.btn-demo:hover::before {
    left: 100%;
    transition: 0.5s; /* Velocidade do feixe de luz */
}