:root {
    --bg-dark: #121212;
    --bg-light: #1a1a1a;
    --card-bg: #262626;
    --text-light: #f5f5f5;
    --text-medium: #999;
    --primary-color: #64b5f6;
    --primary-dark: #0d47a1;
    --primary-dark-hover: #1565c0;
    --font-family: 'Poppins', sans-serif;
}

nav {
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #121212; /* Mantém o tema escuro */
    animation: fadeIn 2s ease-in-out;
}

nav img {
    position: relative;
    max-width: 6em;  /* Define um tamanho fixo para manter a proporção */
    height: auto;
    margin-right: auto;  /* Empurra os links para o centro */
    border-radius: 1000000px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav a {
    color: #f5f5f5;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #64b5f6;
}
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}
.week {
    background-color: #262626;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    width: 100px;
    height: 70px;
    cursor: pointer;
}

a:hover {
    color: #42a5f5;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../photos/test.jpeg'); /* Gradiente + imagem */
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    animation: slideIn 1.5s ease-in-out;
    text-shadow: 5px 5px #000000;
}

.hero p {
    font-size: 2em;
    opacity: 0.9;
    animation: slideIn 2s ease-in-out;
    color: #ffffff;
    text-shadow: 3px 3px#000000;
}

.saiba-mais{
    padding: 10px 20px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    top: 15px;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    animation: slideIn 1.5s ease-in-out;
}

.hero p {
    font-size: 1.5em;
    opacity: 0.9;
    animation: slideIn 2s ease-in-out;
}

/* Destaque */
.highlight {
    background-color: #1e1e1e;
    padding: 60px 20px;
    text-align: center;
}

.highlight h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: fadeIn 2s ease-in-out;
}

.highlight p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeIn 2.5s ease-in-out;
}

/* Courses Section */
.courses {
    background-color: var(--bg-light);
    padding: 60px 20px;
    animation: fadeIn 2s ease-in-out;
}

.courses-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.course-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.course-card p {
    font-size: 1em;
    opacity: 0.9;
}

span {
    text-decoration: underline;
    text-decoration-color: #f5a623;
    text-decoration-thickness: 3px;
    text-transform: capitalize;
}

/* Formulário de Contato */
.contact {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: fadeIn 2s ease-in-out;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact label {
    text-align: left;
    margin-bottom: 5px;
}

.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #444;
    border-radius:5px;
    background-color: var(--card-bg);
    color: var(--text-light);
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact button {
    padding: 10px 20px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: var(--primary-dark-hover);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    margin: 0;
    font-size: 1em;
}



/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .course-card {
        width: 100%;
        margin: 10px 0;
    }
}