/* Estilos para o banner */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner_cursos.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    margin-bottom: 30px;
}

/* Estilos para os filtros */
.filters-section {
    padding: 20px 0px 0px 0px;
    background: rgba(255, 255, 255, 0.05);
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--white-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Grid de cursos */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Responsividade */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Adicione isso ao CSS existente */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Ajusta o ponto de parada da rolagem para não esconder conteúdo sob o navbar fixo */
}

.section-title {
    width: 100%;
    grid-column: 1 / -1;
    margin-bottom: 30px;
    color: var(--white-color);
}

#cursos-ativos,
#cursos-em-breve {
    scroll-margin-top: 100px; /* Ajusta o ponto de ancoragem */
}

/* Estilo para os subtítulos das seções */
.section-subtitle {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    color: #000000;
    font-size: 24px;
}

/* Estilo específico para textos da página todos_cursos */
#todos-cursos-filter {
    color: #000000;
}

#todos-cursos-filter:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

#todos-cursos-filter.active {
    background: var(--primary-color);
    color: var(--white-color);
}

#todos-cursos-title {
    color: #000000;
    font-size: 24px;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    /* Ajuste específico apenas para o bloco course-price dos cards em-breve */
    .course-item[data-category="em-breve"] .course-price {
        display: flex !important; /* Força a exibição */
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        width: 100%;
    }

    .course-item[data-category="em-breve"] .course-price .coming-soon-label {
        display: inline-block !important;
        font-size: 0.9rem;
        margin: 0;
    }

    .course-item[data-category="em-breve"] .course-price .custom-btn {
        display: inline-block !important;
        padding: 5px 10px;
        font-size: 0.9rem;
        margin: 0;
        min-width: auto;
    }

    /* Garante que o botão seja visível no mobile */
    .course-item[data-category="em-breve"] .course-price .custom-btn.btn {
        display: inline-block !important;
    }
}

/* Estilo para tornar o card clicável em mobile */
.course-item .mobile-card-link {
    display: none; /* Esconde por padrão em desktop */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
    color: inherit;
}

/* Exibe o link apenas em mobile */
@media screen and (max-width: 768px) {
    .course-item {
        position: relative; /* Necessário para posicionamento absoluto do link */
    }

    .course-item .mobile-card-link {
        display: block;
    }

    /* Efeito de feedback ao tocar (opcional) */
    .course-item:active {
        transform: scale(0.98);
        transition: transform 0.2s;
    }
} 